REST(cURL)
curl -X POST https://api.dataxapi.com/v1/douyin/trends/rising \
-H "Authorization: Bearer $DATAXAPI_API_KEY" \
-H "Idempotency-Key: your-stable-intent-key" \
-H "Content-Type: application/json" \
-d '{"query":"AI"}'douyin.trends.rising@v1
上升话题搜索
分页读取正在上升的公开热点及可观察热度曲线。
/v1/douyin/trends/rising英文名称: Douyin rising trends · Rising Topic · Search
Read rising public topics with an observable heat curve and rank movement.
字段query类型string约束与默认值minLength: 1 · maxLength: 64必填性选填字段cursor类型string约束与默认值minLength: 1必填性选填{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"cursor": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}{
"code": 200,
"request_id": "req_example_douyin_batch_3",
"message": "success",
"data": {
"items": [
{
"id": "12345",
"title": "AI 新工具",
"rank": 2,
"rank_change": 5,
"hot_score": 88000,
"video_count": 321,
"created_at": "2026-08-27T00:00:00.000Z",
"category": "科技",
"cover_url": "https://ci.douyin.com/rising-cover",
"trend": [
{
"observed_at": "2026-08-27T00:00:00.000Z",
"hot_score": 88000
}
]
}
]
},
"page": {
"next_cursor": "J6mQ2yN0dWg4R3pL.P2zQ7sN9vK1xM4bT6cF8hA.Y5tR2mW8kL4nQ7pV1cD9sA"
},
"warnings": [],
"meta": {
"result_status": "complete",
"balance_after": "0.98",
"listing_id": "douyin.trends.rising",
"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"
}
}仅非空完整结果收费;空页、部分结果和失败不收费。
安全验证
正在加载安全验证…
正在确认实时执行状态…
// Result
字段摘要用于快速浏览;完整 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": {
"minItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"title": {
"type": "string",
"minLength": 1
},
"rank": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"rank_change": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"hot_score": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"video_count": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cover_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"trend": {
"minItems": 1,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"observed_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
"hot_score": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"observed_at",
"hot_score"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
{
"type": "null"
}
]
},
"hot_score": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"observed_at",
"hot_score"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"id",
"title",
"rank",
"rank_change",
"hot_score",
"video_count",
"created_at",
"category",
"cover_url",
"trend"
],
"additionalProperties": false
}
}
},
"required": [
"items"
],
"additionalProperties": false
},
"page": {
"type": "object",
"properties": {
"next_cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"next_cursor"
],
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"meta": {
"type": "object",
"properties": {
"listing_id": {
"type": "string",
"const": "douyin.trends.rising"
},
"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/rising \
-H "Authorization: Bearer $DATAXAPI_API_KEY" \
-H "Idempotency-Key: your-stable-intent-key" \
-H "Content-Type: application/json" \
-d '{"query":"AI"}'[mcp_servers.dataxapi] url = "https://api.dataxapi.com/mcp" bearer_token_env_var = "DATAXAPI_API_KEY"
同一个 API Key 只会暴露其 Scope 内的精确 Tool。请把 Key 放在环境变量中,不要写入配置文件。需要安全重试时,请显式复用 idempotency_key。