cURL
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>" }
Get trends by woeid
The woeid of the location. eg. 2418046. Woeid list: https://gist.github.com/tedyblood/5bb5a9f78314cc1f478b3dd7cde790b9
The number of trends to return. Default is 30. Min is 30.
Trends
Array of trends
Show child attributes
The name of the trend
The query of the target. eg. "#elonmusk"
The rank of the trend
The meta description of the trend.eg. "17.7K posts".may be empty.
Status of the request.success or error
success
error
Message of the request.error message