> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapio.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a profile by numeric user ID

> Get a lightweight profile lookup by Instagram's numeric user ID.



## OpenAPI

````yaml get /v1/instagram/basic-profile
openapi: 3.1.0
info:
  title: Scrapio
  version: 1.0.0
  description: >-
    Turn any URL into structured data. Fetch raw HTML, crawl sites, extract
    structured content, interact with dynamic pages, and search the web through
    one API.
  contact:
    name: Scrapio Support
    url: https://scrapio.dev
  license:
    name: Proprietary
servers:
  - url: https://api.scrapio.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: System
  - name: Fetch
  - name: Crawl
  - name: Map
  - name: Interact
  - name: Search
  - name: Google
  - name: Fast Search
  - name: Jobs
  - name: YouTube
  - name: Amazon
  - name: Walmart
  - name: Booking
  - name: Agoda
  - name: Airbnb
  - name: AutoTrader
  - name: ChatGPT
  - name: Perplexity
  - name: Gemini
  - name: Bing
  - name: Reddit
  - name: Instagram
  - name: Twitter
  - name: Facebook
  - name: Hacker News
  - name: GitHub
  - name: TikTok
  - name: Apple App Store
  - name: Target
  - name: Monitors
paths:
  /v1/instagram/basic-profile:
    get:
      tags:
        - Instagram
      summary: Get a profile by numeric user ID
      description: >-
        Retrieves a lightweight profile lookup (username, full name, avatar,
        verification/privacy flags) by Instagram's numeric user ID, rather than
        username or url like `GET /v1/instagram/profile`. Useful for chaining
        from an ID already in hand — e.g. a search result — without a second
        username-based lookup. Backed by an authenticated Instagram session
        Scrapio maintains server-side. Requires a Starter plan or higher.
      operationId: getInstagramBasicProfile
      parameters:
        - name: user_id
          in: query
          required: true
          schema:
            type: string
            minLength: 1
      responses:
        '200':
          description: The profile matching this numeric user ID.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstagramBasicProfileResponse'
        '400':
          description: Missing user_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Instagram dedicated endpoints require a Starter plan or higher.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The requested user could not be found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Daily credit cap exceeded, or Instagram rate-limited the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Instagram blocked the request or returned an unusable response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: >-
            Instagram's session is not configured, or the configured session has
            expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: >-
            curl
            "https://api.scrapio.dev/v1/instagram/basic-profile?user_id=25025320"
            \
              -H "Authorization: Bearer $SCRAPIO_API_KEY"
components:
  schemas:
    InstagramBasicProfileResponse:
      type: object
      properties:
        provider:
          type: string
          enum:
            - instagram
        request_id:
          type: string
        profile:
          type: object
          properties:
            id:
              anyOf:
                - type: string
                - type: 'null'
            username:
              anyOf:
                - type: string
                - type: 'null'
            full_name:
              anyOf:
                - type: string
                - type: 'null'
            avatar_url:
              anyOf:
                - type: string
                - type: 'null'
            is_verified:
              anyOf:
                - type: boolean
                - type: 'null'
            is_private:
              anyOf:
                - type: boolean
                - type: 'null'
          required:
            - id
            - username
            - full_name
            - avatar_url
            - is_verified
            - is_private
          additionalProperties: false
      required:
        - provider
        - request_id
        - profile
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        request_id:
          type: string
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
        diagnostics:
          type: object
          properties:
            outcome:
              type: string
              enum:
                - failed
            retryable:
              type: boolean
            blocked:
              type: boolean
            timed_out:
              type: boolean
          required:
            - outcome
            - retryable
          additionalProperties: false
      required:
        - request_id
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````