# Single tweet

`GET https://api.twittrapi.com/simpletweet/{tweetId}`

One tweet by ID, without the reply thread. Smaller than /tweet/{tweetId}.

HTML page: https://www.twittrapi.com/docs/reference/simpletweet-tweetid

## Parameters

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| `tweetId` | path | string | yes |  | Numeric tweet ID (digits only, up to 30), the number at the end of the tweet URL. |

Every read endpoint also accepts `format=simple` (or the header `X-Response-Format: simple`) for compact, flat JSON with a fixed schema. Same price.

## Response

Raw JSON of X's TweetResultByRestId query (data.tweetResult.result).

With `format=simple`: {data: Tweet}, or {data: {id, unavailable: true}} when X does not return the tweet.

## Errors

| Status | When |
| --- | --- |
| 422 | tweetId is not numeric. |
| 404 | X reports the tweet as not found. |

Shared errors (401 missing key, 402 no balance, 429 rate limit, 5xx) are listed on https://www.twittrapi.com/docs/helpful-infos/error-handling. Calls that fail with 400, 408, 409 or a 5xx error are refunded.

## Example request

curl:

```bash
curl 'https://api.twittrapi.com/simpletweet/20' \
  --header 'X-API-KEY: YOUR_API_KEY'
```

Python:

```python
import httpx

# No SDK method for this endpoint yet, so this is a plain HTTP call.
resp = httpx.get(
    "https://api.twittrapi.com/simpletweet/20",
    headers={"X-API-KEY": "YOUR_API_KEY"},
    timeout=60,
)
data = resp.json()
```

Node.js:

```js
import { TwittrAPI } from "twittrapi";

const client = new TwittrAPI({ apiKey: process.env.TWITTRAPI_API_KEY });
// No wrapper method for this endpoint yet; client.get() sends the same authenticated GET.
const data = await client.get({
  path: "/simpletweet/20",
});
```

RapidAPI:

```bash
curl 'https://twitter-aio.p.rapidapi.com/simpletweet/20' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
  --header 'x-rapidapi-host: twitter-aio.p.rapidapi.com'
```

## Example response

Shortened: arrays keep their first items and long strings are cut.

Raw (default):

```json
{
  "data": {
    "tweetResult": {
      "result": {
        "__typename": "Tweet",
        "card": {
          "legacy": {
            "binding_values": [
              {
                "key": "photo_image_full_size_large",
                "value": {
                  "image_value": {
                    "height": 419,
                    "url": "https://pbs.twimg.com/card_img/2107952823128182784/RyT0hE6P?format=jpg&name=800x419",
                    "width": 800
                  },
                  "type": "IMAGE"
                }
              },
              "… 2 more"
            ],
            "card_platform": {
              "platform": {
                "audience": {
                  "name": "production"
                },
                "device": {
                  "name": "Swift",
                  "version": "12"
                }
              }
            },
            "name": "summary_large_image",
            "url": "https://t.co/FS66GuIYJD",
            "user_refs_results": []
          },
          "rest_id": "https://t.co/FS66GuIYJD"
        },
        "core": {
          "user_results": {
            "result": {
              "__typename": "User",
              "affiliates_highlighted_label": {
                "label": {
                  "badge": {
                    "url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
                  },
                  "description": "X",
                  "url": {
                    "url": "https://twitter.com/X",
                    "urlType": "DeepLink"
                  },
                  "userLabelDisplayType": "Badge",
                  "userLabelType": "BusinessLabel"
                }
              },
              "has_graduated_access": true,
              "id": "VXNlcjoyMjQ0OTk0OTQ1",
              "is_blue_verified": true,
              "legacy": {
                "blocked_by": false,
                "blocking": false,
                "can_dm": true,
                "can_media_tag": true,
                "created_at": "Sat Dec 14 04:35:55 +0000 2013",
                "default_profile": false,
                "default_profile_image": false,
                "description": "The voice of the X Dev team and your official source for updates, news, and events, related to the X API.",
                "entities": {
                  "description": {},
                  "url": {
                    "urls": [
                      {
                        "display_url": "docs.x.com",
                        "expanded_url": "https://docs.x.com/",
                        "indices": [
                          0,
                          23
                        ],
                        "url": "https://t.co/NIwHVIVyrN"
                      }
                    ]
                  }
                },
                "fast_followers_count": 0,
                "favourites_count": 2758,
                "follow_request_sent": false,
                "followed_by": false,
                "followers_count": 698074,
                "following": false,
… (108 more lines)
```

Simple (`format=simple`):

```json
{
  "data": {
    "id": "2019881223666233717",
    "url": "https://x.com/XDevelopers/status/2019881223666233717",
    "text": "Officially launching X API Pay-Per-Use\n\nThe core of X developers are indie builders, early stage products, startups, and hobbyists\n\nIt’s time to open up our X API ecosystem and instill a new wave of n…",
    "createdAt": "2026-02-06T21:09:45Z",
    "lang": "en",
    "author": {
      "id": "2244994945",
      "username": "XDevelopers",
      "name": "Developers",
      "description": "The voice of the X Dev team and your official source for updates, news, and events, related to the X API.",
      "location": "127.0.0.1",
      "url": "https://docs.x.com/",
      "createdAt": "2013-12-14T04:35:55Z",
      "avatarUrl": "https://pbs.twimg.com/profile_images/1683501992314798080/xl1POYLw.jpg",
      "bannerUrl": "https://pbs.twimg.com/profile_banners/2244994945/1690213128",
      "verified": true,
      "verifiedType": "Business",
      "protected": false,
      "counts": {
        "followers": 698074,
        "following": 770,
        "tweets": 4376,
        "likes": 2758,
        "media": 832,
        "listed": 2977
      },
      "pinnedTweetIds": [
        "2019881223666233717"
      ],
      "isAutomated": false
    },
    "counts": {
      "likes": 5599,
      "retweets": 896,
      "replies": 791,
      "quotes": 596,
      "bookmarks": 2803,
      "views": 2552260
    },
    "media": [],
    "urls": [
      "http://developer.x.com"
    ],
    "hashtags": [],
    "mentions": [],
    "replyTo": null,
    "quoted": null,
    "retweetOf": null,
    "conversationId": "2019881223666233717",
    "isPinned": false,
    "source": null,
    "article": null
  }
}
```
