Douyin Billboard Fetch Hot City List

2.07 credits/call
ae_douyin_billboard_fetch_hot_city_list

Retrieve the Douyin city hot-topic ranking with pagination and optional filters. Required inputs: - page: Integer page number. - page_size: Integer number of items per page. - order: Sorting method; use rank for popularity or rank_diff for ranking change. Optional inputs: - city_code: City code obtained from the city list. Defaults to an empty string, meaning all cities. - sentence_tag: Category tags obtained from hot-list categories. Separate multiple tags with commas. Defaults to an empty string, meaning all categories. - keyword: Hot-topic search term. Defaults to an empty string. Returns the city hot-list response for the requested page and filters. The data field contains the returned ranking data; individual entry fields are not specified by the response schema. This tool does not retrieve city-code or category-tag lookup lists.

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
pageintegerYes页码—
orderstringYes排序方式—
keywordstringNo热点搜索词""
city_codestringNo城市编码,从城市列表获取,空为全部""
page_sizeintegerYes每页数量—
sentence_tagstringNo热点分类标签,从热点榜分类获取,多个分类用逗号分隔,空为全部""

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_douyin_billboard_fetch_hot_city_list' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "city_code": "310000",
    "keyword": "静安",
    "order": "rank",
    "page": 1,
    "page_size": 5,
    "sentence_tag": ""
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "code": 0,
    "data": {
      "last_update_time": "20261111171500",
      "objs": [
        {
          "SnapshotID": 20261111171500,
          "SnapshotSubType": "310000",
          "SnapshotType": 1,
          "allow_publish": false,
          "city_code": 310000,
          "city_name": "上海"
        }
      ],
      "page": {
        "page": 1,
        "page_size": 5,
        "total": 1
      }
    },
    "extra": {
      "now": 1794388737000
    },
    "message": ""
  },
  "docs": "https://api.tikhub.io/#/Douyin-Billboard-API/fetch_hot_city_list_api_v1_douyin_billboard_fetch_hot_city_list_get",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "params": {
    "city_code": "310000",
    "keyword": "静安",
    "order": "rank",
    "page": "1",
    "page_size": "5",
    "sentence_tag": ""
  }
}

This example shows part of the response. Copied content is valid JSON.