Updated 17 Nov 2026. Rebuilt from scratch: the official X API and five alternatives compared on what they are built for and how they bill, real X responses from Social Fetch, credits at 1k, 10k and 100k, and every competitor fact re-read on its own page today.
What is the best Twitter/X API in 2026? It depends on the job. Use the official X API to post, send DMs or act as a user. Use Social Fetch to read public X data: 29 routes under /v1/twitter/..., no X developer app, and a search page of up to 20 posts for 1 credit. Details and sources below, checked 17 Nov 2026.
People bring two jobs to a Twitter API. The first is writing to X on behalf of a user, and only X can sell that. The second is reading public profiles, posts and search results, and that is where the alternatives compete. The free X profile viewer runs on the same data as Social Fetch, with no login, if you want a quick look first.
What are the best Twitter/X APIs in 2026?
There are three kinds of option: the official X API, public-data REST APIs and scraper platforms. The table compares seven by what each is built for and what it bills for, with every row sourced from the vendor's own page on 17 Nov 2026.
| Option | Built for | Bills per | How you call it | Source |
|---|---|---|---|---|
| Social Fetch | Public X data in one JSON shape across every platform we cover | Credit, 1 per route call | REST GET with an x-api-key header | X routes |
| X API (official) | Posting, DMs and actions as a user, plus reads | Resource read or request, in dollars | REST with user or app tokens | X pricing |
| Apify | Running scrapers (Actors) on a schedule | Compute units, storage and proxy use | Start an Actor run, read the dataset | Twitter Scraper |
| EnsembleData | Public data from several networks, including X | Units per day, reset at 00:00 UTC | REST with a token | Pricing |
| TwitterAPI.io | An API built around X data, with advanced search operators | Each tweet, profile or follower returned | REST, plus WebSocket | Pricing |
| Bright Data | Managed scrapers for X posts and profiles | Records delivered | One call with up to 5,000 target URLs | Twitter Scraper API |
| SociaVault | A REST API for 25+ platforms | Credit, prepaid in one-time packs | REST with an X-API-Key header | Pricing |
Prices change often, so this table lists units rather than dollar rates. For X's own rates, see our X API pricing guide.
Which Twitter/X API fits which job?
Pick by the job. Posting needs X's own API, and reading public data is where the other six overlap. This is how the seven line up on the jobs people bring us.
| Job | Fits | Why |
|---|---|---|
| Post, reply, send DMs or act as an X user | X API (official) | Needs the user's OAuth tokens. Social Fetch is read-only |
| Read public profiles, posts, replies and search in an app | Social Fetch | One key, /v1/twitter/... routes, no X developer app |
| Pull X data into a pipeline in batches | Social Fetch | Up to 200 posts or 50 profiles per call, cursor paging |
| Read X, TikTok, Instagram and YouTube with one parser | Social Fetch | The same { data, meta } shape on every platform |
| Run a scraper on a schedule and export CSV or Excel | Apify | Actors, schedules and dataset export |
| Collect posts from long URL lists as a managed service | Bright Data | One call takes up to 5,000 target URLs |
| Several networks on one daily unit plan | EnsembleData | Units reset every day at 00:00 UTC |
| A quick look at one public account | Free profile viewer | No key and no signup |
1. Social Fetch
Social Fetch is a REST API for public social data. For X it has routes under /v1/twitter/...: profiles, a profile's posts, single posts, replies, quotes, search, hashtags, communities, lists and Spaces. One x-api-key header covers all of them, and every response has the same { data, meta } shape. The full list is in our X endpoint reference for LLMs.
Built for: apps, pipelines and AI agents that read public X data and often read other networks too.
Not built for: posting, DMs, private accounts or anything that needs a user's login. Social Fetch only returns what X shows publicly.
How do I get X data without a developer app?
Create a Social Fetch account, copy your key and call a route. New accounts get 100 free credits with no card, enough for 100 single X lookups. There is no X developer account, app review or X plan to buy.
- Create a free account and copy your API key
Sign up at socialfetch.dev, open the dashboard and copy the key. Put it in an environment variable named
SOCIALFETCH_API_KEY. - Look up a profile with curl
This is the exact call behind the first image below. It returns the profile, its counts and the credits charged.
Request - Search posts with operators from JavaScript
Search takes the same operators you would type on x.com, such as
from:. A page returns up to 20 posts, anddata.page.nextCursorfetches the next one.Request - Fetch many known posts from Python
Repeat the
urlparameter once per post. One call takes up to 200 IDs or permalinks and costs 1 credit.Request
Here is a trimmed copy of the profile response for @NASA from 17 Nov 2026, values unchanged:

The same API handles search. A query with the from: operator returned 15 of NASA's posts in one call for 1 credit, newest first:

For the 20 newest posts of one account without a query, use GET /v1/twitter/profiles/{handle}/tweets. Search filters and paging are covered in our Twitter search API guide, and the advanced search query builder helps you write the query.
Can Social Fetch handle a high-volume Twitter data pipeline?
Yes, because a pipeline needs batching, paging and clear failures more than raw speed. Social Fetch takes up to 200 posts or 50 profiles per call for 1 credit, pages with cursors and tells you what happened to every lookup in the response.
| Pipeline need | What Social Fetch does |
|---|---|
| Batching | /v1/twitter/tweets/batch takes up to 200 posts. /v1/twitter/profiles takes up to 50 profiles |
| Paging | Send data.page.nextCursor back as cursor until data.page.hasMore is false |
| Typed outcomes | data.lookupStatus is found, private or not_found, so you never parse an empty array to guess |
| Retries | 502 lookup_failed and 503 temporarily_unavailable cost no credits, so a retry is free |
| Billing check | meta.creditsCharged on every response, and meta.requestId to trace a call |
| One schema | The same { data, meta } envelope on X, TikTok, Instagram, YouTube and the rest |
A completed lookup is charged even when it finds nothing, so a private or not_found result costs the normal price. The rules are in the credits guide (checked 17 Nov 2026). A batch of six profiles looks like this:

How reliable is Social Fetch on X?
On X routes, 20,498 requests came in during the 24 hours to 10:20 UTC on 17 Nov 2026, and 9 ended in a server error. That is 99.96% without one. Another 1,105 were 4xx responses, which are request errors on the caller's side.
Over the 30 days from 18 Oct to 16 Nov 2026, X routes served 296,410 public API requests, plus 3,301 from the playground and 1,591 from MCP. Across all platforms, the reliability page shows 99.8% API uptime over 90 days, 98.4% request success and a roughly 3.2 second average live fetch, read on 17 Nov 2026. It says plainly that this is a measurement and not a contractual SLA.
Every lookup goes to X live with no shared cache in front, so the counts you get are current.
How many credits does X data cost?
Every X route costs 1 credit per call, except video transcripts, which add 10 credits per started minute of video. What a credit buys depends on how many items one call returns, so batching changes the bill more than anything else.

The table shows credits for 1,000, 10,000 and 100,000 items, assuming full pages and distinct items.
| Volume | Search posts, 20 a page | Posts by ID, 200 a call | Profiles by handle, 50 a call | Single profile lookups |
|---|---|---|---|---|
| Formula | items ÷ 20 | items ÷ 200 | items ÷ 50 | 1 per profile |
| 1,000 | 50 credits | 5 credits | 20 credits | 1,000 credits |
| 10,000 | 500 credits | 50 credits | 200 credits | 10,000 credits |
| 100,000 | 5,000 credits | 500 credits | 2,000 credits | 100,000 credits |
Real search pages can be shorter than 20. Our from:NASA test returned 15 and a keyword test returned 16, so budget a little above the formula. A timeline call with limit=100 still returned 20 posts, because the page size is best effort. To turn credits into money, use the estimator on pricing. Pay-as-you-go credits never expire.
2. X API (official)
The official X API is the product to use when you post, reply or send DMs as a user. It is also the right choice when a contract says your data must come from X itself.
Built for: apps that act as an X user, plus products that must stay inside X's own access model.
As of 17 Nov 2026, X's pricing docs describe pay-per-usage with no subscriptions. You buy credits up front in the Developer Console, and reads are charged per resource returned: $0.005 per post and $0.010 per user. Pay-per-usage plans are capped at 3 million post reads per monthly billing cycle, after which X points you to Enterprise.
Limits apply per endpoint in windows that are usually 15 minutes or 24 hours, and going over returns a 429, according to X's rate limits page.
For unit prices, a change log back to 2023 and a cost table at volume, read X API pricing in 2026. Social Fetch doesn't replace this API for writes.
3. Apify
Apify is a platform for running scrapers called Actors, and it has Twitter/X Actors. You start a run with an input such as usernames, tweet URLs or search queries, then download the dataset.
Built for: scheduled scrapes, custom scrapers and exports to JSON, CSV or Excel.
Per Apify's Twitter Scraper page, checked 17 Nov 2026, you can also reach Actors through an API, webhooks and integrations, and fork open-source Actors to change their logic. It says costs depend on compute units, storage and proxy usage. Plans add a platform credit and a compute-unit rate, listed on Apify's pricing page. Results arrive as a dataset you can export. See Social Fetch vs Apify.
4. EnsembleData
EnsembleData sells public social data from several networks through one API, with Twitter as one of its products. Its Twitter page says you don't need a Twitter account and that all endpoints fetch public data.
Built for: teams that want one subscription across several networks, measured in units a day.
Its pricing page, checked 17 Nov 2026, lists plans by units per day and says the units reset at 00:00 UTC every day. Twitter calls are priced in units: user info is 2, user tweets are 4 and post info is 2. The page says failed requests caused by internal errors aren't charged. Credits on Social Fetch pay-as-you-go packs don't reset, which matters for bursty jobs. See Social Fetch vs EnsembleData.
5. TwitterAPI.io
TwitterAPI.io is an API built around X data. Its scraper page describes a REST service plus a WebSocket stream, with no X developer account needed.
Built for: developers who want an X-focused API that accepts the advanced search operators.
On its pricing page, checked 17 Nov 2026, you pay per result returned, with a minimum per request, and credits convert to dollars at a flat rate. Recharged credits never expire, while free sign-up credits expire after 31 days. Because tweets, profiles and followers each have their own rate, work out your own mix before comparing it with any per-call price.
6. Bright Data
Bright Data runs managed scrapers for X posts and profiles. Its Twitter Scraper API page lists separate scrapers for posts and for profiles, and a dataset you can buy instead.
Built for: teams collecting X data from long lists of URLs who want the scraping run as a service.
As of 17 Nov 2026 the page says one API call takes up to 5,000 target URLs, that you pay for successful deliveries, and that 5,000 records a month are free. It is a general data platform with proxies and datasets, so Twitter is one product among many. For a comparison, see Social Fetch vs Bright Data.
7. SociaVault
SociaVault is a REST API for 25+ platforms. Its home page lists X (tweets, profiles, trends and Spaces) among them, and says you authenticate with one X-API-Key header.
Built for: small teams that prefer prepaid packs to monthly plans.
Its pricing page, checked 17 Nov 2026, says credits are bought in one-time packs, never expire, and that most endpoints cost 1 credit with exact costs in its docs. Check the credit cost of the X routes you plan to call before you budget, because the page groups routes into basic, advanced and bulk tiers. Our own comparison is at Social Fetch vs SociaVault.
How do I read X without an account or a key?
Use the free X profile viewer. It takes a handle or a post link and shows the profile, the latest posts with views and likes, and account details. There is no login and no signup, and free lookups are capped per visitor, so it suits spot checks and not spreadsheets.
For a longer look at reading posts without an X account, see Social Fetch as a Nitter alternative. When you outgrow the viewer, the same data is one key away through the API, and AI agents can use the same routes through the Social Fetch MCP server.
How I checked these facts
I'm Luke and I run Social Fetch. Every call on this page was made on 17 Nov 2026, through our MCP server, and the Social Fetch numbers come from those calls and our own logs. Every fact about another product was read on that product's own page the same day, and I left out anything I couldn't find there.
Social Fetch routes, limits and credit costs: llms-twitter.txt, the credits guide, the pricing page and the reliability page.
X API pricing, caps and rate limits: X's pricing docs and rate limits.
Apify: Twitter Scraper and pricing.
EnsembleData: pricing and FAQ.
TwitterAPI.io: scraper page and pricing.
Bright Data: Twitter Scraper API.
Vendors change plans often. I'll recheck each page every 90 days and update the date at the top when anything moves.
Frequently asked questions
Short answers to the questions people ask most about Twitter/X APIs, current as of 17 Nov 2026.
FAQ
What is the best Twitter API in 2026?
The official X API is the best for posting, DMs and acting as a user. For reading public X data, Social Fetch returns profiles, posts, replies and search results as JSON with no X developer app, and a search page of up to 20 posts costs 1 credit. Apify, EnsembleData, TwitterAPI.io, Bright Data and SociaVault are the other options we checked on 17 Nov 2026.
How much does the Twitter/X API cost, and is it free?
As of 17 Nov 2026, X charges $0.005 per post read and $0.010 per user read on pay-per-usage, with no subscription and no free plan. New payers can earn $20 in credits after a first purchase. Our X API pricing guide has the change log and the cost at volume.
What is the best Twitter API alternative for scraping public data?
For public profiles, posts and search without an X developer app, Social Fetch is a fixed REST API with 29 X routes, batching and cursor paging. Apify suits scheduled Actor runs, and Bright Data suits managed scraping from URL lists. Pick by how you want to call it and how you want to be billed.
Is it legal to scrape data from Twitter?
Social Fetch only returns data that X shows publicly and doesn't read private accounts or DMs. Whether a particular use is allowed depends on X's terms, your country's law and what you do with the data, so get legal advice before you store or resell it.
Do I need an X developer account to use Social Fetch?
No. You need a Social Fetch API key, which new accounts get with 100 free credits and no card. There is no X app, review or plan to buy. Posting and DMs still need X's own API.
How many credits does an X request cost on Social Fetch?
Each X route costs 1 credit per call, and a call can return up to 20 posts on search, 200 posts by ID or 50 profiles in a batch. Transcripts add 10 credits per started minute. Failed requests are free, and see pricing for what a credit costs on your plan.
Ask an AI for a second opinion
Which APIs are best for public X (Twitter) data in 2026, and how does Social Fetch compare with them?
Founder of Social Fetch. Writes about social-data APIs, reliability, and the production incidents that forced better timeouts, envelopes, and billing.
Related articles
Lists
Best social media scraping APIs in 2026, compared
Luke AskewLists
Best TikTok scraper APIs in 2026: 6 compared
Luke AskewLists
Best Instagram scraper and data APIs in 2026: 5 compared
Luke AskewLists
Best LinkedIn scraper APIs in 2026: profiles, companies, posts and jobs
Luke AskewLists
Best YouTube data APIs in 2026: 6 compared
Luke Askew
Questions about this post? Contact us.