X (Twitter) API reference
Public X / Twitter profiles, tweets, replies, search, and communities over REST — one API key, no X developer app.
Social Fetch's Twitter tag is a set of GET /v1/twitter/... routes. Pass a handle, tweet URL, or search query and get { data, meta } with data.lookupStatus, meta.requestId, and meta.creditsCharged. Authenticate with x-api-key only — no X developer account, app approval, or OAuth.
These pages are generated from the public OpenAPI spec. Product overview and credit notes also live on the X (Twitter) platform hub. Official vs public-data cost: Twitter / X API pricing.
Credits
Every Twitter route is 1 credit per request: profile, tweet, transcript, and community lookups, plus each timeline, search, hashtag, or reply-thread page. Trust meta.creditsCharged — it is the source of truth.
Profiles and tweets
Twitter profile
`GET /v1/twitter/profiles/{handle}` — public profile and metrics.
Profile tweets
`GET /v1/twitter/profiles/{handle}/tweets` — paginated timeline.
Single tweet
`GET /v1/twitter/tweets` — one post by permalink or id.
Tweet replies
`GET /v1/twitter/tweets/replies` — reply thread, cursor-paged.
Tweet transcript
`GET /v1/twitter/tweets/transcript` — spoken text on video tweets.
Search and communities
Search
`GET /v1/twitter/search` — operators in query, plus section tabs.
Hashtag search
`GET /v1/twitter/hashtags` — hashtag-led discovery.
Community
`GET /v1/twitter/communities` — community metadata by permalink.
Community tweets
`GET /v1/twitter/communities/tweets` — paged community feed.
Related
- X (Twitter) platform hub — coverage, FAQs, and credit notes
- Twitter / X API pricing
- Twitter search API
- API reference — all platforms