Twitter / X

Twitter/X Tweet Details API

One tweet as JSON — text, author (followers), likes/replies/retweets/quotes, media, ISO publishedAt.

Paste a tweet URL and get clean JSON using the same tweet contract as User Tweets and Community Tweets: text, language, ISO-8601 publishedAt, author (username, displayName, verified, avatar, followers when exposed), engagement{likes,replies,retweets,quotes} plus views/bookmarks when GraphQL exposes them (omitted, not nulled, when it does not), isReply / isRetweet / isQuote, hashtags[], and media[]. Guest GraphQL TweetResultByRestId fills views/bookmarks when available; otherwise we hydrate retweets/quotes/followers from the popular timeline / profile. Flat 1 credit per call.

Docs: https://captapi.com/apis/twitter-tweet-details

get/v1/twitter/tweet-details

Request

  • Base URL: https://api.captapi.com
  • URL: https://api.captapi.com/v1/twitter/tweet-details
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Query parameters

urlstring required

Public tweet URL, e.g. https://x.com/user/status/ID. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.

cacheboolean

Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Response

Success. The data object for this endpoint.

successunknown required

Changes

No recorded changes to this operation across all 3 revisions of this API.