X API
X's official API: look up users and posts, search public posts back to 2006 and stream matches, paid per resource returned.
API · Paid · Social media intelligence · developer.x.com
- Takes
- Username · Name · URL
- Pricing
- Paid
- Footprint
- Passive · no contact with target
- Account
- Needed for full results
- API
- Yes
- Last verified
- Nov 29, 2026
X's official API: look up users and posts, search public posts back to 2006 and stream matches, paid per resource returned. It takes username, name and URL. Read the cons before you build a workflow on it.
What it does
The X API is the official programmatic interface to X, formerly Twitter. Its v2 REST endpoints return posts, user profiles, timelines, followers, lists, Spaces and trends by location. Recent search covers the last 7 days, full-archive search goes back to 2006, and the filtered stream delivers posts that match up to 1,000 rules in near real time.
Investigators use it to pull an account's profile and timeline, search posts with operators such as from:, to:, url: and lang:, and follow a topic as it develops. You sign in to the Developer Console with an X account, accept the developer agreement, create an app and use its Bearer Token for app-only reads of public data. The current docs describe no free tier: pricing is pay-per-usage, with credits bought upfront and charged per post or user returned, deduplicated within a 24-hour UTC day. Pay-per-usage accounts are capped at 3 million post reads per monthly billing cycle; more needs an Enterprise plan.
Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is an API.
- +The official source, with the whole public archive searchable
- +Search operators for users, keywords, links, language and media
- +No subscription or minimum spend
- +Per-endpoint rate limits are published
- −No free tier: every post or user read is charged from prepaid credits
- −Pay-per-usage is capped at 3 million post reads a month; more needs Enterprise
- −Needs an X account and a developer app
When to use it
- 01Use it when you need an account's posts or profile as structured data straight from X.
- 02Use it when you want to search the full public archive for a keyword, link or account.
- 03Use it when you need to follow a topic in near real time with filter rules.
Next steps from this result
Suggested from the inputs X API takes- Found a resultConfirm it with a second, independent source before you record it
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
Docs (opens in new tab)- 01Open X API and sign in.
- 02Paste the username and run the lookup.
- 03Record the result with the date and the exact query; results change over time.
X API API
- Bearer token
- 2 endpoints documented
Every endpoint with its parameters, example responses, requests in cURL, Python, JavaScript and Go, and Try it with your own key.
Read the API referenceTechnical details
Listing verified by an editor on Nov 29, 2026- API
- Yes, see the vendor docs for auth and limits
- Account
- Needed for full results
- Footprint
- Passive · no contact with target
- Pricing
- Paid · Pay-per-usage: prepaid credits charged per post or user returned; no free tier described; Enterprise plans for higher volume
- Platforms
- API
- Listed
- Nov 29
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used X API? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to X API
Listed tools that take the same inputs, closest match first.
- DataXAPIPaid · Passive · account · APIWhat it does
Pay-per-call API for public posts, profiles, comments and ad library data on 21 platforms, including Douyin, WeChat and Weibo.
NameUsernameURLNo ratings yetVerified today - GetYouTubeTranscript MCPFreemium · Passive · account · APIWhat it does
Hosted MCP server for YouTube transcripts, video details, comments, channel uploads, playlists and community posts.
URLUsernameNameNo ratings yetVerified 4d ago - Jev SocialOpen source · Active · accountWhat it does
Open-source AI research agent that browses Instagram, TikTok and LinkedIn in your own Chrome and writes source-cited reports.
UsernameURLNameNo ratings yetVerified 3d ago

