X (Twitter) API
X Corp.
Once free for academics, Twitter data now costs credits per post read.
X's API returns posts, users, follower relations, and search results. Until 2023 Twitter offered an Academic Research track with free full-archive search, which powered a huge literature on politics, misinformation, and public health; X ended it. Access is now pay-per-use with prepaid credits, capped at 3 million post reads a month before Enterprise pricing.
Access
- Cost
- PaidPay-per-use credits bought in advance; per-endpoint rates set in the Developer Console; Enterprise plans above 3 million post reads per month.
- License
- ProprietaryX Developer Agreement and Policy
- Sign-up
- Purchase required
- How you get it
- APIJSON
What's in it
- One row is
- One post (tweet) or user object returned by an endpoint
- Covers
- Global
- Years
- 2006-present
- Updated
- Real time
- Size
- Not stated
Quality
Still the authoritative source for X data, but cost and terms now put research at scale out of reach for most academics.
- Academic Research access ended in 2023
- Terms limit sharing data beyond post IDs
- Prices and rules have changed repeatedly
Connects to
- Archive Team Twitter Stream Grab: Free 1% sample of historical tweets through January 2023
- Bluesky Firehose and Jetstream: Open alternative stream from a platform many X users moved to
Questions it could answer
- What would a month of keyword monitoring cost at current API rates?
- Which research topics declined in publication after academic access ended?