---
title: "Get trending hashtags and topics from X by region"
method: GET
path: "/api/v1/x/trends"
tags: ["Trends"]
---

# Get trending hashtags and topics from X by region

`GET /api/v1/x/trends`

Get trending hashtags and topics from X by region.

## Query parameters

- `woeid` integer
- `count` integer

## Response `200`

List of trending topics

- object
  - `trends` object[], required
    - `name` string, required
    - `description` string
    - `query` string
    - `promotedContent` string, nullable — Promotion identifier from X. Null for organic trends.
    - `rank` integer
    - `tweetVolume` integer, nullable — Approximate public post volume when X supplies it.
    - `url` string, uri — X search URL for the trend.
  - `count` integer, required
  - `woeid` integer, required

## Other responses

- `401` — Unauthenticated
- `402` — Payment required. Fixed-price direct MPP requests return a Machine Payments Protocol problem document and a WWW-Authenticate challenge. Authenticated X data requests return balances and explicit Stripe checkout-creation actions. Guest paid-read keys receive only the accountless guest top-up action. Direct MPP challenges also advertise the Stripe wallet action. Other authenticated endpoints return a legacy error shape. A failed request never creates checkout. Create checkout only after the user confirms a payment option.
- `424` — Dependency unavailable, unauthorized, or rate limited. Default v1 returns 502. The best-practice response contract returns 424 for transparent dependency failures.
- `429` — Xquik tier rate limit exceeded. The response includes a `Retry-After` header with the number of seconds to wait before retrying.
- `502` — Dependency unavailable, unauthorized, or rate limited. Default v1 returns 502. The best-practice response contract returns 424 for transparent dependency failures.
- `default` — Unexpected error.

---

[API](https://skmtc.net/xquik-dev/apis/xquik-api-2.md) · [All operations](https://skmtc.net/xquik-dev/apis/xquik-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xquik-dev/xquik-api-2/versions/c70f0e286159/schema)
