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

# Scrape a public Threads profile

> Fetches a public Threads (Meta) profile for `username` and returns it as JSON: `username`, `fullName`, `bio`, `followers`, `threadsCount`, `profileUrl`, `avatar`, and a `posts` array of the recent posts - each with `text`, `url`, `age`, and `likes`, `comments`, `reposts`, `shares` engagement counts. `username` accepts a bare handle, an `@handle`, or a full profile URL. No login or cookies are required - only public profiles are read.



## OpenAPI

````yaml /api-reference/openapi.json post /social/threads-profile
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Three endpoints are
    documented here: page-source extraction, Google SERP scraping, and image
    fetch. All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /social/threads-profile:
    post:
      tags:
        - Plugins
      summary: Scrape a public Threads profile
      description: >-
        Fetches a public Threads (Meta) profile for `username` and returns it as
        JSON: `username`, `fullName`, `bio`, `followers`, `threadsCount`,
        `profileUrl`, `avatar`, and a `posts` array of the recent posts - each
        with `text`, `url`, `age`, and `likes`, `comments`, `reposts`, `shares`
        engagement counts. `username` accepts a bare handle, an `@handle`, or a
        full profile URL. No login or cookies are required - only public
        profiles are read.
      operationId: threads_profile_social_threads_profile_post
      parameters:
        - name: username
          in: query
          required: true
          schema:
            type: string
            description: >-
              Threads handle ('zuck' or '@zuck') or a full profile URL like
              'https://www.threads.com/@zuck'.
            title: Username
          description: >-
            Threads handle ('zuck' or '@zuck') or a full profile URL like
            'https://www.threads.com/@zuck'.
        - name: max_posts
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: >-
              Maximum recent posts to return (1-100). The profile page carries
              roughly the newest 10-25.
            default: 25
            title: Max Posts
          description: >-
            Maximum recent posts to return (1-100). The profile page carries
            roughly the newest 10-25.
        - name: proxy_country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Exit-IP country (ISO-2, e.g. 'US', 'DE'). Defaults to an exit
              chosen for Threads.
            title: Proxy Country
          description: >-
            Exit-IP country (ISO-2, e.g. 'US', 'DE'). Defaults to an exit chosen
            for Threads.
      responses:
        '200':
          description: >-
            JSON profile object with a `posts` array (`postsCollected` gives its
            length).
          content:
            application/json:
              schema: {}
        '400':
          description: Missing or malformed username.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: Blocked by Threads or no profile returned.
        '504':
          description: Fetch timed out.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````