REST(cURL)
curl -X POST https://api.dataxapi.com/v1/douyin/users/search \
-H "Authorization: Bearer $DATAXAPI_API_KEY" \
-H "Idempotency-Key: your-stable-intent-key" \
-H "Content-Type: application/json" \
-d '{"query":"AI"}'douyin.users.search@v1
用户搜索
按关键词分页发现公开抖音账号,并返回白名单资料快照。
/v1/douyin/users/search英文名称: Douyin user search · User · Search
Page through allowlisted public Douyin account profiles by keyword.
字段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
}
},
"required": [
"query"
],
"additionalProperties": false
}{
"code": 200,
"request_id": "req_example_douyin_expansion",
"message": "success",
"data": {
"items": [
{
"id": "creator-douyin-01",
"sec_uid": "sec_creator_douyin_01",
"unique_id": "fixture-douyin",
"name": "Fixture creator",
"avatar_url": "https://ci.douyin.com/avatar-fixture",
"bio": "Public creator biography",
"verified": false,
"verification": null,
"location": "Shanghai",
"metrics": {
"following": 12,
"followers": 3456,
"likes": 7890,
"videos": 19
}
}
]
},
"page": {
"next_cursor": "cursor_example"
},
"warnings": [],
"meta": {
"result_status": "complete",
"balance_after": "0.98",
"listing_id": "douyin.users.search",
"version": "v1",
"catalog_release_id": "catalog-production-2026-09-17.1",
"price_book_version": "pricebook-production-2026-09-17.1",
"charged_amount": "0.19",
"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": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"sec_uid": {
"type": "string",
"minLength": 1
},
"unique_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"verified": {
"type": "boolean"
},
"verification": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"metrics": {
"type": "object",
"properties": {
"following": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"followers": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"videos": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"following",
"followers",
"likes",
"videos"
],
"additionalProperties": false
}
},
"required": [
"id",
"sec_uid",
"unique_id",
"name",
"avatar_url",
"bio",
"verified",
"verification",
"location",
"metrics"
],
"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.users.search"
},
"version": {
"type": "string",
"const": "v1"
},
"catalog_release_id": {
"type": "string",
"minLength": 1
},
"price_book_version": {
"type": "string",
"minLength": 1
},
"result_status": {
"type": "string",
"enum": [
"complete",
"empty",
"partial"
]
},
"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/users/search \
-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。