Fetch item search keywords statistics

Browse registered social-data routes across platforms, then dive into detailed reference docs

API DocsdouyinSearchFetch item search keywords statistics

Fetch item search keywords statistics

What this API is for

  • Get Douyin item search keywords statistics
  • Understand which search keywords users used to find and watch the item
  • Help creators optimize content titles, tags, and descriptions to improve search exposure
  • **This API requires users to provide valid Douyin Creator Platform Cookie**
  • **Use POST method, Cookie is transmitted in request body, more secure**
POST/openapi/api/v1/douyin/creator_v2/fetch_item_search_keyword

Price:Price unavailable · Actual charges depend on free quota and account discounts

Authentication

All API requests require a Bearer project token in the Authorization header

Authorization headerAuthorization: Bearer YOUR_API_TOKEN

Request parameters

  • cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
  • item_id: Item ID (required)
NameLocation / typeRequiredNotesExample
cookiebody / stringYes
  • User Cookie
Your_Cookie_Here
item_idbody / stringYes
  • Item ID
7559536212910853422

Request body example

{
  "cookie": "Your_Cookie_Here",
  "item_id": "7559536212910853422"
}

Request examples

curl -X POST "https://api.trmesh.com/openapi/api/v1/douyin/creator_v2/fetch_item_search_keyword" \
  -H "Authorization: Bearer sdc_your_project_token"

Response fields

  • Returns a list of keywords users searched for to find this item, including:
  • keyword: Search keyword
  • count: Number of times this keyword was searched
  • percentage: Percentage of this keyword in total searches
  • **Note**: If an empty list is returned, it means there is currently no search keyword data for this item, possible reasons:
  • Item was just published and no users have searched for it yet
  • Item is mainly spread through recommendations, follows, etc., not through search
  • No search behavior during the statistics period
FieldTypeNotesExample
keywordunknown
  • Search keyword
countunknown
  • Number of times this keyword was searched
percentageunknown
  • Percentage of this keyword in total searches
Noteunknown
  • If an empty list is returned, it means there is currently no search keyword data for this item, possible reasons:

Common response envelope

Common fields for response status, request identifiers and data

FieldTypeNotesExample
codeinteger
  • HTTP status code | HTTP状态码
request_idstring | null
  • Unique request identifier | 唯一请求标识符
messagestring
  • Response message (EN-US) | 响应消息 (English)
message_zhstring
  • Response message (ZH-CN) | 响应消息 (中文)
supportstring
  • Support message | 支持消息
timestring
  • The time the response was generated | 生成响应的时间
time_stampinteger
  • The timestamp the response was generated | 生成响应的时间戳
time_zonestring
  • The timezone of the response time | 响应时间的时区
docsstring | null
  • Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接
cache_messagestring | null
  • Cache message (EN-US) | 缓存消息 (English)
cache_message_zhstring | null
  • Cache message (ZH-CN) | 缓存消息 (中文)
cache_urlstring | null
  • The URL to access the cached result | 访问缓存结果的 URL
routerstring
  • The endpoint that generated this response | 生成此响应的端点
paramsunknown
  • The parameters used in the request | 请求中使用的参数
dataunknown | null
  • The response data | 响应数据

Response example

{
 "keywords": [
 {
 "keyword": "搞笑视频",
 "count": 1250,
 "percentage": 35.5
 },
 {
 "keyword": "热门音乐",
 "count": 850,
 "percentage": 24.2
 },
 {
 "keyword": "舞蹈教学",
 "count": 620,
 "percentage": 17.6
 }
 ],
 "total_count": 3520,
 "status_code": 0,
 "status_msg": ""
}

Errors and limits

The docs cover not only success responses, but also auth failures, rate limits, and data-service errors

CodeMeaningNotes
200SuccessThe request completed and returned the standard response envelope.
401UnauthorizedThe token is missing, invalid, or no longer active.
429Rate limitedThe request exceeded token, user, or plan-level throughput limits.
502Service unavailableThe gateway could not obtain a healthy result. Retry in a moment.
Next steps

New to the API? Read the guide or explore examples