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 nine 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
Profile, single tweet, transcript, and community lookups are 1 credit. Timeline, search, hashtag, and reply-thread pages are 2 credits each. 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
Keyword search
`GET /v1/twitter/search` — keyword posts with 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