x/
post-replies

The X Post Replies API collects public replies from one or more X post URLs, returning reply text, authors, visible engagement, media, and parent context with per-post limits and sorting.

X Post Replies API

Post conversations
Reply ordering
Parent context
0.5 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

X Post Replies

X Post Replies are public responses within a post conversation, carrying text, author identity, language, media, visible engagement, publication time, and links to parent or related posts. These conversation records support response analysis, thread reconstruction, reply monitoring, and triage dataset preparation.

X Post Replies API Features

  • Known-post conversation scopeThe X Post Replies API accepts one or more public X status URLs, extracts each numeric post ID, and returns replies while excluding the submitted parent post itself.
  • Reply and author recordsReturn reply IDs, canonical URLs, text, language, publication times, and normalized public author identity for each saved response.
  • Visible response signalsKeep public like, reply, repost, quote, view, and bookmark counts together with media, hashtags, and mentions.
  • Selectable timeline orderingRequest relevance, latest, or likes ordering from the X Post Replies API for every submitted post while applying a separate result limit to each conversation.
  • Conversation traceabilityPreserve the submitted URL, parent post ID, conversation ID, reply target, source, quote, repost, and limited-reply signals in normalized context.

X Post Replies API Parameters

ParametersRequiredDescription
urlsRequiredRequired array of public x.com or twitter.com post URLs. Each path must contain /status/{numeric_id}; www, m, and mobile host variants are accepted.
results_limitOptionalMaximum replies requested per parent post. Defaults to 100 and accepts multiples of 20 from 20 through 2000.
sort_byOptionalReply timeline ordering applied to every submitted post: relevance, latest, or likes. The default is relevance.

How to Use the X Post Replies API

Submit known public post URLs to the X Post Replies API as an asynchronous task, then read normalized reply records from the completed task.

  1. Prepare one or more public x.com or twitter.com URLs containing a numeric /status/{id}, then choose relevance, latest, or likes ordering.
  2. POST urls, a per-post results_limit from 20 through 2000 in increments of 20, and sort_by to /v1/x/post-replies.
  3. Retain the returned task_id and poll GET /v1/tasks/{task_id} while the task is queued, running, or retrying.
  4. After success, read data.results.items and request the same task with cursor=data.results.next_cursor while data.results.has_more is true.
curl -X POST "https://api.socq.ai/v1/x/post-replies" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://x.com/OpenAI/status/1950240351547248941"],"results_limit":100,"sort_by":"relevance"}'

# Poll GET /v1/tasks/{task_id}
# Read data.results.items and pass data.results.next_cursor as cursor while has_more is true

X Post Replies API Use Cases

  • Public response analysis: Compare reply text, language, authors, and visible engagement across selected parent posts to examine how public conversations differ.
  • Conversation thread reconstruction: Use parent_post_id, conversation_id, in_reply_to fields, reply IDs, and canonical URLs to reconnect saved responses with their visible thread context.
  • Reply monitoring across collection runs: Track reply publication times, collected_at, authors, and public counters from the X Post Replies API for a stable set of post URLs across scheduled snapshots.
  • Manual triage dataset preparation: Combine reply text, author identity, timestamps, URLs, and visible engagement to prepare response records for downstream review queues.

X Post Replies API Pro Tips

  • Validate every URL against an accepted X or Twitter host and a numeric /status/ ID before submission so profile and search links do not create failed tasks.
  • Extract and deduplicate the numeric status ID across x.com and twitter.com URL variants because different URL strings can point to the same parent post.
  • Size results_limit per parent post in increments of 20; total candidates can approach urls × results_limit before conversation endings and task-level deduplication.
  • Choose sort_by for the collection goal, but do not compare positions across relevance, latest, and likes modes as a shared ranking score.
  • When reconstructing many parent conversations, account for task-level reply deduplication because one saved reply retains one submitted URL and parent-post context.
  • Treat a short or empty X Post Replies API result as a public-visibility outcome, and store nullable author, media, metric, and relationship fields without inventing placeholders.

Beyond the X Post Replies API, use these APIs when you need a different type of public X data.

  • Twitter Tweet Scraper API — Retrieve public post text, authors, engagement, media, hashtags, mentions, and conversation relationships from x.com or twitter.com status URLs.
  • Twitter Profile Scraper API — Retrieve public account identity, biographies, avatars, cover images, account status, and visible audience statistics by username.
  • Twitter User Tweets Scraper API — Collect recent public posts, authors, media, hashtags, mentions, and engagement by username with replies excluded.
  • Twitter Search API — Find public posts by search expression with latest or top ordering and a configurable result limit.
  • X Post Quotes API — Collect public quote posts for known status URLs with commentary, authors, engagement, media, timestamps, and source-post context.
  • X User Replies API — Collect the replies an account has written, each paired with the post it answers.

Explore other platforms

Combine X data with public data from other supported social platforms.

X Post Replies API — FAQ

X Post Replies API is a programmatic interface for collecting public replies from one or more X post URLs containing numeric status IDs. It returns reply text, authors, visible engagement, media, timestamps, and parent-conversation context.

Submit a non-empty urls array containing public x.com or twitter.com post links with /status/{numeric_id} in the path. Standard, www, m, and mobile host variants are accepted.

results_limit defaults to 100, accepts multiples of 20 from 20 through 2000, and applies separately to each parent post. A conversation can end before the requested limit.

sort_by selects the corresponding public reply timeline mode for every submitted post, with relevance used by default. Treat the returned order as that selected collection mode, not as a separate SocQ ranking score.

A reply can include its ID, URL, text, language, public author, visible counts, media, hashtags, mentions, publication and collection times, plus conversation and parent-post fields in extra.

The submitted parent post is excluded from its reply results. Reply IDs are deduplicated during collection and again when task results are saved, so repeated appearances can collapse to one record.

Hidden, deleted, protected, limited, unavailable, or disconnected reply branches may not be publicly visible. Collection also stops when the visible conversation ends or the requested per-post limit is reached.

No. It returns reply posts in the selected conversations; quote posts and profiles that reposted a post are separate X resources.

The X Post Replies API charges 0.5 credits for each saved normalized reply. Billing uses the actual saved record count, so an empty result has no result-unit charge.

By SocQ · Updated

From the official X API documentation:

“The X API uses pay-per-usage pricing. No subscriptions—pay only for what you use.”
X Developer Platform: X API introduction · accessed November 2026