GET/x/post/{id}apiKey8 credits/request
Returns a public X post by numeric post id, including author, text, visible metrics, and a quoted post preview when present.
Required: id. Optional: username.
Sampled 14 Oct 2026: 20 fields returned with a value. In the sample: created_at: 2026-06-28; metrics.replies: 12; url: x.com; author.is_blue_verified: true; text: 461 characters; author.url: x.com; author.avatar_url: pbs.twimg.com; metrics.reposts: 4.
Open in Playground
GET/x/profile/{username}apiKey8 credits/request
Returns the public profile of an X account by `username`, with or without a leading `@`: name, description, location, avatar and banner images, creation date, verification flags, and `metrics` for followers, following, posts, likes, listed and media. `verified_type` and `affiliate_label` appear only when the account has them. Returns 404 when the profile is not public.
Required: username.
Sampled 14 Oct 2026: 15 fields returned with a value. In the sample: created_at: 2015-12-06; metrics.followers: 5,430,397; url: x.com; is_blue_verified: true; description: 130 characters; avatar_url: pbs.twimg.com; banner_url: pbs.twimg.com; external_url: openai.com.
Open in Playground
GET/x/profile/{username}/postsapiKey8 credits/request
Returns posts present in the first public profile page payload for an X username. The endpoint does not paginate replies, media-only tabs, or search results.
Required: username. Optional: limit.
Sampled 14 Oct 2026: 5 items. Filled in every item: id, url, text, created_at, author, metrics. In the sample: created_at: 2026-09-30 to 2026-10-07; url: x.com; text: median 639 characters.
Open in Playground