keywordstring必填
Search keyword
https://api.sandbase.ai/v1/api/twitter/web/search-timelineSearch Twitter / X posts by keyword and get tweets with text, author, time and engagement counts (likes, retweets, replies, views). Supports Top, Latest, Media, People and Lists results.
[
{
"data": {
"next_cursor": "DAACCgACHPupFnOAJxAKAAMc-6kWc3_Y8AgABAAAAAILAAUAAADwRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUJRYyt5VGswMWVSWUJ6N0FkUE5sNEE5SE83L3pYb1dJZVVjK1lSeVpGZFFjUno3QlR1QTFrRFpIUGdHdXJWYndhOGN0cWZicWxxd3F4ejZOcnlqbDdDcEhQczZxN3pYWVcwYyt3TjFkaGRoNXh6Qk5haDdscEZESFB0WGUvM1hZVHNjK3hXSHBwY0JCeHpnMFVBZUc2SHdIUHNvTTZ5VzhCb2MrdnVTZnRhQWpoejZwNVlnRmtIbUhQdDFnakJYZ0FnYyt4bVhOZFpSUGh6NXdwVFpWZ0VKCAAGAAAAAAgABwAAAAAMAAgKAAEctqfbqlqwqwAAAA",
"prev_cursor": "DAACCgACHPupFnOAJxAKAAMc-6kWc3_Y8AgABAAAAAELAAUAAADwRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUJRYyt5VGswMWVSWUJ6N0FkUE5sNEE5SE83L3pYb1dJZVVjK1lSeVpGZFFjUno3QlR1QTFrRFpIUGdHdXJWYndhOGN0cWZicWxxd3F4ejZOcnlqbDdDcEhQczZxN3pYWVcwYyt3TjFkaGRoNXh6Qk5haDdscEZESFB0WGUvM1hZVHNjK3hXSHBwY0JCeHpnMFVBZUc2SHdIUHNvTTZ5VzhCb2MrdnVTZnRhQWpoejZwNVlnRmtIbUhQdDFnakJYZ0FnYyt4bVhOZFpSUGh6NXdwVFpWZ0VKCAAGAAAAAAgABwAAAAAMAAgKAAEctqfbqlqwqwAAAA",
"status": "ok",
"timeline": [
{
"bookmarks": 9,
"conversation_id": "2088359042267701563",
"created_at": "Fri Aug 14 20:16:10 +0000 2026",
"display_text_range": [
0,
274
],
"entities": {
"hashtags": [],
"symbols": [],
"timestamps": [],
"urls": [],
"user_mentions": []
},
"favorites": 13,
"lang": "en",
"media": {
"video": [
{
"aspect_ratio": [
605,
444
],
"duration": 10000,
"id": "2088359010785267712",
"media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2088359010785267712/img/YLGMg7axzgDRWwJb.jpg",
"original_info": {
"focus_rects": [],
"height": 888,
"width": 1210
},
"variants": [
{
"content_type": "application/x-mpegURL",
"url": "https://video.twimg.com/amplify_video/2088359010785267712/pl/Wguc3tWwCnSOW_df.m3u8?tag=29"
},
{
"bitrate": 256000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088359010785267712/vid/avc1/366x270/IuYtPfWzB7659P0s.mp4?tag=29"
},
{
"bitrate": 832000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088359010785267712/vid/avc1/490x360/KkZeDVF9b4U25xAT.mp4?tag=29"
},
"… 2 more items in the full response"
]
}
]
},
"quoted": {
"author": {
"avatar": "https://pbs.twimg.com/profile_images/1906408525556846592/Tbise2Rw_normal.jpg",
"blue_verified": true,
"created_at": "Thu Jun 06 18:58:34 +0000 2024",
"name": "broke boy",
"rest_id": "1798791551272812544",
"screen_name": "0xfuckpoverty"
},
"bookmarks": 17,
"conversation_id": "2088018606734946793",
"created_at": "Thu Aug 13 21:43:24 +0000 2026",
"favorites": 13,
"lang": "zxx",
"media": [],
"quotes": 1,
"replies": 2,
"retweets": 4,
"sensitive": false,
"text": "https://t.co/26bultGJRL",
"tweet_id": "2088018606734946793",
"views": "2397"
},
"quotes": 0,
"replies": 2,
"retweets": 0,
"screen_name": "0xfuckpoverty",
"sensitive": false,
"source": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
"text": "Most AI agents can answer once.\n\nProduction systems need to do much more: branch, run work in parallel, validate, recover from failures, and know when to stop.\n\nThat's why the missing layer isn't a bigger model.\n\nIt's a graph.\n\nNew request → classify → plan → fan-out → join → validate → approve/execute.\n\nThe key shift:\n\nAgents generate decisions.\nGraphs govern execution.\nA prompt chain becomes a system when every transition is explicit, bounded, and recoverable.\n\nFull breakdown below.",
"tweet_id": "2088359042267701563",
"type": "tweet",
"user_info": {
"avatar": "https://pbs.twimg.com/profile_images/1906408525556846592/Tbise2Rw_normal.jpg",
"cover_image": null,
"created_at": "Thu Jun 06 18:58:34 +0000 2024",
"description": null,
"favorites_count": 957,
"followers_count": 242,
"friends_count": null,
"location": "",
"name": "broke boy",
"rest_id": "1798791551272812544",
"screen_name": "0xfuckpoverty",
"url": null,
"verified": true,
"verified_type": null
},
"views": "536"
},
{
"bookmarks": 13,
"conversation_id": "2088286524576039175",
"created_at": "Fri Aug 14 15:28:00 +0000 2026",
"display_text_range": [
0,
273
],
"entities": {
"hashtags": [],
"symbols": [],
"timestamps": [],
"urls": [],
"user_mentions": []
},
"favorites": 43,
"lang": "en",
"media": {
"video": [
{
"aspect_ratio": [
9,
16
],
"duration": 65201,
"id": "2088271480790384640",
"media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2088271480790384640/img/rLVmP4b_dwR6gEbZ.jpg",
"original_info": {
"focus_rects": [],
"height": 1920,
"width": 1080
},
"variants": [
{
"content_type": "application/x-mpegURL",
"url": "https://video.twimg.com/amplify_video/2088271480790384640/pl/7DgBXSDfLVOKdAJ0.m3u8?tag=29&v=7b2"
},
{
"bitrate": 632000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088271480790384640/vid/avc1/320x568/DiLGdMt44N-n8eS-.mp4?tag=29"
},
{
"bitrate": 950000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088271480790384640/vid/avc1/480x852/1apFgmlGn4dSy5LH.mp4?tag=29"
},
"… 2 more items in the full response"
]
}
]
},
"quoted": {
"author": {
"avatar": "https://pbs.twimg.com/profile_images/2049557081502752768/gymBLMZ8_normal.jpg",
"blue_verified": true,
"created_at": "Sun Feb 24 07:45:36 +0000 2013",
"name": "kiosa",
"rest_id": "1214810521",
"screen_name": "thegreatest_sv"
},
"bookmarks": 86,
"conversation_id": "2077035062952915243",
"created_at": "Tue Jul 14 14:18:43 +0000 2026",
"favorites": 49,
"lang": "zxx",
"media": [],
"quotes": 14,
"replies": 5,
"retweets": 6,
"sensitive": false,
"text": "https://t.co/6okVeHBq7p",
"tweet_id": "2077035062952915243",
"views": "105481"
},
"quotes": 0,
"replies": 4,
"retweets": 3,
"screen_name": "thegreatest_sv",
"sensitive": false,
"source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>",
"text": "UBER BURNED THROUGH ITS ENTIRE 2026 AI BUDGET IN LESS THAN 4 MONTHS.\n\nThe problem wasn’t that engineers weren’t using AI.\n\nIt was the opposite.\n\nAI coding tools were consuming so many tokens that Uber blew through a full-year budget before May.\n\nThe company started putting spending limits on agentic coding tools.\n\nAnd Uber isn’t some startup that forgot to watch its API bill.\n\nThis is what happens when thousands of engineers start running AI agents that constantly read files, execute commands, run tests and feed context back into the model.\n\nAI coding got cheap enough to use everywhere - but e…",
"tweet_id": "2088286524576039175",
"type": "tweet",
"user_info": {
"avatar": "https://pbs.twimg.com/profile_images/2049557081502752768/gymBLMZ8_normal.jpg",
"cover_image": null,
"created_at": "Sun Feb 24 07:45:36 +0000 2013",
"description": null,
"favorites_count": 7255,
"followers_count": 2977,
"friends_count": null,
"location": "",
"name": "kiosa",
"rest_id": "1214810521",
"screen_name": "thegreatest_sv",
"url": null,
"verified": true,
"verified_type": null
},
"views": "6617"
},
{
"bookmarks": 12,
"conversation_id": "2088327361498407277",
"created_at": "Fri Aug 14 18:10:16 +0000 2026",
"display_text_range": [
0,
280
],
"entities": {
"hashtags": [],
"symbols": [],
"timestamps": [],
"urls": [],
"user_mentions": []
},
"favorites": 19,
"lang": "en",
"media": {
"video": [
{
"aspect_ratio": [
9,
16
],
"duration": 50300,
"id": "2088321900673912832",
"media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2088321900673912832/img/h99q4lQjFPuQyBL5.jpg",
"original_info": {
"focus_rects": [],
"height": 1024,
"width": 576
},
"variants": [
{
"content_type": "application/x-mpegURL",
"url": "https://video.twimg.com/amplify_video/2088321900673912832/pl/GfOH199ha1C2_ott.m3u8?tag=29"
},
{
"bitrate": 632000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088321900673912832/vid/avc1/320x568/ZqDvoDTflWXPD7Cq.mp4?tag=29"
},
{
"bitrate": 950000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088321900673912832/vid/avc1/480x852/smYgChHVOMhVHPgV.mp4?tag=29"
},
"… 1 more items in the full response"
]
}
]
},
"quoted": {
"author": {
"avatar": "https://pbs.twimg.com/profile_images/2086050467717455872/JO4ZK2B6_normal.jpg",
"blue_verified": true,
"created_at": "Wed Dec 17 20:01:18 +0000 2025",
"name": "Yumzlef",
"rest_id": "2001382152387407872",
"screen_name": "Yumzlef"
},
"bookmarks": 28,
"conversation_id": "2087911408973312403",
"created_at": "Thu Aug 13 14:37:26 +0000 2026",
"favorites": 22,
"lang": "zxx",
"media": [],
"quotes": 12,
"replies": 6,
"retweets": 2,
"sensitive": false,
"text": "https://t.co/4DiqQ5MWaK",
"tweet_id": "2087911408973312403",
"views": "25349"
},
"quotes": 1,
"replies": 4,
"retweets": 4,
"screen_name": "Neuron_404",
"sensitive": false,
"source": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
"text": "Claude-flow spins up 60+ AI agents that build your product together - and it's #1 on GitHub\n\nfree and #1 on github, yet almost nobody has set it up.\n\nit's not one agent - it's a swarm: queens run the teams, tactical agents research, code, test, and review, sharing one memory that gets smarter every run.\n\n> reads your task and auto-routes it: cheap model for easy, powerful for hard\n> the shared memory improves after every single run\n> cuts token use up to 50% and extends your claude code by 250%\n\nin 3 months this name is everywhere - the ones who found it now are already ahead. i surface these …",
"tweet_id": "2088327361498407277",
"type": "tweet",
"user_info": {
"avatar": "https://pbs.twimg.com/profile_images/2087269393004728321/v-G3uiMM_normal.jpg",
"cover_image": null,
"created_at": "Mon Nov 27 01:21:46 +0000 2023",
"description": null,选择一个示例,将其输入和结果加载到 playground 中。
Returns a page of X (Twitter) posts that match a search keyword. Each post has its text, author handle, creation time, engagement counts and any attached media. The only required input is keyword.
OpenAI.views, favorites or retweets to find the ones that spread most.curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/search-timeline" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "OpenAI"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword |
cursor | string | No | Cursor, default is None, used for paging, obtained from the last request |
search_type | string | No | Search type, default is Top, other optional values are Latest, Media, People, Lists |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"next_cursor": "DAACCgACHWL0WF5AJxAKAAMdYvRYXj_Y8AgABAAAAAILAAUAAADwRW1QQzZ3QUFBZlEvZ0dKTjB2R3Av…",
"prev_cursor": "DAACCgACHWL0WF5AJxAKAAMdYvRYXj_Y8AgABAAAAAELAAUAAADwRW1QQzZ3QUFBZlEvZ0dKTjB2R3Av…",
"status": "ok",
"timeline": [
{
"bookmarks": 9589,
"conversation_id": "2116963310277202003",
"created_at": "Sun Nov 01 18:39:19 +0000 2026",
"display_text_range": [
0
],
"entities": {
"hashtags": [],
"symbols": [],
"timestamps": [],
"urls": [],
"user_mentions": []
},
"favorites": 3743,
"lang": "en",
"media": {
"video": [
{
"aspect_ratio": [
4
],
"duration": 21000,
"id": "2116959813636874240",
"media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2116959813636874240/img/BpM2ygu4J6yvD6…",
"original_info": {
"focus_rects": [],
"height": 1350,
"width": 1080
},
"variants": [
{
"content_type": "application/x-mpegURL",
"url": "https://video.twimg.com/amplify_video/2116959813636874240/pl/oQiawi_tf0JmlNvI.m3…"
}
]
}
]
},
"quoted": {
"author": {
"avatar": "https://pbs.twimg.com/profile_images/2068434168954978304/gFJZPH-g_normal.jpg",
"blue_verified": true,
"created_at": "Sat May 23 18:31:55 +0000 2026",
"name": "mojesko",
"rest_id": "2058253770492956672",
"screen_name": "mojeskoqq"
},
"bookmarks": 2118,
"conversation_id": "2116176596466032817",
"created_at": "Fri Oct 30 14:33:11 +0000 2026",
"favorites": 501,
"lang": "zxx",
"media": [],
"quotes": 20
},
"quotes": 25,
"replies": 111,
"retweets": 315
}
]
}
| Field | Meaning |
|---|---|
timeline[] | One matching result per item. In this response each item has type set to tweet. |
timeline[].tweet_id / timeline[].conversation_id | ID of the post and ID of the conversation it belongs to. Both are numeric strings. |
timeline[].text | Text of the post. Long text may be cut with an ellipsis. |
timeline[].screen_name | Handle of the author, without the @ sign. |
timeline[].created_at | Time the post was created, as a string like Mon Oct 26 18:06:27 +0000 2026. |
timeline[].favorites / timeline[].retweets / timeline[].replies / timeline[].quotes / timeline[].bookmarks | Counts of likes, retweets, replies, quote posts and bookmarks for the post. |
timeline[].views | View count of the post, returned as a string. |
timeline[].media.video[].variants[] | Video files for the post. Each has a url and a content_type. The video/mp4 entries also have a bitrate. |
timeline[].user_info.followers_count / timeline[].user_info.created_at | Follower count of the author and the time the author account was created. |
timeline[].quoted | The post that this post quotes. It includes its own author, text-level counts such as favorites and quotes, and created_at. It appears only on quote posts. |
next_cursor from the last response as cursor. The response also returns prev_cursor.search_type to Top, Latest, Media, People or Lists. The default is Top.tweet_id to Twitter (X) Tweet Comments.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
刚接触这个端点?按照 Twitter 关键词搜索教程发送你的第一条请求,检查返回记录,并在总结前保留源标识符。
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/search-timeline" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "AI agents",
"search_type": "Top"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
keywordstring必填Search keyword
cursorstringCursor, default is None, used for paging, obtained from the last request
search_typestringSearch type, default is Top, other optional values are Latest, Media, People, Lists
默认值:"Top"
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"next_cursor": "DAACCgACHPupFnOAJxAKAAMc-6kWc3_Y8AgABAAAAAILAAUAAADwRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUJRYyt5VGswMWVSWUJ6N0FkUE5sNEE5SE83L3pYb1dJZVVjK1lSeVpGZFFjUno3QlR1QTFrRFpIUGdHdXJWYndhOGN0cWZicWxxd3F4ejZOcnlqbDdDcEhQczZxN3pYWVcwYyt3TjFkaGRoNXh6Qk5haDdscEZESFB0WGUvM1hZVHNjK3hXSHBwY0JCeHpnMFVBZUc2SHdIUHNvTTZ5VzhCb2MrdnVTZnRhQWpoejZwNVlnRmtIbUhQdDFnakJYZ0FnYyt4bVhOZFpSUGh6NXdwVFpWZ0VKCAAGAAAAAAgABwAAAAAMAAgKAAEctqfbqlqwqwAAAA",
"prev_cursor": "DAACCgACHPupFnOAJxAKAAMc-6kWc3_Y8AgABAAAAAELAAUAAADwRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUJRYyt5VGswMWVSWUJ6N0FkUE5sNEE5SE83L3pYb1dJZVVjK1lSeVpGZFFjUno3QlR1QTFrRFpIUGdHdXJWYndhOGN0cWZicWxxd3F4ejZOcnlqbDdDcEhQczZxN3pYWVcwYyt3TjFkaGRoNXh6Qk5haDdscEZESFB0WGUvM1hZVHNjK3hXSHBwY0JCeHpnMFVBZUc2SHdIUHNvTTZ5VzhCb2MrdnVTZnRhQWpoejZwNVlnRmtIbUhQdDFnakJYZ0FnYyt4bVhOZFpSUGh6NXdwVFpWZ0VKCAAGAAAAAAgABwAAAAAMAAgKAAEctqfbqlqwqwAAAA",
"status": "ok",
"timeline": [
{
"bookmarks": 9,
"conversation_id": "2088359042267701563",
"created_at": "Fri Aug 14 20:16:10 +0000 2026",
"display_text_range": [
0,
274
],
"entities": {
"hashtags": [],
"symbols": [],
"timestamps": [],
"urls": [],
"user_mentions": []
},
"favorites": 13,
"lang": "en",
"media": {
"video": [
{
"aspect_ratio": [
605,
444
],
"duration": 10000,
"id": "2088359010785267712",
"media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2088359010785267712/img/YLGMg7axzgDRWwJb.jpg",
"original_info": {
"focus_rects": [],
"height": 888,
"width": 1210
},
"variants": [
{
"content_type": "application/x-mpegURL",
"url": "https://video.twimg.com/amplify_video/2088359010785267712/pl/Wguc3tWwCnSOW_df.m3u8?tag=29"
},
{
"bitrate": 256000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088359010785267712/vid/avc1/366x270/IuYtPfWzB7659P0s.mp4?tag=29"
},
{
"bitrate": 832000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088359010785267712/vid/avc1/490x360/KkZeDVF9b4U25xAT.mp4?tag=29"
},
"… 2 more items in the full response"
]
}
]
},
"quoted": {
"author": {
"avatar": "https://pbs.twimg.com/profile_images/1906408525556846592/Tbise2Rw_normal.jpg",
"blue_verified": true,
"created_at": "Thu Jun 06 18:58:34 +0000 2024",
"name": "broke boy",
"rest_id": "1798791551272812544",
"screen_name": "0xfuckpoverty"
},
"bookmarks": 17,
"conversation_id": "2088018606734946793",
"created_at": "Thu Aug 13 21:43:24 +0000 2026",
"favorites": 13,
"lang": "zxx",
"media": [],
"quotes": 1,
"replies": 2,
"retweets": 4,
"sensitive": false,
"text": "https://t.co/26bultGJRL",
"tweet_id": "2088018606734946793",
"views": "2397"
},
"quotes": 0,
"replies": 2,
"retweets": 0,
"screen_name": "0xfuckpoverty",
"sensitive": false,
"source": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
"text": "Most AI agents can answer once.\n\nProduction systems need to do much more: branch, run work in parallel, validate, recover from failures, and know when to stop.\n\nThat's why the missing layer isn't a bigger model.\n\nIt's a graph.\n\nNew request → classify → plan → fan-out → join → validate → approve/execute.\n\nThe key shift:\n\nAgents generate decisions.\nGraphs govern execution.\nA prompt chain becomes a system when every transition is explicit, bounded, and recoverable.\n\nFull breakdown below.",
"tweet_id": "2088359042267701563",
"type": "tweet",
"user_info": {
"avatar": "https://pbs.twimg.com/profile_images/1906408525556846592/Tbise2Rw_normal.jpg",
"cover_image": null,
"created_at": "Thu Jun 06 18:58:34 +0000 2024",
"description": null,
"favorites_count": 957,
"followers_count": 242,
"friends_count": null,
"location": "",
"name": "broke boy",
"rest_id": "1798791551272812544",
"screen_name": "0xfuckpoverty",
"url": null,
"verified": true,
"verified_type": null
},
"views": "536"
},
{
"bookmarks": 13,
"conversation_id": "2088286524576039175",
"created_at": "Fri Aug 14 15:28:00 +0000 2026",
"display_text_range": [
0,
273
],
"entities": {
"hashtags": [],
"symbols": [],
"timestamps": [],
"urls": [],
"user_mentions": []
},
"favorites": 43,
"lang": "en",
"media": {
"video": [
{
"aspect_ratio": [
9,
16
],
"duration": 65201,
"id": "2088271480790384640",
"media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2088271480790384640/img/rLVmP4b_dwR6gEbZ.jpg",
"original_info": {
"focus_rects": [],
"height": 1920,
"width": 1080
},
"variants": [
{
"content_type": "application/x-mpegURL",
"url": "https://video.twimg.com/amplify_video/2088271480790384640/pl/7DgBXSDfLVOKdAJ0.m3u8?tag=29&v=7b2"
},
{
"bitrate": 632000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088271480790384640/vid/avc1/320x568/DiLGdMt44N-n8eS-.mp4?tag=29"
},
{
"bitrate": 950000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088271480790384640/vid/avc1/480x852/1apFgmlGn4dSy5LH.mp4?tag=29"
},
"… 2 more items in the full response"
]
}
]
},
"quoted": {
"author": {
"avatar": "https://pbs.twimg.com/profile_images/2049557081502752768/gymBLMZ8_normal.jpg",
"blue_verified": true,
"created_at": "Sun Feb 24 07:45:36 +0000 2013",
"name": "kiosa",
"rest_id": "1214810521",
"screen_name": "thegreatest_sv"
},
"bookmarks": 86,
"conversation_id": "2077035062952915243",
"created_at": "Tue Jul 14 14:18:43 +0000 2026",
"favorites": 49,
"lang": "zxx",
"media": [],
"quotes": 14,
"replies": 5,
"retweets": 6,
"sensitive": false,
"text": "https://t.co/6okVeHBq7p",
"tweet_id": "2077035062952915243",
"views": "105481"
},
"quotes": 0,
"replies": 4,
"retweets": 3,
"screen_name": "thegreatest_sv",
"sensitive": false,
"source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>",
"text": "UBER BURNED THROUGH ITS ENTIRE 2026 AI BUDGET IN LESS THAN 4 MONTHS.\n\nThe problem wasn’t that engineers weren’t using AI.\n\nIt was the opposite.\n\nAI coding tools were consuming so many tokens that Uber blew through a full-year budget before May.\n\nThe company started putting spending limits on agentic coding tools.\n\nAnd Uber isn’t some startup that forgot to watch its API bill.\n\nThis is what happens when thousands of engineers start running AI agents that constantly read files, execute commands, run tests and feed context back into the model.\n\nAI coding got cheap enough to use everywhere - but e…",
"tweet_id": "2088286524576039175",
"type": "tweet",
"user_info": {
"avatar": "https://pbs.twimg.com/profile_images/2049557081502752768/gymBLMZ8_normal.jpg",
"cover_image": null,
"created_at": "Sun Feb 24 07:45:36 +0000 2013",
"description": null,
"favorites_count": 7255,
"followers_count": 2977,
"friends_count": null,
"location": "",
"name": "kiosa",
"rest_id": "1214810521",
"screen_name": "thegreatest_sv",
"url": null,
"verified": true,
"verified_type": null
},
"views": "6617"
},
{
"bookmarks": 12,
"conversation_id": "2088327361498407277",
"created_at": "Fri Aug 14 18:10:16 +0000 2026",
"display_text_range": [
0,
280
],
"entities": {
"hashtags": [],
"symbols": [],
"timestamps": [],
"urls": [],
"user_mentions": []
},
"favorites": 19,
"lang": "en",
"media": {
"video": [
{
"aspect_ratio": [
9,
16
],
"duration": 50300,
"id": "2088321900673912832",
"media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2088321900673912832/img/h99q4lQjFPuQyBL5.jpg",
"original_info": {
"focus_rects": [],
"height": 1024,
"width": 576
},
"variants": [
{
"content_type": "application/x-mpegURL",
"url": "https://video.twimg.com/amplify_video/2088321900673912832/pl/GfOH199ha1C2_ott.m3u8?tag=29"
},
{
"bitrate": 632000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088321900673912832/vid/avc1/320x568/ZqDvoDTflWXPD7Cq.mp4?tag=29"
},
{
"bitrate": 950000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/amplify_video/2088321900673912832/vid/avc1/480x852/smYgChHVOMhVHPgV.mp4?tag=29"
},
"… 1 more items in the full response"
]
}
]
},
"quoted": {
"author": {
"avatar": "https://pbs.twimg.com/profile_images/2086050467717455872/JO4ZK2B6_normal.jpg",
"blue_verified": true,
"created_at": "Wed Dec 17 20:01:18 +0000 2025",
"name": "Yumzlef",
"rest_id": "2001382152387407872",
"screen_name": "Yumzlef"
},
"bookmarks": 28,
"conversation_id": "2087911408973312403",
"created_at": "Thu Aug 13 14:37:26 +0000 2026",
"favorites": 22,
"lang": "zxx",
"media": [],
"quotes": 12,
"replies": 6,
"retweets": 2,
"sensitive": false,
"text": "https://t.co/4DiqQ5MWaK",
"tweet_id": "2087911408973312403",
"views": "25349"
},
"quotes": 1,
"replies": 4,
"retweets": 4,
"screen_name": "Neuron_404",
"sensitive": false,
"source": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
"text": "Claude-flow spins up 60+ AI agents that build your product together - and it's #1 on GitHub\n\nfree and #1 on github, yet almost nobody has set it up.\n\nit's not one agent - it's a swarm: queens run the teams, tactical agents research, code, test, and review, sharing one memory that gets smarter every run.\n\n> reads your task and auto-routes it: cheap model for easy, powerful for hard\n> the shared memory improves after every single run\n> cuts token use up to 50% and extends your claude code by 250%\n\nin 3 months this name is everywhere - the ones who found it now are already ahead. i surface these …",
"tweet_id": "2088327361498407277",
"type": "tweet",
"user_info": {
"avatar": "https://pbs.twimg.com/profile_images/2087269393004728321/v-G3uiMM_normal.jpg",
"cover_image": null,
"created_at": "Mon Nov 27 01:21:46 +0000 2023",
"description": null,
"favorites_count": 2173,
"followers_count": 365,
"friends_count": null,
"location": "",
"name": "Jimmy Neuron 💡",
"rest_id": "1728947089931923459",
"screen_name": "Neuron_404",
"url": null,
"verified": true,
"verified_type": null
},
"views": "692"
},
"… 17 more items in the full response"
]
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
Twitter (X) Search此 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/search-timeline 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。
必填:keyword (string)。 可选:cursor (string) 和 search_type (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Twitter (X) Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Twitter API 访问权限。