OpenAPI 文档/X (Twitter)GET

X (Twitter) — 趋势热榜

SpiderHubs OpenAPI 文档:X (Twitter) — 趋势热榜,分类 X (Twitter)。接口 GET /openapi/v1/contentcreator/twitter/web/fetch_trending。获取指定国家 / 地区的 X 趋势话题榜。

OpId: tw-trending · 最近更新: 2026-05-23

说明

获取指定国家 / 地区的 X 趋势话题榜。

基础信息

Endpoint:
GET /openapi/v1/contentcreator/twitter/web/fetch_trending
计费:
1 积分 / 次
限流:
300 次 / 分钟 / 用户

请求参数说明

参数类型必填说明
countrystring国家 / 地区名,如 UnitedStates、Japan(默认 UnitedStates)
请求示例 · cURL
curl 'https://api.spiderhubs.com/openapi/v1/contentcreator/twitter/web/fetch_trending?country=UnitedStates' \
  -H 'Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxx'
响应示例
{
  "code": 200,
  "request_id": "...",
  "data": { /* platform-native data — see endpoint reference for shape */ }
}

开始调用 SpiderHubs API

使用账户中心生成的 API Key,通过 Authorization: Bearer sk_live_xxx 调用接口。