Twitter API v2 logo

Twitter API v2

Twitter API v2

Twitter API v2 is the current recommended version — post tweets, query tweets, stream, user management. Since 2023 Elon's acquisition, prices increased dramatically with free tier restrictions.

Visit site ↗Health checked 9h ago
Use it when

v2 design is modern (GraphQL-style field selection)

Watch for

Free tier extremely limited (100 posts/month, 1500 queries)

First check

Create an app at developer.twitter.com for a Bearer token. GET https://api.twitter.com/2/tweets/search/recent?query=...

Auth
CORS
Yes
HTTPS
Yes
Signup
?
Latency
127 ms
Protocol
REST, WebSocket
Pricing

Uptime · 30-day window

Probes: 1Uptime: 100%Avg latency: 127ms
01

About this API

Twitter API v2 is Twitter (now X)'s officially recommended current API. Design is more modern than v1.1: every endpoint supports fields parameter for on-demand field selection (saves network), unified pagination, clearer categorized endpoints. But actual use is heavily impacted by Elon Musk's 2022 acquisition policy changes — Twitter dramatically cut free access and raised prices across tiers in 2023. Free tier is 100 writes/month and 1500 reads (testing only), Basic at $100/month is small-scale, Pro starts at $5000/month, Enterprise is tens of thousands. Massive impact on products originally relying on Twitter API (social media management tools, sentiment monitoring, researchers) — many migrated to Mastodon, Bluesky, or stopped Twitter integration. If you must use Twitter, budget first.

02

What you can build

  • 1Social media management tools
  • 2Twitter bots (auto-tweet)
  • 3Sentiment monitoring and analysis
  • 4Content publishing automation
03

Strengths & limitations

Strengths

  • v2 design is modern (GraphQL-style field selection)
  • Officially supported, has OpenAPI spec
  • Streaming for real-time

Limitations

  • Free tier extremely limited (100 posts/month, 1500 queries)
  • Basic tier $100/month for small scale only
  • Pro/Enterprise tier thousands per month
04

Example request

Generic template — replace <endpoint> with the real path from the docs.
curl https://developer.twitter.com/<endpoint>
05

Getting started

Create an app at developer.twitter.com for a Bearer token. GET https://api.twitter.com/2/tweets/search/recent?query=...

06

FAQ

What can the free tier do?+

Basically only enough for hobby/personal bot to post a few tweets. Any serious app requires paid.

v2 or v1.1?+

v2 is now and future. v1.1 was mostly discontinued in 2023.

07

Technical details

CORS: YesHTTPS: YesSignup: ?Open source: No
Auth type
unknown
Pricing
unknown
Protocols
REST, WebSocket
SDKs
python, javascript, go, java, csharp
Response time
127 ms
Last health check
5/12/2026, 7:38:32 AM
08

Tags

09

More from Twitter