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.
Features
- Known-post conversation scopeAccept one or more public X status URLs, extract each numeric post ID, and return 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 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.
Parameters
| Parameters | Required | Description |
|---|---|---|
urls | Required | Required 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_limit | Optional | Maximum replies requested per parent post. Defaults to 100 and accepts multiples of 20 from 20 through 2000. |
sort_by | Optional | Reply timeline ordering applied to every submitted post: relevance, latest, or likes. The default is relevance. |
How to Use
Submit known public post URLs as an asynchronous task, then read normalized reply records from the completed task.
- Prepare one or more public x.com or twitter.com URLs containing a numeric /status/{id}, then choose relevance, latest, or likes ordering.
- POST urls, a per-post results_limit from 20 through 2000 in increments of 20, and sort_by to /v1/x/post-replies.
- Retain the returned task_id and poll GET /v1/tasks/{task_id} while the task is queued, running, or retrying.
- 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 trueBest 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 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.
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 result as a public-visibility outcome, and store nullable author, media, metric, and relationship fields without inventing placeholders.
Related APIs
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 Followers List API — Collect public follower account identities and visible profile metrics for one or more X usernames.
- X Following List API — Collect profiles followed by public X accounts, including identity, biographies, account signals, visible counters, and source usernames.
- X Post Quotes API — Collect public quote posts for known status URLs with commentary, authors, engagement, media, timestamps, and source-post context.
- X Post Retweeters API — Collect a task-level unique set of normalized public profiles for accounts that reposted known X or Twitter status URLs.
- X Trends API — Collect current public X trend snapshots for known numeric WOEIDs with source rank, query, description, and location context.
Combine X data with public data from other supported social platforms.