Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Douyin Billboard City List

API dokümanları
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.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
0 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Kullanılabilir giriş şeması yok
ÇıktıÖrnek
Yanıtoutputs · 412 B · 26 satır
[
  {
    "data": {
      "code": 0,
      "data": [
        {
          "label": "北京",
          "value": 110000
        },
        {
          "label": "上海",
          "value": 310000
        },
        {
          "label": "广州",
          "value": 440100
        },
        "… 391 more items in the full response"
      ],
      "extra": {
        "now": 1790689523000
      },
      "message": ""
    }
  }
]

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

API README

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON

Kılavuzlar:Best Douyin API in 2026: Pricing Compared

Sorular

SSS

Douyin Billboard City List API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/douyin/billboard/city-list adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Douyin Billboard City List API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Douyin Billboard City List API'si hangi parametreleri kabul eder?

Douyin Billboard City List hiçbir giriş parametresi almaz; boş bir JSON gövdesi gönderin.

Douyin Billboard City List API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Douyin geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Douyin Billboard City List, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Douyin API erişimi için ayrıca başvuru yapmanız gerekmez.