> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xquik.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tweet engagement API: velocity & reach on X

> Get a Twitter or X post's engagements per hour, per view, and per follower of its author, plus how far it spread and how much talk it drew. 1 credit per report.

<Panel>
  <Tabs defaultTabIndex={0} sync={false}>
    <Tab title="200" id="response-x-tweet-engagement-insights-200">
      ```json theme={null}
      {
        "insights": {
          "tweetId": "2102882545427714266",
          "authorId": "11348282",
          "authorUserName": "NASA",
          "createdAt": "2026-09-23T22:07:23.000Z",
          "ageHours": 133.88
        }
      }
      ```
    </Tab>

    <Tab title="400" id="response-x-tweet-engagement-insights-400">
      ```json theme={null}
      {
        "error": "invalid_input",
        "message": "Invalid input. Check the request body."
      }
      ```
    </Tab>

    <Tab title="401" id="response-x-tweet-engagement-insights-401">
      ```json theme={null}
      {
        "error": "unauthenticated",
        "message": "Authentication required."
      }
      ```
    </Tab>

    <Tab title="402" id="response-x-tweet-engagement-insights-402">
      ```json theme={null}
      {
        "error": "insufficient_credits",
        "message": "Insufficient credits. Top up or subscribe to continue."
      }
      ```
    </Tab>

    <Tab title="404" id="response-x-tweet-engagement-insights-404">
      ```json theme={null}
      {
        "error": "tweet_not_found",
        "message": "Tweet not found. Check the tweet ID."
      }
      ```
    </Tab>

    <Tab title="424" id="response-x-tweet-engagement-insights-424">
      ```json theme={null}
      {
        "error": "x_api_unavailable",
        "message": "X data source temporarily unavailable. Try again later."
      }
      ```
    </Tab>

    <Tab title="429" id="response-x-tweet-engagement-insights-429">
      ```json theme={null}
      {
        "error": "rate_limit_exceeded",
        "message": "Too many requests. Try again later.",
        "retryAfter": 60
      }
      ```
    </Tab>

    <Tab title="502" id="response-x-tweet-engagement-insights-502">
      ```json theme={null}
      {
        "error": "x_api_unavailable",
        "message": "X data source temporarily unavailable. Try again later."
      }
      ```
    </Tab>

    <Tab title="503" id="response-x-tweet-engagement-insights-503">
      ```json theme={null}
      {
        "error": "x_api_unavailable",
        "message": "Xquik is busy right now. Retry shortly."
      }
      ```
    </Tab>
  </Tabs>
</Panel>

<blockquote className="agent-llms-directive">
  For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
</blockquote>

<Callout icon="coins" color="#5c3327">
  **1 credit per report**, whatever it reads · A tweet X doesn't have is free · [All plans](https://xquik.com/#pricing) from \$0.00012/credit · Supports [guest paid reads](/guides/guest-wallets)
</Callout>

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://xquik.com/api/v1/x/tweets/2102882545427714266/insights" \
    -H "x-api-key: xq_your_api_key_here" | jq
  ```

  ```javascript Node.js theme={null}
  const response = await fetch("https://xquik.com/api/v1/x/tweets/2102882545427714266/insights", {
    headers: { "x-api-key": "xq_your_api_key_here" },
  });
  const body = await response.json();
  if (!response.ok) throw new Error(JSON.stringify(body));

  const { insights } = body;
  console.log(
    `${insights.engagementsPerHour} engagements an hour, ${insights.engagementPerView}% of views`,
  );
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://xquik.com/api/v1/x/tweets/2102882545427714266/insights",
      headers={"x-api-key": "xq_your_api_key_here"},
  )
  body = response.json()
  if not response.ok:
      raise RuntimeError(body)

  insights = body["insights"]
  print(f'{insights["engagementsPerHour"]} engagements an hour, {insights["engagementPerView"]}% of views')
  ```
</CodeGroup>

## How a tweet performs

Use `GET /x/tweets/{id}/insights` to see how fast a tweet draws engagement and how far it spreads. Name the tweet by ID
or URL.

Engagements are likes, replies, reposts, and quotes. `amplification` is reposts and quotes per like, and
`conversation` is replies per like. A rate is `null` when nothing divides it, such as a tweet without views.

## Path parameters

<ParamField path="id" type="string" required>
  Tweet ID or URL-encoded tweet URL, such as `x.com/nasa/status/20`. See [path IDs](/api-reference/overview#path-ids).
</ParamField>

## Headers

<ParamField header="x-api-key" type="string">
  Full account key. Sessions and OAuth also work.
</ParamField>

<ParamField header="Authorization" type="string">
  `Bearer xq_your_guest_key_here` for `paid_reads`.
</ParamField>

## Response

### 200 OK

<ResponseField name="insights" type="object">
  <ResponseField name="tweetId" type="string">
    ID of the tweet.
  </ResponseField>

  <ResponseField name="authorId" type="string | null">
    ID of the author.
  </ResponseField>

  <ResponseField name="authorUserName" type="string | null">
    Username of the author.
  </ResponseField>

  <ResponseField name="createdAt" type="string | null">
    When the tweet went up.
  </ResponseField>

  <ResponseField name="ageHours" type="number | null">
    Hours since the tweet went up.
  </ResponseField>

  <ResponseField name="metrics" type="object">
    Likes, replies, reposts, quotes, bookmarks, and views.
  </ResponseField>

  <ResponseField name="engagements" type="number">
    Likes, replies, reposts, and quotes.
  </ResponseField>

  <ResponseField name="engagementsPerHour" type="number | null">
    Engagements per hour since the tweet went up.
  </ResponseField>

  <ResponseField name="engagementPerView" type="number | null">
    Engagements as a percent of views.
  </ResponseField>

  <ResponseField name="engagementRate" type="number | null">
    Engagements as a percent of the author's followers.
  </ResponseField>

  <ResponseField name="amplification" type="number | null">
    Reposts and quotes per like.
  </ResponseField>

  <ResponseField name="conversation" type="number | null">
    Replies per like.
  </ResponseField>
</ResponseField>

### 400 Invalid input

```json theme={null}
{ "error": "invalid_tweet_id" }
```

Send a tweet ID or a tweet URL.

### 404 Tweet not found

```json theme={null}
{ "error": "tweet_not_found" }
```

A tweet X doesn't have is free.

### 401 Unauthenticated

Anonymous requests get `WWW-Authenticate: Bearer` and a guest wallet checkout action. This is not a Payment challenge.

```json theme={null}
{ "error": "unauthenticated" }
```

### 402 Payment required

Account keys get account options. Guest keys get guest top-up only.
No checkout starts automatically. Confirm any payment action.

### 502 X API unavailable

```json theme={null}
{ "error": "x_api_unavailable" }
```

The read service returned an error. Retry after a short delay.

<Note>
  **Related.** [User engagement insights](/api-reference/x/user-engagement-insights) · [Get tweet](/api-reference/x/get-tweet) · [Viral score](/api-reference/x/viral-score)
</Note>

<div className="related-api-links">
  <Accordion title="Related tweet, reply & media APIs" icon="link">
    * Tweets: [Get tweet](/api-reference/x/get-tweet) · [Tweet insights](/api-reference/x/tweet-engagement-insights) · [Batch tweets](/api-reference/x/batch-tweets) · [Tweet thread](/api-reference/x/tweet-thread) · [Hidden replies](/api-reference/x/tweet-hidden-replies) · [Translate tweet](/api-reference/x/tweet-translation) · [Embed tweet](/api-reference/x/tweet-embed) · [Resolve links](/api-reference/x/resolve-links) · [Tweet subtitles](/api-reference/x/tweet-subtitles) · [X Article](/api-reference/x/get-article)
    * Analysis: [Sentiment analysis](/api-reference/x/sentiment-analysis) · [Brand mentions](/api-reference/x/brand-monitoring) · [News classification](/api-reference/x/news-classification) · [Market signals](/api-reference/x/market-signals) · [Viral score](/api-reference/x/viral-score) · [Classify posts](/api-reference/x/classify-tweets)
    * Engagement: [Tweet replies](/api-reference/x/tweet-replies) · [Quote tweets](/api-reference/x/tweet-quotes) · [Likers](/api-reference/x/favoriters) · [Reposters](/api-reference/x/retweeters) · [Reposter IDs](/api-reference/x/retweeter-ids) · [Check repost](/api-reference/x/tweet-repost-check)
    * Profiles: [User tweets](/api-reference/x/user-tweets) · [Batch user tweets](/api-reference/x/batch-user-tweets) · [User replies](/api-reference/x/user-replies) · [User likes](/api-reference/x/user-likes) · [User media](/api-reference/x/user-media) · [User highlights](/api-reference/x/user-highlights) · [User articles](/api-reference/x/user-articles)
    * Feeds: [List tweets](/api-reference/x/list-tweets) · [Trends](/api-reference/x/trends) · [Top tweets](/api-reference/x/top-tweets) · [Trend locations](/api-reference/x/trend-locations) · [Search Spaces](/api-reference/x/search-spaces) · [Get Space](/api-reference/x/get-space) · [Space replay](/api-reference/x/space-replay) · [Get broadcast](/api-reference/x/get-broadcast) · [User live status](/api-reference/x/user-live-status) · [Hashflags](/api-reference/x/hashflags) · [Search places](/api-reference/x/search-places) · [Download media](/api-reference/x/download-media)
  </Accordion>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.