X (Twitter) · search
X (Twitter) Search
Search X (Twitter) for top or latest posts on any keyword, hashtag or phrase, with author, time, likes, reposts, replies and views.
- 每日免费额度,之后每次 $0.001
- 实时数据
- 无需 X (Twitter) 账号
- 包含原始 JSON
X (Twitter) · search
带数字的排名结果
每条结果包含标题、链接、作者、日期和互动数据,并汇总列表中的总计和中位数。 每次运行都会返回原始 API 响应和 JSON 导出。
工作原理
- 01
Enter a query and choose Top or Latest
Type a keyword, hashtag or quoted phrase in Keyword, up to 100 characters. Search operators such as quotes, OR and from: work as in the X search box. Then set Results to Top for the most engaged posts or Latest for the newest ones.
- 02
Search twitter/web/search-timeline
SandBase calls twitter/web/search-timeline with your query as keyword and Top or Latest as search_type. It fetches the first page only, without a cursor. The run is billed to your SandBase account, so you need no X developer account and no X API keys.
- 03
Compare likes, reposts and views
Each post shows its author, time, text, likes, reposts, replies and views. The summary gives the post count with totals and medians of views and likes. Open a post on X from its link, or check the numbers in the raw API response.
适用人群
Brands
Monitor mentions and reactions after a launch.
Analysts
Follow how a story spreads in real time.
Creators
See which posts on a topic earn reach.
通过 API 获取 Twitter 数据
此工具调用一个 SandBase API。您可以用 SandBase 密钥在代码或 Agent 中调用同一个 API,按次计费($0.001 列表价)。
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"
}'常见问题
Do I need an X developer account for X (Twitter) Search?
No. X (Twitter) Search runs on the SandBase X API on your SandBase account, so you do not need X API keys.
Can I use search operators in X (Twitter) Search?
Yes. Quotes, OR, hashtags and from: work the same way as in the X search box.
What is the difference between Top and Latest in X (Twitter) Search?
Top returns X's Top tab for the query; Latest returns the newest matching posts. X (Twitter) Search reads one page of either.
Is X (Twitter) Search free?
Partly. X (Twitter) Search uses the SandBase daily free quota first: 100 calls per organization per day, shared and reset at 00:00 UTC. Beyond that, each twitter/web/search-timeline call is billed to your SandBase account at the price shown on the page and in `sandbase inspect`. Details: https://www.sandbase.ai/pricing.
Can I search X posts with the twitter/web/search-timeline API?
Yes. Call POST /v1/api/twitter/web/search-timeline with your SandBase API key, a keyword and a search_type. The API also supports Media, People and Lists results and cursor paging; see the request example on the page.
