---
title: "Twitter/X Tweet Details API"
method: GET
path: "/v1/twitter/tweet-details"
tags: ["Twitter / X"]
---

# Twitter/X Tweet Details API

`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`

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

## Query parameters

- `url` string, required
- `cache` boolean

## Response `200`

Success. The data object for this endpoint.

- object
  - `success` unknown, required
  - `data` object, required
    - `platform` string: Platform identifier for this response (matches the endpoint's platform).
    - `url` string: Canonical URL of the item.
    - `id` string: Stable platform ID for the item.
    - `text` string: Text content.
    - `lang` string: Language code of the content.
    - `publishedAt` string: Tweet publish time as ISO-8601 UTC.
    - `author` object
      - `id` string: Id of this author item.
      - `username` string: Account username / handle.
      - `displayName` string: Display name of the account. Canonical across profile endpoints (prefer over name).
      - `url` string: Canonical URL of the item.
      - `followers` integer: Follower count.
      - `verified` boolean: Whether the account is verified on this platform.
      - `profileImage` string: Profile image URL. Deprecated alias of avatar on Instagram/Twitter/Threads/TikTok profile endpoints (one release).
    - `isReply` boolean: Whether the tweet is a reply.
    - `isRetweet` boolean: Whether the tweet is a retweet.
    - `possiblySensitive` boolean: Possibly sensitive. Example: false.
    - `conversationId` string: Conversation id. Example: "2078224758781751775".
    - `engagement` object
      - `views` unknown
      - `likes` integer: Like count (number).
      - `replies` integer: Number of replies.
      - `retweets` integer: Retweet count.
      - `quotes` integer: Quote count.
      - `bookmarks` unknown
    - `hashtags` unknown[]: Hashtag texts without #. Always an array (empty when none).
      - unknown
    - `media` string[]: Media attached to the item.

## Other responses

- `400`: Bad request: wrong platform URL, unknown endpoint, or an invalid parameter value. Not billed.
- `401`: Missing, invalid or revoked API key. Not billed.
- `402`: Not enough credits for this request. Not billed.
- `404`: The resource does not exist or is not public. Not billed.
- `422`: A required parameter is missing or has the wrong type. Not billed.
- `429`: Rate limit reached. Wait for Retry-After seconds. Not billed.
- `502`: The platform could not be reached or returned nothing usable. Retryable, not billed. 503 and 504 use the same envelope.

---

[API](https://skmtc.dev/captapi/apis/captapi-api.md) · [All operations](https://skmtc.dev/captapi/apis/captapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/captapi/apis/captapi-api/revisions/c9b9ac5ff1bd?raw)
