# X (Twitter) Trends

<p>The currently trending topics for a place.</p>

- **Documentation:** [https://scrappa.co/docs/x-twitter/x_twitter_trends](https://scrappa.co/docs/x-twitter/x_twitter_trends)
- **API group:** X (Twitter) API
- **Endpoint:** `GET https://scrappa.co/api/x-twitter/trends`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | string | No | <p>Place to return trends for, such as a country or city.</p> |
| `count` | integer | No | <p>Requested page size. Advisory only: the upstream sets the page size, so the returned result count is what matters.</p> |

## Example response

```json
{
    "count": 2,
    "place": "United States",
    "cursor": null,
    "results": [
        {
            "name": "#SpaceLaunch",
            "post_count": 18400
        },
        {
            "name": "Election2026",
            "post_count": 91200
        }
    ]
}
```

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
