Answers

How much does the X (Twitter) API cost in 2026?

Short answer

Since February 2026 X sells its API pay-per-use, with no subscription: X's pricing page lists $0.005 per post read, $0.010 per user read and $0.010 per trends request. For reading public data, okdata returns a page of about 20 posts for $0.006, so 1,000 posts cost $0.30, and a profile costs $0.001.

Say you are budgeting a small tool that reads 10,000 posts a month about your market and checks 500 creator profiles. On X's own API that is $50 for the posts and $5 for the profiles. Reading the same public data through okdata costs {{cost:x.posts.search500}} for the posts (500 search pages) and {{cost:x.users.get500}} for the profiles. Which one you should pay for depends on whether you only read public data or also need to post, message and work with your own account.

What X charges now

X launched pay-per-use pricing on 6 February 2026. You buy credits up front in the Developer Console and each request draws them down. These are the read rates on X's pricing page as of 12 November 2026:

X API item Price
Post read $0.005 per post returned
User read $0.010 per user returned
Trends $0.010 per request
Your own data (Owned Reads) $0.001 per resource

Reads are capped at 3 million posts per monthly billing cycle; above that X points you to Enterprise. A post you already paid for is not charged again within the same UTC day. When pay-per-use launched, X kept the Basic and Pro plans for existing subscribers, but the pricing page now shows only the credit model. New paying accounts can earn up to $70 in one-time free credits.

The same reads here

Job X API okdata
1,000 posts from a search $5.00 $0.30
500 profiles $5.00 $0.50
One country's trends, daily for 30 days $0.30 $0.27
One post by link $0.005 $0.001

X post search is billed per page of about 20 posts, not per post. Failed calls cost nothing, and a retry with the same Idempotency-Key within 24 hours is free.

curl -G "https://api.okdata.online/v1/x/posts/search" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query="your brand" lang:en' \
  -d sort=latest

When to pay X directly

  • You post, reply, send DMs or manage lists. okdata is read-only.
  • You read your own account's data: Owned Reads at $0.001 are hard to beat.
  • You need streams, webhooks, follower lists or a contract with X itself.

okdata covers public reads only: post search, account posts, profiles, single posts and trends. No X developer account is needed, and new keys start with $0.10 of credit. Full prices are on the pricing page.

Updated