Trends

Trend locations

All places X has trends for, with their WOEIDs.

Reference: https://www.twittrapi.com/docs/reference/misc-locations

get/misc/locations

Request

  • Base URL: https://api.twittrapi.com
  • URL: https://api.twittrapi.com/misc/locations
  • Auth: API key in header X-API-KEY

Query parameters

format'raw' | 'simple'

raw (default): X's JSON passed through. simple: flat camelCase JSON with a fixed schema and a {data, nextCursor, previousCursor, hasNextPage} envelope. Same price. The header X-Response-Format: simple does the same.

Response

Raw JSON of X's v1.1 trends/available endpoint: an array of places with name, woeid, country and placeType.

With format=simple: Collection of TrendLocation objects {woeid, name, country, countryCode, placeType, parentId} (no cursor).

OR
RawPassthrough required

X's own JSON (raw format, the default), passed through unchanged. The shape is X's and can change; see https://www.twittrapi.com/docs/response-format.

Changes

No recorded changes to this operation across all 1 revision of this API.