Skip to Content
Documentation

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.

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: