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

# Get X thread context

> Returns all available thread-context fields for a specific post. Page size is determined by X and may vary. Source pagination fields are replaced by Huntr's `pagination` object. Pass only `pagination.token` unchanged to continue. **Price:** $0.000225 per returned post, rounded up once to the nearest $0.00001, with a minimum charge of $0.00023.



## OpenAPI

````yaml /openapi.json post /x-thread
openapi: 3.0.3
info:
  title: Huntr — The GTM Intelligence API
  description: >-
    Give AI agents company, people, contact, and web intelligence through one
    API. Search accounts, build targeted lists, enrich leads, find contacts, and
    uncover buying signals.


    **Authentication:** Authenticated endpoints require an `x-api-key` header
    with your Huntr API key. Get a key by signing up via `POST /keys/create`.
    Public endpoints (pricing, sign-up, health) work without a key.


    **Rate limit:** 5 requests/second per API key on authenticated endpoints.
  version: 2.0.0
servers:
  - url: https://api.tryhuntr.com
security: []
tags:
  - name: Research
    description: >-
      Research one company, person, team, or focused business question and
      return a sales-ready answer. Lite, standard, and deep tiers.
  - name: Companies
    description: >-
      Search companies and enrich firmographics. Per-result pricing on search;
      count endpoints are free.
  - name: People
    description: >-
      Search people and enrich contacts — work email, phone, and related lookup
      endpoints.
  - name: LinkedIn
    description: >-
      LinkedIn URL discovery, company and profile pages, posts, reactions, and
      comments.
  - name: X
    description: X profiles, posts, search results, and thread context.
  - name: Web
    description: >-
      Find and analyze pages on a domain, plus tech stack, domain contacts, and
      job postings.
  - name: Account
    description: >-
      Sign up, verify email, recover keys, check balance, view usage, add
      credits, and read the public pricing matrix.
  - name: System
    description: Health check.
paths:
  /x-thread:
    post:
      tags:
        - X
      summary: Get X thread context
      description: >-
        Returns all available thread-context fields for a specific post. Page
        size is determined by X and may vary. Source pagination fields are
        replaced by Huntr's `pagination` object. Pass only `pagination.token`
        unchanged to continue. **Price:** $0.000225 per returned post, rounded
        up once to the nearest $0.00001, with a minimum charge of $0.00023.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - post
              properties:
                post:
                  type: string
                  description: X post ID or public x.com/twitter.com post URL.
                pagination:
                  type: object
                  description: >-
                    Pass pagination.token from the previous response to request
                    the next page.
                  properties:
                    token:
                      type: string
                      description: Opaque token from the previous response.
            example:
              post: https://x.com/openai/status/1900000000000000000
      responses:
        '200':
          description: Thread page returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandaloneResult'
        '400':
          description: Invalid post or pagination token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Insufficient credits for the returned page.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Thread lookup failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    StandaloneResult:
      type: object
      properties:
        success:
          type: boolean
        request_id:
          type: string
        result:
          type: object
          additionalProperties: true
        price:
          type: number
        credits_remaining:
          type: number
      required:
        - success
        - request_id
        - result
        - price
        - credits_remaining
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your Huntr API key. Get one at tryhuntr.com. Pass as x-api-key header on
        all authenticated requests.

````