# Douyin City Hot List API

> Returns Douyin trending topics filtered by city location. Allows sorting and filtering by city code, category tags, and search keywords.

Source: https://www.sandbase.ai/model/douyin/billboard/hot-city-list
API reference: https://www.sandbase.ai/model/douyin/billboard/hot-city-list/docs

## Facts

- Provider: Douyin
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/douyin/billboard/hot-city-list`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, douyin
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/douyin/billboard/hot-city-list` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `order` | string | yes |  |
| `page` | integer | yes |  |
| `page_size` | integer | yes |  |
| `city_code` | string | no |  |
| `keyword` | string | no |  |
| `sentence_tag` | string | no |  |

## FAQ

### How do I use the Douyin City Hot List API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/billboard/hot-city-list with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Douyin City Hot List API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Douyin City Hot List API accept?

Required: order (string), page (integer) and page_size (integer). Optional: city_code (string), keyword (string) and sentence_tag (string). The Parameters table and the Playground on this page list every field.

### What does the Douyin City Hot List API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a Douyin developer account or API key?

No. Douyin City Hot List runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Douyin API access separately.

## README

### Douyin City Hot List API

Query Douyin regional trending lists using `city_code` and `sentence_tag` to track location-specific topics and their trend scores.

#### Use cases

- Track trending local topics across specific cities on Douyin.
- Filter regional billboard rankings by category tags or keywords.
- Monitor historical hot score trends for location-based search terms.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-city-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"order": "rank", "page": 1, "page_size": 10}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `page` | integer | Yes | Page number |
| `order` | string | Yes | Sorting method |
| `page_size` | integer | Yes | Number of items per page |
| `keyword` | string | No | Hot search term |
| `city_code` | string | No | City code, get from city list, empty for all |
| `sentence_tag` | string | No | Hot category tag, get from hot list category, multiple categories separated by commas, empty for all |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "data": {
    "objs": [
      {
        "trends": [
          {
            "datetime": "20261006092500",
            "hot_score": 4026339
          }
        ]
      }
    ]
  }
}
```

#### Notes

- Leave `city_code` empty to retrieve trending topics across all cities.
- Multiple tags in `sentence_tag` can be separated by commas, or left empty for all categories.
- Pagination is controlled using the required `page` and `page_size` parameters.

#### Related APIs

- [Douyin Billboard City List](/model/douyin/billboard/city-list): Returns the list of Chinese cities supported by Douyin billboard rankings.
- [Douyin Billboard Vertical Content Tags](/model/douyin/billboard/content-tag): Returns a list of vertical content tags available on the Douyin billboard platform.
- [Douyin Fan Interest Account List](/model/douyin/billboard/hot-account-fans-interest-account-list): Returns a list of 20 accounts that followers of a target creator are interested in on Douyin.
