Social Media · Twitter / X Scraper
Twitter / X Tweet Scraper API
Pull a single X post from its URL: full text, media, the quote and reply chain around it, and reply, repost, like and view counts. No headless browsers, no captchas, proxies included.
// Twitter / X · Tweet
curl -H "X-API-Key: hpx_your_key_here" \
"https://hproxy.com/api/v1/scrape/twitter/tweet?url=https%3A%2F%2Ftwitter.com%2Fnasa%2Fstatus%2F1745510925348782269"
// → { "data": { … }, "records": 1, "costUsd": … }
From Request to Clean JSON
You write one line. We do everything between the request and the data.
You send
One API call
GET the Twitter / X endpoint with your key. That's all your code does.
We handle
Proxies · captchas · parsing
Residential exit, anti-bot walls, JS rendering and extraction, all server-side, on us.
You get
Clean JSON
A structured object every time. No HTML, no scraping code, no maintenance.
The Twitter / X Tweet endpoint is one API call: send a URL with your HProxy key and get back a clean, structured JSON object. Pull a single X post from its URL: full text, media, the quote and reply chain around it, and reply, repost, like and view counts. HProxy runs the proxies, sessions, anti-bot handling and parsing server-side, so there is no headless browser to babysit and no parser to keep fixing when Twitter / X changes its markup. You only ever touch the JSON.
What the Twitter / X Tweet API returns
text
Full post text with entities resolved.
stats
Replies, reposts, likes, bookmarks and views.
media[]
Attached images and video with direct URLs.
quoted / inReplyTo
The quote and reply chain around it.
Example response
{
"id": "1889...",
"text": "shipped it. took four days.",
"author": { "username": "@handle", "followerCount": 90421 },
"stats": { "replies": 84, "reposts": 312, "likes": 4120, "views": 291043 },
"media": [ { "type": "photo", "url": "https://.../img.jpg" } ],
"quoted": null
}Trimmed for brevity. Every call returns the full object with all fields listed here.
The Twitter / X tweet endpoint
Full Twitter / X reference →/api/v1/scrape/twitter/tweetParameters
urlurlrequiredTarget URL (profile, post or video).
trimbooleanoptionalReturn a slimmed-down payload (drops verbose fields).
cache_max_agestringoptionalAccept a cached result up to this old (1d, 3d, 7d, 14d or 30d) and pay nothing for it. Omit for a live scrape. Allowed values: `1d`, `3d`, `7d`, `14d`, `30d`.
Example request
curl "https://hproxy.com/api/v1/scrape/twitter/tweet?url=https%3A%2F%2Ftwitter.com%2Fnasa%2Fstatus%2F1745510925348782269" \
-H "X-API-Key: hpx_your_key_here"POST with a JSON body works too. Failed calls, timeouts and rate-limited calls are never billed.
Scraping Twitter / X tweet in three steps
Create a free account
Sign up and top up any amount. The balance pays for every HProxy product and never expires.
Grab your API key
One key from the dashboard authenticates every scraper, Twitter / X tweet included.
Call the endpoint
Send the target to the Twitter / X Tweet endpoint and read the JSON. That is the whole integration.
No captchas, ever
Anti-bot walls, JS rendering and rate limits are handled server-side. You call an API, that is the whole job.
Residential-backed
Every request exits through HProxy's own residential network, so it looks like a real user on a real device.
Pay per call
No subscription, no seat licenses. Calls are billed from your balance and the balance never expires.
Fresh on every call
Responses are scraped live at request time, no stale cache dressed up as data.
Failures are free
Automatic retries first; if an extraction still fails, the call is not charged.
Scales with you
From one call to millions: same endpoint, same price curve, volume discounts as you grow.
What people build with it
Archive posts before they are edited or deleted.
Track how a narrative spreads through quotes and replies.
Feed a monitoring tool with full post objects.
Twitter / X Tweet pricing
$3.00
per 1,000 calls · 0.3¢ each
Pay per call, no subscription
Failed extractions are not charged
Proxies included in the price