GET
/
twitter
/
trends
curl --request GET \
  --url https://api.twitterapi.io/twitter/trends \
  --header 'X-API-Key: <api-key>'
{
  "trends": [
    {
      "name": "<string>",
      "target": {
        "query": "<string>"
      },
      "rank": 123,
      "meta_description": "<string>"
    }
  ],
  "status": "success",
  "msg": "<string>"
}

Authorizations

X-API-Key
string
header
required

Query Parameters

woeid
integer
required

The woeid of the location. eg. 2418046. Woeid list: https://gist.github.com/tedyblood/5bb5a9f78314cc1f478b3dd7cde790b9

count
integer

The number of trends to return. Default is 30. Min is 30.

Response

200
application/json

Trends

The response is of type object.