REST(cURL)
curl -X POST https://api.dataxapi.com/v1/douyin/trends/hot-search \
-H "Authorization: Bearer $DATAXAPI_API_KEY" \
-H "Idempotency-Key: your-stable-intent-key" \
-H "Content-Type: application/json" \
-d '{}'douyin.trends.hotsearch@v1
热搜词列表
读取当前公开热搜词及热度、浏览和关联作品快照。
/v1/douyin/trends/hot-search英文名称: Douyin hot search · Hot Search Term · List
Read the current public hot-search terms with observable heat and activity counts.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}{
"code": 200,
"request_id": "req_example_douyin_batch_3",
"message": "success",
"data": {
"items": [
{
"id": "hot-01",
"keyword": "AI 应用",
"rank": 1,
"hot_value": 9876543,
"views": 12345678,
"related_videos": 4321,
"label_code": 3
}
]
},
"page": {
"next_cursor": null
},
"warnings": [],
"meta": {
"result_status": "complete",
"balance_after": "0.98",
"listing_id": "douyin.trends.hotsearch",
"version": "v1",
"catalog_release_id": "catalog-production-2026-09-17.1",
"price_book_version": "pricebook-production-2026-09-17.1",
"charged_amount": "0.02",
"currency": "CNY"
}
}非空完整结果收费;空榜、部分结果和失败不收费。
字段摘要用于快速浏览;完整 JSON Schema 是稳定输出 Contract。
字段code类型number约束与默认值const: 200必填性必填字段request_id类型string约束与默认值无额外约束必填性必填字段message类型string约束与默认值const: "success"必填性必填字段data类型object约束与默认值无额外约束必填性必填字段page类型object约束与默认值无额外约束必填性必填字段warnings类型array约束与默认值无额外约束必填性必填字段meta类型object约束与默认值无额外约束必填性必填{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "number",
"const": 200
},
"request_id": {
"type": "string"
},
"message": {
"type": "string",
"const": "success"
},
"data": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"keyword": {
"type": "string"
},
"rank": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"hot_value": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"views": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"related_videos": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"label_code": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"keyword",
"rank",
"hot_value",
"views",
"related_videos",
"label_code"
],
"additionalProperties": false
}
}
},
"required": [
"items"
],
"additionalProperties": false
},
"page": {
"type": "object",
"properties": {
"next_cursor": {
"type": "null"
}
},
"required": [
"next_cursor"
],
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"meta": {
"type": "object",
"properties": {
"listing_id": {
"type": "string",
"const": "douyin.trends.hotsearch"
},
"version": {
"type": "string",
"const": "v1"
},
"catalog_release_id": {
"type": "string",
"minLength": 1
},
"price_book_version": {
"type": "string",
"minLength": 1
},
"result_status": {
"type": "string",
"const": "complete"
},
"charged_amount": {
"type": "string"
},
"balance_after": {
"type": "string"
},
"currency": {
"type": "string",
"const": "CNY"
}
},
"required": [
"listing_id",
"version",
"catalog_release_id",
"price_book_version",
"result_status",
"charged_amount",
"balance_after",
"currency"
],
"additionalProperties": false
}
},
"required": [
"code",
"request_id",
"message",
"data",
"page",
"warnings",
"meta"
],
"additionalProperties": false
}curl -X POST https://api.dataxapi.com/v1/douyin/trends/hot-search \
-H "Authorization: Bearer $DATAXAPI_API_KEY" \
-H "Idempotency-Key: your-stable-intent-key" \
-H "Content-Type: application/json" \
-d '{}'[mcp_servers.dataxapi] url = "https://api.dataxapi.com/mcp" bearer_token_env_var = "DATAXAPI_API_KEY"
同一个 API Key 只会暴露其 Scope 内的精确 Tool。请把 Key 放在环境变量中,不要写入配置文件。需要安全重试时,请显式复用 idempotency_key。