Twitter/X API blog: prices, limits and how-tos

What the X API costs, how rate limits work, how the alternatives compare and how to get Twitter data without a developer account. Every external number links to its source.

The best Twitter API in 2026, 10 ranked — Accuracy in a test of 48 X APIs: TwittrAPI 67, TweetAPI 63, twitterapi.io 56, TwitterAPIs 55, SocialData 48, Sorsa 42, GetXAPI 39, TwexAPI 22.

Featured · Pricing

The best Twitter API in 2026: 10 options ranked

The best Twitter/X API in 2026, ranked on four things you can check: a written uptime guarantee, an independent test of 48 APIs, price per 1,000 tweets, and reads, posting and monitoring on one key.

5 min read

Twitter API with an SLA: 99.9% or credit back — Receipt of an SLA month: $600 in calls, a $120 fee, a 99.80% success rate and a $72 credit added automatically.

Pricing

Twitter API with an SLA: uptime guarantee with automatic credits

TwittrAPI is the only Twitter/X data API among those compared with an SLA you book yourself: 99.9% of your calls succeed each month, or a credit lands in your balance automatically. How it is measured, what it costs, how others compare.

3 min read

Run several X accounts from Claude and ChatGPT — An AI assistant calling the reply_to_tweet tool of the hosted MCP server with the account argument set to a support account, and getting the reply's ID back.

Guides

Run several X accounts from Claude and ChatGPT

Save all your X accounts once, then tell Claude or ChatGPT which one posts, replies, likes or sends a DM. Bulk import, choosing the account per prompt, keeping sessions working, cost.

5 min read

Post to X from Claude, ChatGPT and Cursor — An AI assistant calling the create_tweet tool of the hosted MCP server after the user approved the text, and getting the new tweet's ID back.

Guides

Post to X from Claude, ChatGPT and Cursor

Let Claude, ChatGPT, Claude Code or Cursor post, reply, like and answer DMs on your own X account through the hosted MCP server. Setup for each app, example prompts, cost and safety.

4 min read

Get tweets in Node.js and TypeScript, no X API — Endpoint mapping from twitter-api-v2 to TwittrAPI: client.v2.userTimeline becomes client.users.tweets; client.v2.search becomes client.search.tweets; public_metrics.like_count becomes counts.likes; meta.next_token becomes nextCursor.

Guides

Get tweets in Node.js and TypeScript without the X API (2026)

TypeScript code for Node 18+ that reads an X account's latest tweets and searches by keyword, with cursor pagination, retries and typed errors. Plain fetch and the twittrapi npm package, plus what changes if you come from twitter-api-v2.

5 min read

Is the Twitter API free in 2026? — Bar chart of what 1,000,000 tweets cost at published prices: TwittrAPI $3.25–$5, twitterapi.io $150, SocialData $200, X API $5,000.

Pricing

Is the Twitter API free in 2026?

No. The official X API has no free read tier in 2026, only prepaid credits from $0.005 per post read. What free options exist, their catch, and the cheapest way to read X data from code.

5 min read

snscrape and twscrape alternative, no X accounts — The TwittrAPI # mark with data packets flowing into lines of JSON.

Guides

snscrape and twscrape alternative in 2026

snscrape no longer works for X and twscrape needs your own X accounts. Swap the scraper for two small Python functions over an API and keep the rest of your code.

4 min read

Export all replies to an X post as CSV — A CSV filling with one row per reply (time, username, likes, text) from a paged export of an X post's replies.

Guides

Export all replies to a Twitter/X post with Python

Download the replies to any X post into a CSV: load the thread, page through every reply, sort by newest or most liked, keep only direct answers and see who quoted or reposted it, with Python code and the cost.

4 min read

Twitter/X social listening with an API, for cents — A brand mention query with X search operators and a list of new matching tweets, polled on a schedule with since_id.

Guides

Twitter/X social listening with an API: build your own for cents

Track brand mentions, competitors and keywords on X without a monthly listening-tool subscription: write the queries, poll without duplicates, filter noise, score sentiment and send alerts, with Python code and what it costs.

4 min read

Twitter/X trending topics by country, with an API — A trends request for the United States returning the top topic with its search query and tweet volume.

Guides

Get Twitter/X trending topics by country with an API

Fetch the topics trending on X for the world, a country or a city: find the location ID, call the trends endpoint, log trends over time and pull the tweets behind a trend, with Python and Node.js examples.

4 min read

Cheapest way to post to X from code, with and without links — Bar chart of 1,000 posts with links in a month: X API pay-per-use $200, Blotato Starter (flat) $29, TwittrAPI, 1,000 calls $0.065–$0.10. OpenTweet: up to 600 link posts a month (Agency). Postproxy: 20 X posts a day per account. Published prices as of October 2026.

Pricing

The cheapest way to post to X programmatically in 2026

What a post costs on the official X API, OpenTweet, Blotato, Postproxy and TwittrAPI, with and without links. Worked prices for 1,000 posts a month, daily caps, OAuth vs session cookie.

5 min read

New tweets by webhook, from any X account — A signed webhook request carrying a new tweet event to the reader's server, answered with 204.

Guides

How to get new tweets from any X account by webhook

Watch public X accounts and receive every new tweet as a signed webhook, delivered within 60, 5 or 1 seconds after X makes the post available. Setup in Python, signature check, test event and catch-up after downtime.

4 min read

Export followers to CSV — Diagram of an account's followers as a network of nodes, paged from the followers endpoint into the rows of a CSV file.

Guides

Export Twitter/X followers to CSV

Download the follower list of any public X account to a CSV file with handle, name, bio, follower counts and join date. Python and Node.js scripts, costs and the limits X sets.

4 min read

Search Twitter/X without a developer account — A search box with X search operators and a list of matching tweets, paged with a cursor.

Guides

Search Twitter/X without a developer account

Run X searches from code without an X developer account or app: query operators, filters, date ranges, pagination and polling for new tweets, with Python and Node.js examples.

5 min read

Tweets in Google Sheets with Apps Script — A spreadsheet filling with tweets (date, text, likes, link) from an hourly Apps Script trigger.

Guides

Pull tweets into Google Sheets with Apps Script

An Apps Script that imports tweets from an X search or account into Google Sheets every hour, without duplicates and without an X developer account. Python and Node.js versions included.

5 min read

X API pricing 2026: what reads and posts cost — Price list of the official X API: Post read $0.005, User read $0.010, Post created $0.015, Post with a URL $0.200, 1,000,000 post reads $5,000.

Pricing

X API pricing in 2026: what reads and posts cost

Twitter (X) API pricing in 2026: Basic and Pro are gone, reads cost $0.005 per post and $0.010 per user, pay-per-use stops at 3 million posts a month and Enterprise starts around $50,000.

7 min read

Migration guides and comparisons

Moving from another Twitter/X API: endpoint mappings, before-and-after code and what changes on the bill.

Migrate from SocialData endpoint by endpoint — Endpoint mapping from SocialData to TwittrAPI: /twitter/user/{username} becomes /user/by/username/{username}; /twitter/user/{user_id}/tweets becomes /user/{userId}/tweets; /twitter/search?type=Latest becomes /search?category=Latest; POST /twitter/users-by-ids becomes /user/users/by/ids?ids=.

Migration guide

Migrate from SocialData to TwittrAPI

Move a SocialData integration to TwittrAPI: endpoint mapping, auth header, cursor pagination, the legacy fields you already know, and before/after code in Python and Node.js.

Migrate from twitterapi.io endpoint by endpoint — Endpoint mapping from twitterapi.io to TwittrAPI: /twitter/user/info?userName= becomes /user/by/username/{username}; /twitter/user/last_tweets becomes /user/{userId}/tweets; /twitter/tweet/advanced_search becomes /search?category=Latest; /twitter/user/followers becomes /user/{userId}/followers.

Migration guide

Migrate from twitterapi.io to TwittrAPI

Move a twitterapi.io integration to TwittrAPI: endpoint mapping, auth header, cursor pagination, response shape and before/after code in Python and Node.js.

In other languages

Make your first call in a minute.

No X developer account. Prepaid, no subscription, and the balance does not expire.

$0.065per 1,000 calls