Social Data API

X API - Replies

X post replies API

Read the replies under any public X post as JSON with one call. $0.003 a call. No posting, no login, just the replies.

By the Social Data API team · November 8, 2026 · 2 min read

A laptop showing a live analytics dashboard
Photo via Pexels

Live now

Read the replies under any public X post as JSON, with one call. This is the read side only: it returns the replies people already posted, it does not post a reply for you.

Most pages that rank for this keyword mix up reading replies with posting them. Posting a reply on the official X API costs $0.015 per post created. Reading replies costs $0.005 per post read. Here, one call returns a page of replies for $0.003.

The call

One API key works for every endpoint below. Send your key in the x-api-key header.

curl -X POST https://social-data-api.chideraezeudu2.workers.dev/v1/x/comments \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tweet_id": "1234567890123456789"}'

Replies takes tweet_id (the numeric post id; post_id also works) and an optional cursor for more replies. One call costs 1 credit.

What you get back

{
  "platform": "x",
  "endpoint": "x.comments",
  "credits_used": 1,
  "upstream_cost_usd_per_call": 0.001,
  "key_id": "...",
  "plan_type": "monthly_29",
  "result": { "...": "upstream comment data" }
}

Response shape, example values only, not real data. Every response uses this wrapper. The result field holds the upstream provider's data, in its own shape. credits_used tells you what the call cost.

What it costs

  • Pay as you go: $0.003 a call, $3.00 per 1,000 calls.
  • Basic $29/mo: 10,000 calls included, $2.90 per 1,000 calls.
  • Per 1,000 replies: one call returns a page of replies. If a call returns 20 replies, that is $0.15 per 1,000 replies on pay as you go. Busy posts return a full page, quiet posts return fewer.
  • Plans: X is on paid plans only. The free trial covers TikTok only.

How it compares

OptionPriceNotes
Social Data API$0.003 a call, one page of repliesRead only. No posting, no login.
X API (official)$0.005 per post read; $0.015 per reply posted (confirmed by 5+ checks Sept-Oct 2026)Reading replies is charged per post read. Posting is a separate, pricier action.
EveryInfra$0.56 per 1,000 requests (per Oct 2026 roundups, re-verify)Comments action with code samples. X only.
1Lookup15 credits a post, up to 20 replies (per Oct 2026 roundups, re-verify)Reply scraper, credit based.

How it works

  1. Get one API key from the Social Data API dashboard. The same key works for TikTok, X, Instagram and Reddit.
  2. Send the call above with your key in the x-api-key header.
  3. Use the JSON. List endpoints take count (default 20 results per call, max 50) and cursor for the next page.

Frequently asked questions

Does this read replies or post them?

It reads them. Pass a tweet_id and you get the replies under that post as JSON. It does not post anything to X.

How do I find the tweet ID?

It is the number at the end of the post URL. A post link looks like x.com/handle/status/1234567890123456789, and the number at the end is the tweet_id.

How many replies does one call return?

One page of replies. A busy post returns a full page, a quiet post returns fewer. Use the cursor to get more.

How much do 1,000 replies cost?

If a call returns 20 replies, 1,000 replies need 50 calls, which is $0.15 on pay as you go. The official X API charges $5.00 for the same 1,000 post reads.

X is on paid plans: Basic $29/mo for 10,000 calls, Pro $99/mo for 50,000 calls, or pay-as-you-go at $0.003 a call. The free trial covers TikTok only, so a trial key gets a 402 on X. Get your API key or try it in the Playground.

Prices checked on 2026-11-08. Instagram is next after X, then Reddit, all on the same single API key.