Real-time Twitter / X data, one API call.
Pull tweet metadata and engagement, profiles, timelines, and keyword search from Twitter / X.
The Twitter / X API from Captapi gives developers reliable access to public Twitter / X data without building or maintaining scrapers — send one authenticated request and get clean, structured JSON back.
curl "https://api.captapi.com/v1/twitter/tweet-details?url=https%3A%2F%2Fx.com%2FNASA%2Fstatus%2F1816004914774937656" \
-H "Authorization: Bearer capt_live_..."What is the Twitter / X API?
Pull tweet metadata and engagement, profiles, timelines, and keyword search from Twitter / X. Every endpoint is a single authenticated GET request that responds with predictable JSON, so the data drops straight into dashboards, AI pipelines, RAG systems, and no-code automations. AI agents can call the same endpoints as MCP tools via @captapi/mcp.
Endpoints
What you can do with the Twitter / X API
Tweet Details
GET /v1/twitter/tweet-details
Get full Twitter / X video metadata — title, views, likes, duration, and more.
1 credit
Transcript
GET /v1/twitter/transcript
Extract timestamped transcripts from any public Twitter / X video in a single request.
7 credits
Profile
GET /v1/twitter/profile
Fetch Twitter / X profile data — follower counts, bio, verification, and stats.
1 credit
User Tweets
GET /v1/twitter/user-tweets
Bulk-list Twitter / X content with full metadata for each item.
14 credits · billed per result
Search
GET /v1/twitter/search
Search Twitter / X programmatically and get structured, ranked results.
14 credits · billed per result
Community
GET /v1/twitter/community
Get full Twitter / X video metadata — title, views, likes, duration, and more.
1 credit
Community Tweets
GET /v1/twitter/community-tweets
Bulk-list Twitter / X content with full metadata for each item.
18 credits · billed per result
How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Call any endpoint above with
Authorization: Bearer capt_live_...and parse the JSON response. Repeat calls are served from cache for free.
Frequently asked questions
What is the Twitter / X API?+
The Twitter / X API is a REST API from Captapi that returns public Twitter / X data as clean, structured JSON. It covers 7 endpoints — Tweet Details, Transcript, Profile, User Tweets, Search, Community, and more — behind one Bearer API key, with no OAuth flow and no scrapers to build or maintain.
What data can I get from the Twitter / X API?+
Pull tweet metadata and engagement, profiles, timelines, and keyword search from Twitter / X. Each endpoint is a single GET request that responds with predictable JSON fields, so the data is ready for dashboards, AI pipelines, and automations.
Do I need a Twitter / X developer account or OAuth?+
No. You only need a Captapi key (capt_live_...), sent as an Authorization: Bearer header. The same key works across all 29 platforms Captapi supports. We handle proxies, rate limits, retries, and parsing for you.
How much does the Twitter / X API cost?+
Twitter / X endpoints cost between 1 and 18 credits per call, depending on the endpoint and how many results you request. New accounts start with 100 free credits (no credit card), and repeat calls are served from a 24-hour cache for 0 credits.
Can AI agents use the Twitter / X API?+
Yes. Every Twitter / X endpoint is exposed as a tool in the official MCP server (@captapi/mcp) for Claude, Cursor, and VS Code, and is also available through the @captapi/cli CLI, an n8n community node, a Make.com app, and an Apify Actor.
Is the Twitter / X API suitable for production use?+
Yes. It is a stable REST API with predictable JSON, automatic retries, upstream fallbacks, and a shared 24-hour cache. Only successful responses consume credits — failed or empty results are never charged.
Explore other platforms
Start using the Twitter / X API in sixty seconds
Sign up, grab your API key, and make your first request. 100 credits on the house — no credit card.