Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Douyin Billboard City List

API-Dokumentation
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.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
0 erforderlich · 0 optional

Playground

Eingabe
Kein Eingabeschema verfügbar
AusgabeBeispiel
Antwortoutputs · 412 B · 26 Zeilen
[
  {
    "data": {
      "code": 0,
      "data": [
        {
          "label": "北京",
          "value": 110000
        },
        {
          "label": "上海",
          "value": 310000
        },
        {
          "label": "广州",
          "value": 440100
        },
        "… 391 more items in the full response"
      ],
      "extra": {
        "now": 1790689523000
      },
      "message": ""
    }
  }
]

Beispiele

Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON

Anleitungen:Best Douyin API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die Douyin Billboard City List API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/douyin/billboard/city-list mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Douyin Billboard City List API?

$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Douyin Billboard City List API?

Douyin Billboard City List benötigt keine Eingabeparameter; senden Sie einen leeren JSON-Body.

Was gibt die Douyin Billboard City List API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Douyin-Entwicklerkonto oder einen API-Schlüssel?

Nein. Douyin Billboard City List läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Douyin API beantragen.