# List trends

List the ranked trending topics for a location by WOEID, each with a search query. `woeid` 1 is worldwide.

- Platform: X (Twitter)
- Request: `GET https://api.toolzerhub.com/v1/x/trends`
- Auth: `x-api-key` header
- Cost: 7 credits per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/x-twitter/trends/list-x-trends

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `woeid` | query | no | integer | Where On Earth ID of the location. 1 is worldwide and 23424977 is the United States. Default: 1. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/x/trends" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
