---
title: "Get trending topics"
method: GET
path: "/v1/twitter/trends/"
tags: ["Trends"]
---

# Get trending topics

`GET /v1/twitter/trends/`

Get current trending topics on Twitter. Results can be filtered by category: trending (default), for-you, news, sports, or entertainment. Returns trend names, tweet counts, and context information.

## Query parameters

- `category` 'trending' | 'for-you' | 'news' | 'sports' | 'entertainment'
- `count` integer

## Response `200`

Successfully retrieved trends.

- TrendsResponse — List of trending topics.
  - `data` TrendData[], nullable — Array of trend objects.
    - `name` string, required — Name of the trending topic or hashtag.
    - `url` string, nullable — Twitter search URL for this trend.
    - `query` string, nullable — Search query string for this trend.
    - `tweet_count` integer, nullable — Approximate number of tweets about this trend.
    - `domain_context` string, nullable — Contextual category of the trend (e.g., 'Entertainment', 'Sports').

## Other responses

- `401` — Authentication failed. The API key is missing, invalid, or expired.
- `402` — Insufficient credits. Your account balance has been exhausted. Purchase more credits at https://scrapebadger.com/dashboard/billing.
- `429` — Rate limit exceeded. Too many requests in a given time period. Implement exponential backoff and retry.

---

[API](https://skmtc.net/scrapebadger/apis/scrapebadger-account-api.md) · [All operations](https://skmtc.net/scrapebadger/apis/scrapebadger-account-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scrapebadger/scrapebadger-account-api/revisions/4a1ef8777baf/schema)
