Get X Trends
x-trendsRetrieve trending topics on X (Twitter) for a location by its WOEID. Provide a WOEID and optional count to get current regional trends.
Instructions
Retrieve trending topics on X (Twitter) for a location by its WOEID using Desearch.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"woeid": "<woeid>"
},
"name": "x-trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of trends to return (30-100). | |
| woeid | Yes | WOEID of the location, example: 23424977 for the United States. |