Get trends
GET/twitter/trends8 credits
Return trending topics for a location (by WOEID), ranked by volume. The sample response below is captured from the live API. List endpoints paginate with `has_next_page` and `next_cursor`.
Authentication required
Send your key in the
x-api-key header. Requests without a valid key return 401.Query parameters
woeid
integerrequired
Where-On-Earth ID. Use 1 for worldwide.
Response fields
trendsarray
Array of trending topics for the requested location.
metadataobject
Request metadata: timestamp, woeid, refresh interval.
statusstring
Request status: "success" or "error".
msgstring
Status message from the upstream.
Request
Response200 OK
base url · https://v2.xapis.dev
Ready to call Get trends?
Get an API key or explore the full interactive reference.
