跳到正文
浏览文档

趋势

趋势

当前的热门话题。

GET/api/v1/twitter/trends

价格

2 个 token 每次;失败的调用会退回,但 404(未找到)除外。

参数

没有参数。

请求

curl
curl "https://api.xscraper.online/api/v1/twitter/trends" \
  -H "x-api-key: $XSCRAPER_KEY"

响应

200 OK(示例结构)
{
  "success": true,
  "message": "…",
  "data": [
    "#example",
    "Another trend"
  ],
  "errors": null
}

试一试

预计花费 2 个 token

只保存在这个标签页里,并且只作为这次请求的 x-api-key 头发送。

GET /api/v1/twitter/trends

响应、状态码和消耗的 token 会显示在这里。