Twitter (X) API
Public X (formerly Twitter) profiles, posts, replies, followers and search with stable schemas.
Product overview and use cases
Endpoints
Each page carries the full contract — parameters, response fields, errors — with request samples in six languages and a console that sends real requests.
- GET
/v1/twitter/userGet a profile · Twitter User API10 points - GET
/v1/twitter/user/tweetsGet an account’s posts · Twitter User Tweets API10 points - GET
/v1/twitter/tweetGet a post · Twitter Tweet API10 points - GET
/v1/twitter/tweet/repliesGet a post’s replies · Twitter Replies API10 points - GET
/v1/twitter/searchSearch posts · Twitter Search API15 points - GET
/v1/twitter/user/followersGet an account’s followers · Twitter Followers API10 points - GET
/v1/twitter/user/followingGet the accounts an account follows · Twitter Following API10 points
Base URL and OpenAPI
Every endpoint lives under https://api.endpointry.com/v1/twitter and takes the same bearer key. The schemas on these pages are the ones the gateway enforces on every response, and they are published as an OpenAPI 3 document for client generators: /v1/twitter/openapi.json for this API, or /v1/openapi.json for the whole catalog.
Conventions
What holds for every endpoint is documented once:
- Authentication — One bearer key for every API.
- Responses — Every success is { meta, data }.
- Errors — RFC 9457 problem+json with stable codes.
- Pagination — Lists page through meta.pagination.
- Rate limits and points — What a call spends and when.