Social

X (Twitter) replies to a post

Replies from other users to an X (Twitter) post, as structured posts with author, engagement, and replying_to so you can rebuild the tree. The original post is included on the first page. Paginate with next_cursor. X hides some low-quality replies from logged-out viewers, so fewer replies than the post's reply count is normal.

Provide exactly one of: id, url.

Credits: 1 (refunded on failure).

get/api/v1/social/x/replies

Request

  • Base URL: https://scrapewhale.dev
  • URL: https://scrapewhale.dev/api/v1/social/x/replies
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Query parameters

idstring

Numeric post id. Provide this or url.

urlstring uri

An x.com/<handle>/status/<id> URL.

cursorstring

next_cursor from the previous page.

ranking'relevance' | 'recency' | 'likes'

relevance (X's default ordering), recency, or likes.

format'json' | 'markdown' | 'both'

Response shape: "json" (structured data only), "markdown" (markdown only), or "both".

Response

Success.

idstring required
status'completed' required
extractorstring required

Extractor name, e.g. "traffic", "meta-ads", "instagram-profile".

titlestring nullable
sourceUrlstring nullable

Canonical public URL of the extracted source.

creditsChargedinteger required

0 when served from the shared cache.

cachedboolean

True when served from the shared extraction cache (free).

createdAtinteger required

Unix epoch milliseconds.

dataobject nullable

Raw structured payload from the source.

markdownstring

Clean markdown rendering of the payload.

Changes

No recorded changes to this operation across all 1 revision of this API.