tweet_idstring必填
Tweet ID
https://api.sandbase.ai/v1/api/twitter/web/post-commentsReturns comment threads and replies under a specified tweet. Provide a tweet ID and paginate through conversations using cursor values.
[
{
"data": {
"author": {
"blue_verified": true,
"description": null,
"image": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
"name": "NASA",
"rest_id": "11348282",
"screen_name": "NASA",
"sub_count": null
},
"bookmarks": 138,
"conversation_id": "2107237881668313108",
"created_at": "Mon Oct 05 22:33:56 +0000 2026",
"cursor": "DAAKCgABHT8rqjV__m0LAAIAAAGoRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUNVZFBuUkRISmN3SmgwK2RjdzNtc0g2SFQ3ZmE3V2FBZWNkUHdtYzFCdkErUjArYlk0cDJwQkpIVDZPMEZ0YlFPWWRQcVUyb1Zvd3loMCtyVS8yVnhCa0hUOG1lOGhhc1RnZFBuVEw5dGF3R1IwK2FtL2JXMEFGSFQ1M1RWV2JzRGdkUG1wVVhwZFJvUjAraUtDRDJqRitIVDV4VmxTWGtDa2RQd0t4Qjl1Z2ZoMC9IenR0MTdDaUhUNXhvZ25iWWJzZFBuWEZCaHJ4a3gwK2RMaWNtekJiSFQ1cnBDS2JJVDBkUHRXZmhKc1IreDArZlkxdlcxRy9IVDUwWEhoYllOQWRQeEFXMHhkQkp4MCs4YUovMjRBd0hUNzJDZkliVUFvZFBucVpNdHJSSUIwK2hwTEZWaEYySFQ3WnZGdVhjWGdkUG01ejVCWXlBQjArYWJCU0ZpQVVIVDZRRS9CYUVmSWRQbkhDQVZjZ2Z4MCtlTTRGR3pITEhUN1IrMzNXQURNZFB5VjFQcFpSUlE9PQgAAwAA…",
"display_text": "Time to bring them home 🌎\n\nAfter nearly eight months aboard the @Space_Station, the four members of Crew-12 will soon head back to Earth. We’re targeting no earlier than 8:05am EDT (1205 UTC), on Wednesday, Oct. 7, for the undocking of the @SpaceX Dragon spacecraft. Details:",
"entities": {
"media": [
{
"allow_download_status": {
"allow_download": true
},
"display_url": "pic.x.com/Vu7At4nnQ3",
"expanded_url": "https://x.com/NASA/status/2107237881668313108/photo/1",
"ext_alt_text": "Inside the International Space Station NASA’s SpaceX Crew-12 members gather for a portrait in the pressure suits. From left, Roscosmos cosmonaut Andrey Fedyaev, NASA astronauts Jack Hathaway and Jessica Meir, and ESA (European Space Agency) astronaut Sophie Adenot. ",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": [
{
"h": 96,
"w": 96,
"x": 44,
"y": 238
},
{
"h": 148,
"w": 148,
"x": 1646,
"y": 218
},
{
"h": 172,
"w": 172,
"x": 1282,
"y": 284
},
"… 2 more items in the full response"
]
},
"medium": {
"faces": [
{
"h": 56,
"w": 56,
"x": 25,
"y": 139
},
{
"h": 86,
"w": 86,
"x": 964,
"y": 127
},
{
"h": 100,
"w": 100,
"x": 751,
"y": 166
},
"… 2 more items in the full response"
]
},
"orig": {
"faces": [
{
"h": 96,
"w": 96,
"x": 44,
"y": 238
},
{
"h": 148,
"w": 148,
"x": 1646,
"y": 218
},
{
"h": 172,
"w": 172,
"x": 1282,
"y": 284
},
"… 2 more items in the full response"
]
},
"small": {
"faces": [
{
"h": 31,
"w": 31,
"x": 14,
"y": 79
},
{
"h": 49,
"w": 49,
"x": 546,
"y": 72
},
{
"h": 57,
"w": 57,
"x": 425,
"y": 94
},
"… 2 more items in the full response"
]
}
},
"id_str": "2107237609105768448",
"indices": [
276,
299
],
"media_key": "3_2107237609105768448",
"media_results": {
"result": {
"media_key": "3_2107237609105768448"
}
},
"media_url_https": "https://pbs.twimg.com/media/HT5pcNwXwAAKdoM.jpg",
"original_info": {
"focus_rects": [
{
"h": 1147,
"w": 2048,
"x": 0,
"y": 0
},
{
"h": 1365,
"w": 1365,
"x": 290,
"y": 0
},
{
"h": 1365,
"w": 1197,
"x": 374,
"y": 0
},
"… 2 more items in the full response"
],
"height": 1365,
"width": 2048
},
"sizes": {
"large": {
"h": 1365,
"resize": "fit",
"w": 2048
},
"medium": {
"h": 800,
"resize": "fit",
"w": 1200
},
"small": {
"h": 453,
"resize": "fit",
"w": 680
},
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
}
},
"type": "photo",
"url": "https://t.co/Vu7At4nnQ3"
}
],
"user_mentions": [
{
"id_str": "1451773004",
"indices": [
64,
78
],
"name": "International Space Station",
"screen_name": "Space_Station"
},
{
"id_str": "34743251",
"indices": [
240,
247
],
"name": "SpaceX",
"screen_name": "SpaceX"
}
]
},
"id": "2107237881668313108",
"initial_tweets": null,
"lang": "en",
"likes": 5359,
"media": null,
"quotes": 46,
"replies": 191,
"retweets": 639,
"sensitive": false,
"source": null,
"status": "active",
"text": "Time to bring them home 🌎\n\nAfter nearly eight months aboard the @Space_Station, the four members of Crew-12 will soon head back to Earth. We’re targeting no earlier than 8:05am EDT (1205 UTC), on Wednesday, Oct. 7, for the undocking of the @SpaceX Dragon spacecraft. Details: https://t.co/PPq8gNyI1G",
"thread": [
{
"author": {
"blue_verified": true,
"can_dm": null,
"description": null,
"image": "https://pbs.twimg.com/profile_images/1885717198993330176/aad7Cj18_normal.jpg",
"name": "SavingPrivateBryan",
"rest_id": "1865856717839339520",
"screen_name": "SavingB14426",
"sub_count": null
},
"bookmarks": 0,
"conversation_id": "2107237881668313108",
"created_at": "Tue Oct 06 00:40:08 +0000 2026",
"display_text": ".@grok what’s the most important thing that’s ever been discovered on the ISS?",
"entities": {
"user_mentions": [
{
"id_str": "11348282",
"indices": [
0,
5
],
"name": "NASA",
"screen_name": "NASA"
},
{
"id_str": "1451773004",
"indices": [
6,
20
],
"name": "International Space Station",
"screen_name": "Space_Station"
},
{
"id_str": "34743251",
"indices": [
21,
28
],
"name": "SpaceX",
"screen_name": "SpaceX"
},
"… 1 more items in the full response"
]
},
"id": "2107269640590070134",
"lang": "en",
"likes": 1,
"media": [],
"quotes": 0,
"replies": 1,
"retweets": 0,
"sensitive": null,
"status": "active",
"text": "@NASA @Space_Station @SpaceX .@grok what’s the most important thing that’s ever been discovered on the ISS?",
"views": "795"
},
{
"author": {
"blue_verified": true,
"can_dm": null,
"description": null,
"image": "https://pbs.twimg.com/profile_images/1621269649814863873/9CWPweZv_normal.jpg",
"name": "Scot Finlayson",
"rest_id": "2579289968",
"screen_name": "ScotFinlayson",
"sub_count": null
},
"bookmarks": 1,
"conversation_id": "2107237881668313108",
"created_at": "Tue Oct 06 08:27:53 +0000 2026",
"display_text": "Need to build a Space Lift/Elevator,\nno need for rockets and reentry,\nyou could move into space and back down 365 days of the year,",
"entities": {
"media": [
{
"allow_download_status": {
"allow_download": true
},选择一个示例,将其输入和结果加载到 playground 中。
Returns the replies under one tweet, plus the parent tweet's own details and engagement counts. The only required input is a tweet_id. Pass the cursor value from the last response to get the next page of replies.
likes and views to find the most visible responses.replies count with the number of replies you have fetched.curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/post-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tweet_id": "2107237881668313108"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
tweet_id | string | Yes | Tweet ID |
cursor | string | No | Cursor, default is None, used for paging, obtained from the last request |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"author": {
"blue_verified": true,
"description": null,
"image": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
"name": "NASA",
"rest_id": "11348282",
"screen_name": "NASA",
"sub_count": null
},
"bookmarks": 198,
"conversation_id": "2107237881668313108",
"created_at": "Mon Oct 05 22:33:56 +0000 2026",
"cursor": "DAAKCgABHWL0Vva__mMLAAIAAAGoRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUNVZFFGTVBZWmF3bkIw…",
"display_text": "Time to bring them home 🌎\n\nAfter nearly eight months aboard the @Space_Station, …",
"entities": {
"media": [
{
"allow_download_status": {
"allow_download": true
},
"display_url": "pic.x.com/Vu7At4nnQ3",
"expanded_url": "https://x.com/NASA/status/2107237881668313108/photo/1",
"ext_alt_text": "Inside the International Space Station NASA’s SpaceX Crew-12 members gather for …",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": [
{
"h": 96,
"w": 96,
"x": 44,
"y": 238
}
]
},
"medium": {
"faces": [
{
"h": 56,
"w": 56,
"x": 25,
"y": 139
}
]
},
"orig": {
"faces": [
{
"h": 96,
"w": 96,
"x": 44,
"y": 238
}
]
},
"small": {
"faces": [
{
"h": 31,
"w": 31,
"x": 14,
"y": 79
}
]
}
},
"id_str": "2107237609105768448",
"indices": [
276
],
"media_key": "3_2107237609105768448",
"media_results": {
"result": {
"media_key": "3_2107237609105768448"
}
},
"media_url_https": "https://pbs.twimg.com/media/HT5pcNwXwAAKdoM.jpg",
"original_info": {
"focus_rects": [
{
"h": 1147,
"w": 2048,
"x": 0,
"y": 0
}
],
"height": 1365,
"width": 2048
}
}
],
"user_mentions": [
{
"id_str": "1451773004",
"indices": [
64
],
"name": "International Space Station",
"screen_name": "Space_Station"
}
]
},
"id": "2107237881668313108",
"initial_tweets": null,
"lang": "en",
"likes": 7253,
"media": null
}
| Field | Meaning |
|---|---|
thread[].text / thread[].display_text | Reply content. text includes the leading @mentions and any t.co link. display_text is the same reply without the leading mentions. |
thread[].id | ID of the reply tweet. |
thread[].created_at | Time the reply was posted, in a string like Mon Oct 05 22:42:28 +0000 2026. |
thread[].likes / thread[].retweets / thread[].quotes / thread[].replies / thread[].bookmarks | Engagement counts for each reply. |
thread[].views | View count of the reply, returned as a string. |
thread[].author.screen_name / thread[].author.name / thread[].author.rest_id | Handle, display name and numeric user ID of the person who wrote the reply. |
thread[].author.blue_verified | Whether the reply author has a blue verified badge. |
thread[].entities.user_mentions[] | Accounts mentioned in the reply, with screen_name, id_str and the indices of the mention in text. |
thread[].media | Photos attached to the reply, with media_url_https. It is empty or null when the reply has no media. |
cursor | Paging token. Send it back as the cursor request parameter to load the next page. |
id / text / likes / replies / views | Details and engagement counts of the parent tweet whose replies are listed. author holds the parent tweet's author. |
tweet_id is the numeric ID at the end of a tweet URL, such as 2107237881668313108. Every reply's conversation_id equals this ID.cursor from the response into the next request. Leave cursor out on the first call.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/post-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tweet_id": "2107237881668313108"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
tweet_idstring必填Tweet ID
cursorstringCursor, default is None, used for paging, obtained from the last request
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"author": {
"blue_verified": true,
"description": null,
"image": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
"name": "NASA",
"rest_id": "11348282",
"screen_name": "NASA",
"sub_count": null
},
"bookmarks": 138,
"conversation_id": "2107237881668313108",
"created_at": "Mon Oct 05 22:33:56 +0000 2026",
"cursor": "DAAKCgABHT8rqjV__m0LAAIAAAGoRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUNVZFBuUkRISmN3SmgwK2RjdzNtc0g2SFQ3ZmE3V2FBZWNkUHdtYzFCdkErUjArYlk0cDJwQkpIVDZPMEZ0YlFPWWRQcVUyb1Zvd3loMCtyVS8yVnhCa0hUOG1lOGhhc1RnZFBuVEw5dGF3R1IwK2FtL2JXMEFGSFQ1M1RWV2JzRGdkUG1wVVhwZFJvUjAraUtDRDJqRitIVDV4VmxTWGtDa2RQd0t4Qjl1Z2ZoMC9IenR0MTdDaUhUNXhvZ25iWWJzZFBuWEZCaHJ4a3gwK2RMaWNtekJiSFQ1cnBDS2JJVDBkUHRXZmhKc1IreDArZlkxdlcxRy9IVDUwWEhoYllOQWRQeEFXMHhkQkp4MCs4YUovMjRBd0hUNzJDZkliVUFvZFBucVpNdHJSSUIwK2hwTEZWaEYySFQ3WnZGdVhjWGdkUG01ejVCWXlBQjArYWJCU0ZpQVVIVDZRRS9CYUVmSWRQbkhDQVZjZ2Z4MCtlTTRGR3pITEhUN1IrMzNXQURNZFB5VjFQcFpSUlE9PQgAAwAA…",
"display_text": "Time to bring them home 🌎\n\nAfter nearly eight months aboard the @Space_Station, the four members of Crew-12 will soon head back to Earth. We’re targeting no earlier than 8:05am EDT (1205 UTC), on Wednesday, Oct. 7, for the undocking of the @SpaceX Dragon spacecraft. Details:",
"entities": {
"media": [
{
"allow_download_status": {
"allow_download": true
},
"display_url": "pic.x.com/Vu7At4nnQ3",
"expanded_url": "https://x.com/NASA/status/2107237881668313108/photo/1",
"ext_alt_text": "Inside the International Space Station NASA’s SpaceX Crew-12 members gather for a portrait in the pressure suits. From left, Roscosmos cosmonaut Andrey Fedyaev, NASA astronauts Jack Hathaway and Jessica Meir, and ESA (European Space Agency) astronaut Sophie Adenot. ",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": [
{
"h": 96,
"w": 96,
"x": 44,
"y": 238
},
{
"h": 148,
"w": 148,
"x": 1646,
"y": 218
},
{
"h": 172,
"w": 172,
"x": 1282,
"y": 284
},
"… 2 more items in the full response"
]
},
"medium": {
"faces": [
{
"h": 56,
"w": 56,
"x": 25,
"y": 139
},
{
"h": 86,
"w": 86,
"x": 964,
"y": 127
},
{
"h": 100,
"w": 100,
"x": 751,
"y": 166
},
"… 2 more items in the full response"
]
},
"orig": {
"faces": [
{
"h": 96,
"w": 96,
"x": 44,
"y": 238
},
{
"h": 148,
"w": 148,
"x": 1646,
"y": 218
},
{
"h": 172,
"w": 172,
"x": 1282,
"y": 284
},
"… 2 more items in the full response"
]
},
"small": {
"faces": [
{
"h": 31,
"w": 31,
"x": 14,
"y": 79
},
{
"h": 49,
"w": 49,
"x": 546,
"y": 72
},
{
"h": 57,
"w": 57,
"x": 425,
"y": 94
},
"… 2 more items in the full response"
]
}
},
"id_str": "2107237609105768448",
"indices": [
276,
299
],
"media_key": "3_2107237609105768448",
"media_results": {
"result": {
"media_key": "3_2107237609105768448"
}
},
"media_url_https": "https://pbs.twimg.com/media/HT5pcNwXwAAKdoM.jpg",
"original_info": {
"focus_rects": [
{
"h": 1147,
"w": 2048,
"x": 0,
"y": 0
},
{
"h": 1365,
"w": 1365,
"x": 290,
"y": 0
},
{
"h": 1365,
"w": 1197,
"x": 374,
"y": 0
},
"… 2 more items in the full response"
],
"height": 1365,
"width": 2048
},
"sizes": {
"large": {
"h": 1365,
"resize": "fit",
"w": 2048
},
"medium": {
"h": 800,
"resize": "fit",
"w": 1200
},
"small": {
"h": 453,
"resize": "fit",
"w": 680
},
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
}
},
"type": "photo",
"url": "https://t.co/Vu7At4nnQ3"
}
],
"user_mentions": [
{
"id_str": "1451773004",
"indices": [
64,
78
],
"name": "International Space Station",
"screen_name": "Space_Station"
},
{
"id_str": "34743251",
"indices": [
240,
247
],
"name": "SpaceX",
"screen_name": "SpaceX"
}
]
},
"id": "2107237881668313108",
"initial_tweets": null,
"lang": "en",
"likes": 5359,
"media": null,
"quotes": 46,
"replies": 191,
"retweets": 639,
"sensitive": false,
"source": null,
"status": "active",
"text": "Time to bring them home 🌎\n\nAfter nearly eight months aboard the @Space_Station, the four members of Crew-12 will soon head back to Earth. We’re targeting no earlier than 8:05am EDT (1205 UTC), on Wednesday, Oct. 7, for the undocking of the @SpaceX Dragon spacecraft. Details: https://t.co/PPq8gNyI1G",
"thread": [
{
"author": {
"blue_verified": true,
"can_dm": null,
"description": null,
"image": "https://pbs.twimg.com/profile_images/1885717198993330176/aad7Cj18_normal.jpg",
"name": "SavingPrivateBryan",
"rest_id": "1865856717839339520",
"screen_name": "SavingB14426",
"sub_count": null
},
"bookmarks": 0,
"conversation_id": "2107237881668313108",
"created_at": "Tue Oct 06 00:40:08 +0000 2026",
"display_text": ".@grok what’s the most important thing that’s ever been discovered on the ISS?",
"entities": {
"user_mentions": [
{
"id_str": "11348282",
"indices": [
0,
5
],
"name": "NASA",
"screen_name": "NASA"
},
{
"id_str": "1451773004",
"indices": [
6,
20
],
"name": "International Space Station",
"screen_name": "Space_Station"
},
{
"id_str": "34743251",
"indices": [
21,
28
],
"name": "SpaceX",
"screen_name": "SpaceX"
},
"… 1 more items in the full response"
]
},
"id": "2107269640590070134",
"lang": "en",
"likes": 1,
"media": [],
"quotes": 0,
"replies": 1,
"retweets": 0,
"sensitive": null,
"status": "active",
"text": "@NASA @Space_Station @SpaceX .@grok what’s the most important thing that’s ever been discovered on the ISS?",
"views": "795"
},
{
"author": {
"blue_verified": true,
"can_dm": null,
"description": null,
"image": "https://pbs.twimg.com/profile_images/1621269649814863873/9CWPweZv_normal.jpg",
"name": "Scot Finlayson",
"rest_id": "2579289968",
"screen_name": "ScotFinlayson",
"sub_count": null
},
"bookmarks": 1,
"conversation_id": "2107237881668313108",
"created_at": "Tue Oct 06 08:27:53 +0000 2026",
"display_text": "Need to build a Space Lift/Elevator,\nno need for rockets and reentry,\nyou could move into space and back down 365 days of the year,",
"entities": {
"media": [
{
"allow_download_status": {
"allow_download": true
},
"display_url": "pic.x.com/oxouHvR8tZ",
"expanded_url": "https://x.com/ScotFinlayson/status/2107387355888058416/photo/1",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"orig": {
"faces": []
},
"small": {
"faces": []
}
},
"id_str": "2107387347696300032",
"indices": [
161,
184
],
"media_key": "3_2107387347696300032",
"media_results": {
"result": {
"media_key": "3_2107387347696300032"
}
},
"media_url_https": "https://pbs.twimg.com/media/HT7xoJeXMAAOrAU.png",
"original_info": {
"focus_rects": [
{
"h": 100,
"w": 179,
"x": 0,
"y": 0
},
{
"h": 179,
"w": 179,
"x": 0,
"y": 0
},
{
"h": 204,
"w": 179,
"x": 0,
"y": 0
},
"… 2 more items in the full response"
],
"height": 516,
"width": 179
},
"sizes": {
"large": {
"h": 516,
"resize": "fit",
"w": 179
},
"medium": {
"h": 516,
"resize": "fit",
"w": 179
},
"small": {
"h": 516,
"resize": "fit",
"w": 179
},
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
}
},
"type": "photo",
"url": "https://t.co/oxouHvR8tZ"
}
],
"user_mentions": [
{
"id_str": "11348282",
"indices": [
0,
5
],
"name": "NASA",
"screen_name": "NASA"
},
{
"id_str": "1451773004",
"indices": [
6,
20
],
"name": "International Space Station",
"screen_name": "Space_Station"
},
{
"id_str": "34743251",
"indices": [
21,
28
],
"name": "SpaceX",
"screen_name": "SpaceX"
}
]
},
"id": "2107387355888058416",
"lang": "en",
"likes": 2,
"media": {
"photo": [
{
"id": "2107387347696300032",
"media_url_https": "https://pbs.twimg.com/media/HT7xoJeXMAAOrAU.png"
}
]
},
"quotes": 0,
"replies": 1,
"retweets": 1,
"sensitive": false,
"status": "active",
"text": "@NASA @Space_Station @SpaceX Need to build a Space Lift/Elevator,\nno need for rockets and reentry,\nyou could move into space and back down 365 days of the year, https://t.co/oxouHvR8tZ",
"views": "303"
},
{
"author": {
"blue_verified": true,
"can_dm": null,
"description": null,
"image": "https://pbs.twimg.com/profile_images/2105766619934760961/J98zD-96_normal.jpg",
"name": "Just a Jarhead",
"rest_id": "15236949",
"screen_name": "JustaJarhead71",
"sub_count": null
},
"bookmarks": 0,
"conversation_id": "2107237881668313108",
"created_at": "Tue Oct 06 12:18:47 +0000 2026",
"display_text": "Proud of the American teams helping make this possible. Bring all four home safely.",
"entities": {
"user_mentions": [
{
"id_str": "11348282",
"indices": [
0,
5
],
"name": "NASA",
"screen_name": "NASA"
},
{
"id_str": "1451773004",
"indices": [
6,
20
],
"name": "International Space Station",
"screen_name": "Space_Station"
},
{
"id_str": "34743251",
"indices": [
21,
28
],
"name": "SpaceX",
"screen_name": "SpaceX"
}
]
},
"id": "2107445463716901176",
"lang": "en",
"likes": 0,
"media": [],
"quotes": 0,
"replies": 0,
"retweets": 0,
"sensitive": null,
"status": "active",
"text": "@NASA @Space_Station @SpaceX Proud of the American teams helping make this possible. Bring all four home safely.",
"views": "26"
},
"… 33 more items in the full response"
],
"views": "1993770"
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
Twitter | $0.001 每次调用 | JSON |
Twitter | $0.001 每次调用 | JSON |
Twitter | $0.001 每次调用 | JSON |
Twitter | $0.001 每次调用 | JSON |
Twitter | $0.001 每次调用 | JSON |
Twitter | $0.001 每次调用 | JSON |
指南:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
问题
向 https://api.sandbase.ai/v1/api/twitter/web/post-comments 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:tweet_id (string)。 可选:cursor (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Twitter (X) Tweet Comments 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Twitter API 访问权限。