Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Douyin Billboard City List

Docs da 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.

Preço
$0.001USD / chamada
Método
POST
Resposta
JSON
Parâmetros
0 obrigatórios · 0 opcionais

Playground

Entrada
Nenhum esquema de entrada disponível
SaídaExemplo
Respostaoutputs · 412 B · 26 linhas
[
  {
    "data": {
      "code": 0,
      "data": [
        {
          "label": "北京",
          "value": 110000
        },
        {
          "label": "上海",
          "value": 310000
        },
        {
          "label": "广州",
          "value": 440100
        },
        "… 391 more items in the full response"
      ],
      "extra": {
        "now": 1790689523000
      },
      "message": ""
    }
  }
]

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da 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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON

Guias:Best Douyin API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Douyin Billboard City List?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/billboard/city-list com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Douyin Billboard City List?

$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Douyin Billboard City List aceita?

Douyin Billboard City List não recebe parâmetros de entrada; envie um corpo JSON vazio.

O que a API Douyin Billboard City List retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Douyin ou de uma chave de API?

Não. Douyin Billboard City List funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Douyin separadamente.