ANALYTICS
Twitter Analytics API: Pull X Metrics as JSON
Updated July 2026
A Twitter analytics API is a REST interface that returns the raw measurement fields behind X activity as JSON rather than as a dashboard: per-post like, repost, reply, quote and bookmark counts, account-level follower and post counters, and the post history you aggregate over. TwitterAPIs exposes these across nine read endpoints on one Bearer key at $0.0008 per call, with no X developer account and no monthly plan.
We bill each standard metric read at $0.0008 (source: our published pricing), roughly $0.04 per 1,000 posts including their engagement counts.
Every metric, mapped to the endpoint that returns it
There is no single analytics call, because analytics is not a single question. Volume, engagement, reach and audience each come off a different endpoint, all sharing one Bearer key. Pick the rows that answer your question and ignore the rest, because you are billed per call rather than per seat.
| What you measure | Endpoint | What comes back | Per call | Docs |
|---|---|---|---|---|
| Per-post engagement counts | GET /twitter/tweet/detail | Likes, reposts, replies, quotes, bookmarks, views | $0.0008 | View docs |
| Account-level profile counters | GET /twitter/user/info | Followers, following, post count, listed count, created date | $0.0008 | View docs |
| Recent posts for a time series | GET /twitter/user/tweets | Paged posts with metrics attached to each record | $0.0008 | View docs |
| Entire account history in one job | GET /twitter/user/tweets/complete | The full archive, walked for you rather than cursor by cursor | $0.0024 | View docs |
| A keyword corpus to score | GET /twitter/tweet/advanced_search | Matching posts with full text, author, and metrics | $0.0008 | View docs |
| Replies under a post | GET /twitter/tweet/replies | Reply text and authors, the raw input for sentiment work | $0.0008 | View docs |
| Who amplified a post | GET /twitter/tweet/retweeters | The accounts that reposted, with their profile fields | $0.0008 | View docs |
| Brand and competitor mentions | GET /twitter/user/mentions | Every public post naming an account, newest first | $0.0008 | View docs |
| Trend context around a spike | GET /twitter/trends | Trending topics per location, to explain a jump in volume | $0.0008 | View docs |
What a third-party analytics API can and cannot see
This is the part most vendor pages skip. Some X measurements are public and some are owner-only telemetry that never leaves X's first-party products. Knowing which is which before you scope a project saves you a rebuild later.
| Measurement | Status | Why |
|---|---|---|
| Your own account's impressions and profile visits | Not available | Impression and profile-visit counts for an account you own live in X's own analytics surface and its ads products. No third-party API can read them, and we do not claim to. |
| Public engagement counts on any post | Available | Likes, reposts, replies, quotes, bookmarks and the public view count ship on every post record we return, for any public account, not just one you control. |
| Sentiment scores | You compute them | We return post text, replies and quote posts as clean JSON. We do not run a sentiment model over it. Feed the text to whichever classifier you already trust and keep the scoring under your own control. |
| Share of voice against competitors | You compute it | Run one advanced_search per brand term over the same window, count the matched posts and sum their engagement. The API supplies the corpus; the ratio is arithmetic you own. |
Build an engagement-rate report over a month of posts
The most common first job. Pull an account's recent posts with GET /twitter/user/tweets, read the engagement counts already attached to each record, and divide by follower count from GET /twitter/user/info. No second call per post is needed, because the metrics ride along with the post. A 30-day window on a daily poster is roughly 30 records, which is two calls and under a cent.
Pull posts and compute engagement rate
1curl -H "Authorization: Bearer YOUR_API_KEY" \2 "https://api.twitterapis.com/twitter/user/tweets?userName=openai"Swap /twitter/user/tweets for /twitter/tweet/advanced_search and the same loop becomes keyword coverage instead of account coverage, which is the shape of a share-of-voice report. For a full multi-year archive in one job rather than a paged window, call /twitter/user/tweets/complete at $0.0024.
What an analysis actually costs
$0.04
per 1,000 posts pulled with their metrics
$0.0024
for one account's complete post archive
$0.50
free signup credit, no card required
A 10,000-post competitive study lands around $0.40 at the standard read rate. Model your own volume on the Twitter API cost calculator or read the endpoint-level breakdown on the Twitter API pricing page.
Where analytics work usually goes next
Measurement rarely stops at counting. Once you are reading metrics you generally want the actions beside them, which is the Twitter engagement API. For continuous brand monitoring rather than a one-off study, the Twitter mentions API is the polling surface, and the Twitter REST API overview covers auth, paging and error handling across all of it. Platform-level context on user counts and bot share lives on the Twitter statistics page.
By the numbers
Measurement, in numbers.
Sourced figures behind X analytics access.
The official X API bills post and user reads pay-per-use at $0.010 per resource, more than ten times the standard third-party read rate. (X Developer Platform, 2026)
Official X API reads run on 15-minute rate-limit windows, and pay-per-use is hard-capped at 2 million reads per calendar month. (X API docs, 2026)
TwitterAPIs bills each standard metric read at $0.0008, about $0.04 per 1,000 posts including engagement counts, with no platform-level rate limits. (TwitterAPIs pricing, 2026)
Nine read endpoints carry the measurement fields used for analytics work, from per-post engagement counts to complete account history. (TwitterAPIs docs, 2026)
A new account starts with $0.50 in free credit and no card on file, enough for several hundred metric calls before any spend decision. (TwitterAPIs pricing, 2026)
Analytics API, common questions
A Twitter analytics API is a REST interface that returns the raw measurement fields behind X activity as structured JSON: per-post like, repost, reply, quote and bookmark counts, account-level follower and post counters, and the post history you aggregate over. It is not a dashboard. It hands you the numbers so you can build your own reporting, alerting, or model input. TwitterAPIs exposes these fields across nine read endpoints on one Bearer key at $0.0008 per call, with no X developer account and no monthly plan.
Pull the corpus, then score it yourself. Use GET /twitter/tweet/advanced_search for a keyword or brand query, or GET /twitter/tweet/replies to read the replies under a specific post. Both return full post text, the author, the timestamp and the engagement counts as JSON. Feed that text into whichever classifier you already use, whether that is a hosted language model, a fine-tuned model, or a lexicon. We deliberately do not ship a sentiment score, because a number with no visible model behind it is not something you can defend to a client.
That is the common pattern. Poll GET /twitter/user/mentions for named-account monitoring and GET /twitter/tweet/advanced_search for unbranded keyword coverage, store a since_id or the newest post ID between runs so each poll is incremental, then run your own classification and alerting over the result. Because billing is per call rather than per seat, the cost tracks how often you poll and how wide your keyword set is, which makes the unit economics of a listening product predictable before you write the first line of it.
No. There is no developer application, no app review, and no OAuth flow to complete. You sign up, receive one Bearer token, and send it on every request. Signup includes $0.50 in free credit with no card on file, which covers several hundred metric calls before you decide whether to add funds.
Yes, for everything that is public. Engagement counts on any public post, any public account's follower and post counters, and any public account's post history are all readable with a plain GET. What you cannot get anywhere, from us or any other vendor, is the owner-only telemetry X keeps in its own analytics surface: impressions, profile visits, and link click counts for an account you control. Those never leave X's first-party products, so treat any vendor claiming to supply them as a red flag.
Every standard read is a flat $0.0008 per call. Post and search calls return roughly 20 records, which works out to about $0.04 per 1,000 posts including their metrics. The one exception is GET /twitter/user/tweets/complete at $0.0024, which walks an entire account archive in a single job instead of making you page through it. There is no monthly minimum and no plan tier, so a one-off analysis of a few thousand posts costs cents rather than a subscription.
GET /twitter/user/tweets/complete walks an account's full public archive rather than the recent window, so a multi-year backfill is a single job at $0.0024. For keyword-based history, GET /twitter/tweet/advanced_search accepts the same date operators the X search UI uses, so you can bound a query to any past window and page through the matches at $0.0008 per call.
Read X metrics without a developer account
$0.0008 per metric read, $0.50 in free credit. Public engagement counts, profile counters, and full post history as JSON.
Next read
Continue exploring related pages:
Twitter engagement API
Like, repost and bookmark from code, then read what moved.
Twitter REST API
The auth header, paging model and error contract in one place.
Twitter API use cases
14 use cases from sentiment analysis to lead generation.
X (Twitter) statistics 2026
Sourced user, bot, and daily-activity figures for X, with a named citation on every number.