X (Twitter) Scraper

Tweet detail (text, author, media, likes/reposts/quotes/replies/bookmarks/views) and top replies. Public, no login.

2 endpoints199 calls2/2 passing
Get API key

Tweet by URL or id: text, author, media, metrics, createdAt. viewCount null for pre-2023 tweets.

GET/v1/…x-scraper/post
passing · 1.0s5m cache

Try it

Checking your keys…

Parameters

url

string · query · optional

Tweet URL (x.com / twitter.com).

id

string · query · optional

Tweet id (alternative to url).

fresh

enum · query · optional

Skip cache (impact rounds).

Example response

{"project":"social-media:x-scraper","data":null,"timestamp":"2026-10-10T14:55:44Z"}

Errors

  • 401Missing or invalid x-api-key
  • 404Not found or private
  • 429Rate limit or monthly quota reached

Code

const data = await client.run(  "social-media:x-scraper",  "post",  { url: "https://x.com/SpaceX/status/1732824684683784516", id: "1732824684683784516", fresh: "false" });