Skip to content
Browse the docs

Trends

Trends

Current trending topics.

GET/api/v1/twitter/trends

Price

2 tokens per successful call. 2 per call. Failed calls are refunded; a 404 is charged.

Parameters

No parameters.

Request

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

Response

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

Try it

Estimated cost 2 tokens

Kept in this tab only and sent only as the x-api-key header of this request.

GET /api/v1/twitter/trends

The response, its status and the tokens it cost appear here.