Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Douyin Billboard City List

Документация API
https://api.sandbase.ai/v1/api/douyin/billboard/city-list

Returns the list of Chinese cities supported by Douyin billboard rankings. Use this data to populate regional filters for location-specific trending lists.

Цена
$0.001USD / вызов
Метод
POST
Ответ
JSON
Параметры
0 обязательных · 0 необязательных

Песочница

Ввод
Схема ввода недоступна
ВыходПример
Ответoutputs · 412 B · 26 строк
[
  {
    "data": {
      "code": 0,
      "data": [
        {
          "label": "北京",
          "value": 110000
        },
        {
          "label": "上海",
          "value": 310000
        },
        {
          "label": "广州",
          "value": 440100
        },
        "… 391 more items in the full response"
      ],
      "extra": {
        "now": 1790689523000
      },
      "message": ""
    }
  }
]

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в playground.

README по API

Douyin Billboard City List API

Returns the list of Chinese cities that Douyin billboard rankings support. Each city has a display name and a numeric code. The API takes no input.

Use cases

  • Fill a city dropdown in a dashboard that shows local Douyin trending lists.
  • Store the city codes so you can pass them to city-based billboard queries.
  • Check whether a city is supported before you build a regional report.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/city-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": 0,
  "data": [
    {
      "label": "北京",
      "value": 110000
    }
  ],
  "extra": {
    "now": 1793691103000
  },
  "message": ""
}

Response fields

FieldMeaning
codeStatus code of the response. The sample shows 0.
data[]One entry for each supported city.
data[].labelCity name in Chinese, such as 北京 or 上海.
data[].valueNumeric code for the city, such as 110000 for 北京. Use it to identify the city in other requests.
extra.nowTimestamp of the response as a number, in the form of 13 digits (milliseconds).
messageMessage text. It is an empty string in the sample.

Notes

  • Send an empty JSON object {} as the request body. The API has no parameters.
  • Call Douyin City Hot List next to get city-based rankings.
  • The value codes look like Chinese administrative region codes, for example 110000 and 440100.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Douyin$0.001 за запросJSON
Douyin$0.001 за запросJSON
Douyin$0.001 за запросJSON
Douyin$0.001 за запросJSON
Douyin$0.001 за запросJSON
Douyin$0.001 за запросJSON

Руководства:Best Douyin API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Douyin Billboard City List?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/billboard/city-list, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Douyin Billboard City List?

$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Douyin Billboard City List?

Douyin Billboard City List не принимает входных параметров; отправьте пустое тело JSON.

Что возвращает API Douyin Billboard City List?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Douyin или API key?

Нет. Douyin Billboard City List работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.