X post replies API
Get a page of the replies under an X post by its ID, in the platform's order of relevance; a reply on X is itself a post and is returned as one. About 35 items a call, 60 at most; $0.0020 per call. Errors and timeouts are not charged.
id is in the link: x.com/i/status/<id>.Try it
Change a value and the request on the right follows.Sign in to run it; it runs on your own balance. New accounts can try this endpoint free, up to 50 calls.
Used to call POST /v1/x/posts/replies? It is this address now. What changed for old endpoints
curl -G "https://onefeedapi.com/v1/x/posts/replies/list" \ --data-urlencode "id=2108198226532708497" \ -H "Authorization: Bearer $ONEFEED_API_KEY"
{
"code": "ok",
"request_id": "8d1c41ef-9476-4956-bef0-7cbcb9a72fe5",
"data": {
"items": [
{
"id": "1852059004504439503",
"url": "https://x.com/i/status/1852059004504439503",
"type": "text",
"text": "My honest take on weekend hiking, a month in.",
"lang": "en",
"published_at": "2026-10-08T14:10:01.000Z",
"author": {
"id": "185515870194801997",
"username": "trail_and_lens",
"name": "Maya Chen",
"avatar_url": "https://pbs.twimg.com/profile_images/1839650090733403766/2e9uy1Sn_normal.jpg",
"verified": true
},
"metrics": {
"likes": 14,
"comments": 1,
"favorites": 1,
"views": 1419,
"reposts": 3
},
"hashtags": [],
"mentions": [
{
"id": "120227434360127747",
"username": "maya_makes",
"name": "Northside Coffee"
}
],
"post_id": "1811536513306299064"
},
// … 5 more
]
},
"page": {
"next_cursor": null,
"cursor_expires_at": null,
"has_more": false,
"returned": 6
},
"warnings": [],
"meta": {
"capability": "x.posts.replies.list",
"result_status": "complete",
"fetched_at": "2026-10-12T19:11:03.000Z",
"cached": false,
"replayed": false,
"unavailable": {
"title": "platform",
"metrics.shares": "platform",
"is_pinned": "capability",
"root_id": "platform",
"author.followers": "capability",
"images": "capability",
"parent_id": "capability"
},
"billing": {
"amount": "0.002",
"currency": "USD",
"balance_after": "9.998"
}
}
}From a response recorded 2026-10-12 19:11 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.
Size as sent: 5.1 KB in the standard view (3.6 KB compact, 5.2 KB full).
{
"code": "ok",
"request_id": "dd3af289-a4e0-417f-a56a-3eb4d1113607",
"data": { "items": [] },
"page": {
"next_cursor": null,
"cursor_expires_at": null,
"has_more": false,
"returned": 0
},
"warnings": [],
"meta": {
"capability": "x.posts.replies.list",
"result_status": "empty",
"fetched_at": "2026-10-12T19:12:06.000Z",
"cached": false,
"replayed": false,
"unavailable": {
"title": "platform",
"metrics.shares": "platform",
"is_pinned": "capability",
"root_id": "platform",
"author.followers": "capability",
"images": "capability",
"parent_id": "capability"
},
"billing": {
"amount": "0.002",
"currency": "USD",
"balance_after": "9.998"
}
}
}From a recording of 2026-10-12 19:12 UTC, edited by hand to show this case. The request ID and balance are made up.
Size as sent: 574 B in the standard view (574 B compact, 574 B full).
This recorded response is 3,467 tokens as the platform's own JSON, 1,577 as OneFeedAPI's JSON, and 1,061 as an AI reads it through OneFeedAPI's MCP server: 69% fewer (counted 2026-11-06).
curl -G "https://onefeedapi.com/v1/x/posts/replies/list" \ --data-urlencode "id=2108198226532708497" \ -H "Authorization: Bearer $ONEFEED_API_KEY"
# pip install onefeedapi from onefeedapi import OneFeedAPI dx = OneFeedAPI() # reads ONEFEED_API_KEY result = dx.x.posts.replies.list(id="2108198226532708497") print(result["data"]["items"])
// npm i @onefeedapi/sdk import { OneFeedAPI } from "@onefeedapi/sdk"; const dx = new OneFeedAPI(); // reads ONEFEED_API_KEY const result = await dx.x.posts.replies.list({ id: "2108198226532708497" }); console.log(result.data.items);
onefeedapi call x.posts.replies.list id=2108198226532708497
{
"mcpServers": {
"onefeedapi": {
"type": "http",
"url": "https://onefeedapi.com/mcp",
"headers": {
"Authorization": "Bearer ${ONEFEED_API_KEY}"
}
}
}
}Add this to your MCP client, then ask your agent to call x.posts.replies.list.
Parameters
Post ID, a string of digits. Example: 2108198226532708497.
Cursor returned by the previous page. Pass page.next_cursor of the page before, unchanged. Each page is charged as a call of its own.
How much of each item to return. All three cost the same. Values: compact, standard (default), full.
Return only these fields. Each by its path, such as author.name.
Known limits
- About 35 items a page, 60 at most. The page size is the platform's;
limitis not accepted. - For the next page pass
page.next_cursorascursor; a cursor is valid for 1 hour.page.has_moreis false on the last page. - 7 fields of the object are not available from this endpoint
Returned fields
data.items is a list of post objects. Stable: fields are only ever added.
ID; pass it unchanged to the get endpoint
Link that opens the post
Content formatvideoimagetextarticle
Title
Body text
Long text: the compact view keeps the first 500 characters and says so in warnings.
Language of the text
Show all 35 fields →
When it was published
Author
Author's account ID
Author's handle
Author's display name
Author's avatar
Whether the author is verified
On this platform: Whether it carries a badge of any colour: the blue one of a paid subscription, the gold one of a business and the grey one of a government or official body are all true, so it does not mean a paid subscription
Author's follower count
Engagement counts
Likes
Comments
On this platform: Replies
Shares
Saves
On this platform: Bookmarks
Views
Reposts
On this platform: Retweets; quotes are counted apart, in ext.quotes
Image addresses
Hashtags, without the #
Accounts mentioned in the text
Account ID
Handle
Display name
Whether the author pinned it
ID of the thread's root post when this is a reply; otherwise null
On this platform: ID of the conversation's root post
ID of the item it replies to directly; otherwise null
ID of the first-level reply its thread hangs under
Times it was quoted
Which numbers of this item are approximate or lower bounds; absent when all are exact
Path of the field, such as metrics.views
Approximate, or a lower boundapproximatelower_bound
Typical size of one item: compact 522 B, standard 779 B, full 798 B (measured on the response recorded 2026-10-12 19:11 UTC).
What this endpoint cannot give
titleThe platform has noneauthor.followersNot provided heremetrics.sharesThe platform has noneimagesNot provided hereis_pinnedNot provided hereparent_idNot provided hereroot_idThe platform has noneWhen you are charged
X-Max-Price to refuse anything above your own limit)Prices as read 2026-11-22 09:40 UTC, under price book 21, in effect since 2026-11-21 15:05 UTC; the Playground reads the price in force before a run.
If the object does not exist
A post that does not exist is not answered with a 404: it is reported as an error that may be retried once and is not charged.
Errors
What this endpoint can answer with; codes all endpoints share are on the full list.
invalid_paramsA parameter is invalidRetry: After a fixNocursor_mismatchThe cursor was issued for another endpoint or other parametersRetry: After a fixNoinsufficient_balanceThe balance is too lowRetry: After a fixNocursor_expiredThe cursor expired; start again from the first pageRetry: NoNoupstream_failedNo result came back this time and nothing was charged; retry shortlyRetry: YesNotimeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNoQuestions
How much does the X post replies API cost?
$0.0020 per call. The most one call can cost is $0.0020.
When am I not charged?
Errors and timeouts are not charged.
How many items does one call return, and how do I get the next page?
About 35 items a page, 60 at most. The page size is the platform's; limit is not accepted. For the next page pass page.next_cursor as cursor; a cursor is valid for 1 hour. page.has_more is false on the last page.
What happens if the object does not exist?
A post that does not exist is not answered with a 404: it is reported as an error that may be retried once and is not charged.
30-day availability
100% of the time over the last 30 days, this endpoint was serving calls: at least one of its routes was taking them, so it was neither paused nor down.
A failed call is not charged.
Every endpoint's state now, and each incident with whether anyone was charged: the status page →
The same thing on other platforms
All 21 X (Twitter) endpoints
Use it in your AI
Copy this prompt
Your API key is built in, so there is nothing to configure.
No account yet? Sign-up takes an email and no card, and a failed call is never charged.
Paste it into your agent
It reads the page the prompt points to and connects itself.
Now ask something
Use one of these, or your own words.
Prefer to set it up by hand?
onefeedapi setupgives the agents on your machine (Claude Code, Codex, Cursor) the OneFeedAPI MCP server and the base skill. The key is read from ONEFEED_API_KEY; none is written into a file.MCP server: https://onefeedapi.com/mcp. The entry for your client is under MCP in the request examples of this page; then ask your agent to call x.posts.replies.list.Other clients →Show the text
Use the OneFeedAPI endpoint x.posts.replies.list (X post replies). Get a page of the replies under an X post by its ID, in the platform's order of relevance; a reply on X is itself a post and is returned as one. Call GET https://onefeedapi.com/v1/x/posts/replies/list with the header "Authorization: Bearer $ONEFEED_API_KEY". Read the key from the environment variable ONEFEED_API_KEY; never write it into code. Parameters: - id (required): Post ID, a string of digits. Example: 2108198226532708497. - cursor: Cursor returned by the previous page. Pass page.next_cursor of the page before, unchanged. Each page is charged as a call of its own. - view: How much of each item to return. All three cost the same. Values: compact, standard (default), full. - fields: Return only these fields. Each by its path, such as author.name. Price: $0.0020 per call. Errors and timeouts are not charged. The answer is JSON: data.items holds post; meta.billing.amount is what this call was charged. Example: curl -G "https://onefeedapi.com/v1/x/posts/replies/list" \ --data-urlencode "id=2108198226532708497" \ -H "Authorization: Bearer $ONEFEED_API_KEY" Full reference in Markdown: https://onefeedapi.com/apis/x/posts/replies/list.md
Names and identifiers
- In Chinese
- X 帖子回复列表 API
- Endpoint ID
x.posts.replies.list- Endpoint
GET /v1/x/posts/replies/list
Start with one key.
253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.