Twitter Tweet Detail
https://api.sandbase.ai/v1/api/twitter/web/tweet-detailGet a single tweet (X post) by ID: full text, author, media, and like, retweet, reply, quote, bookmark and view counts.
- Price
- $0.0015USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 0 optional
Try the model
Playground
[
{
"data": {
"author": {
"blue_verified": true,
"image": "https://pbs.twimg.com/profile_images/2053244804520427520/m8mdWZCG_normal.jpg",
"name": "Elon Musk",
"rest_id": "44196397",
"screen_name": "elonmusk",
"sub_count": 241421603,
"verification": null
},
"bookmarks": 6630,
"conversation_control": {
"policy": null
},
"conversation_id": "1808168603721650364",
"created_at": "Tue Jul 02 15:59:23 +0000 2024",
"display_text": "The New York Times is attacking *your* freedom of speech!",
"entities": {
"hashtags": [],
"media": [
{
"display_url": "pic.x.com/TRIa13TWdY",
"expanded_url": "https://x.com/elonmusk/status/1808168603721650364/photo/1",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"orig": {
"faces": []
},
"small": {
"faces": []
}
},
"id_str": "1808168600894689280",
"indices": [
58,
81
],
"media_key": "3_1808168600894689280",
"media_results": {
"result": {
"media_key": "3_1808168600894689280"
}
},
"media_url_https": "https://pbs.twimg.com/media/GRfnwy5X0AAwIK2.jpg",
"original_info": {
"focus_rects": [
{
"h": 355,
"w": 634,
"x": 20,
"y": 0
},
{
"h": 355,
"w": 355,
"x": 160,
"y": 0
},
{
"h": 355,
"w": 311,
"x": 182,
"y": 0
},
{
"h": 355,
"w": 178,
"x": 248,
"y": 0
},
{
"h": 355,
"w": 712,
"x": 0,
"y": 0
}
],
"height": 355,
"width": 712
},
"sizes": {
"large": {
"h": 355,
"resize": "fit",
"w": 712
},
"medium": {
"h": 355,
"resize": "fit",
"w": 712
},
"small": {
"h": 339,
"resize": "fit",
"w": 680
},
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
}
},
"type": "photo",
"url": "https://t.co/TRIa13TWdY"
}
],
"symbols": [],
"timestamps": [],
"urls": [],
"user_mentions": []
},
"id": "1808168603721650364",
"in_reply_to_screen_name": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id_str": null,
"initial_tweets": null,
"lang": "en",
"likes": 284243,
"media": {
"photo": [
{
"id": "1808168600894689280",
"media_url_https": "https://pbs.twimg.com/media/GRfnwy5X0AAwIK2.jpg"
}
]
},
"quotes": 3901,
"replies": 19281,
"reply_to": null,
"retweets": 52539,
"sensitive": false,
"status": "active",
"text": "The New York Times is attacking *your* freedom of speech! https://t.co/TRIa13TWdY",
"views": "53720642"
}
}
]Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0015 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- tweet_id
- string · required
Access
- Provider
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/twitter/web/tweet-detail
- Authentication
- Bearer API key
API README
Tweet Detail API
Pass a tweet ID and get the full post as JSON, including author details, media attachments and engagement metrics.
Use cases
- Track engagement on specific posts over time.
- Enrich tweet IDs from search results with full details.
- Archive posts referenced in reports.
Request
curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/tweet-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tweet_id": "1808168603721650364"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
tweet_id | string | Yes | Tweet ID, can be obtained from the tweet link. |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"id": "1808168603721650364",
"created_at": "Tue Jul 02 15:59:23 +0000 2024",
"lang": "en",
"likes": 282804,
"retweets": 52252,
"replies": 18666,
"quotes": 3899,
"bookmarks": 6568,
"views": "53721665",
"text": "<tweet text>",
"author": {
"screen_name": "<user>",
"rest_id": "<user id>"
},
"media": [
"…"
]
}
Notes
- The tweet ID is the number after
/status/in the post URL.
Related APIs
- Twitter (X) Search: Search Twitter / X posts by keyword and get tweets with text, author, time and engagement counts (likes, retweets, replies, views).
- Twitter (X) Trending Topics: Get trending topics on Twitter / X by country: trend names with their category context, for the United States, Japan, India, the UK and other markets.
- Twitter (X) User Profile: Get a Twitter / X user profile by screen name or user ID: name, bio, follower and following counts, post and media counts, verification and creation date.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/twitter/web/tweet-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"tweet_id": "1808168603721650364"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Twitter Tweet DetailThis API Twitter | $0.0015 per call | JSON | Jul 31, 2026 |
Twitter | $0.0015 per call | JSON | Jul 31, 2026 |
Twitter | $0.0015 per call | JSON | Jul 31, 2026 |
Twitter | $0.0015 per call | JSON | Jul 31, 2026 |
Twitter | $0.0015 per call | JSON | Jul 31, 2026 |
Twitter | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Twitter Tweet Detail API?
Send a POST request to https://api.sandbase.ai/v1/api/twitter/web/tweet-detail with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Twitter Tweet Detail API cost?
$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Twitter Tweet Detail API accept?
Required: tweet_id (string). The Parameters table and the Playground on this page list every field.
What does the Twitter Tweet Detail API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Twitter developer account or API key?
No. Twitter Tweet Detail runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Twitter API access separately.
