Tweets Endpoints
Batch Get Tweets by ID
Retrieve detailed information for multiple Tweets by their IDs. The maximum input quantity is limited by your plan's QPS. To pass larger input quantity limits, upgrade your plan to get higher QPS.
post/twitter/tweets/lookup
Request
- Base URL: https://api.twexapi.io
- URL: https://api.twexapi.io/twitter/tweets/lookup
- Auth: HTTP bearer
Request body
string[] required
A list of Twitter tweet IDs. Provide multiple times for multiple tweets (e.g., [2104354931595423762,2108826911359050211]).
Example request
[ "2104354931595423762", "2108826911359050211" ]
Response
A list of Tweet objects.
Example response
{
"data": [
{
"tweet_id": "2104354931595423762",
"is_paid_promotion": true,
"created_at": "Mon Jun 17 03:51:48 +0000 2024",
"created_at_datetime": "2024-06-17T03:51:48.000Z",
"hashtags": [
"AI",
"Python"
],
"cashtags": [
"$TSLA"
],
"lang": "en",
"media": [
{
"id": "1802991873836883968",
"type": "photo",
"display_url": "pic.twitter.com/...",
"height": 1080,
"width": 1920,
"aspect_ratio": [
16,
9
],
"streams": [
{
"url": "https://video.twimg.com/...",
"bitrate": 832000,
"content_type": "video/mp4"
}
]
}
],
"user": {
"id": "1717001045992251392",
"name": "Cryptoklepto",
"screen_name": "CK_Cryptoklepto",
"created_at": "Mon Oct 28 02:32:47 +0000 2024",
"created_at_datetime": "2024-10-28T02:32:47.000Z",
"urls": [
{
"url": "https://www.google.com",
"expanded_url": "https://www.google.com",
"display_url": "www.google.com"
}
],
"verified_type": "government",
"profile_image_shape": "Circle",
"location": "New York, USA"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.