Get data analysis by search keyword
POST/openapi/2026-01/data-analysis/search-keyword
Retrieve on-site search analytics grouped by search keyword, including the number of searches, the number of searching users, whether the search returned results, and the click-through rate.
Request
- application/json
- Body
- Example
Bodyrequired
count: Number of searchespercent: Share of all searchesuv: Number of searching usershas_result: Whether the search returned resultsclick_rate: Search click-through rateno_filter_crawler: do not filter; count all traffic (default)official_crawler: exclude known crawlers/bots
Start time, a Unix timestamp in seconds passed as a string, e.g. "1748736000"
End time, a Unix timestamp in seconds passed as a string, e.g. "1781481600". Should be greater than begin_time
Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations. Time zone offset (in hours) used for analysis. Recommended range: -12 to 14
Cursor for pagination
Page size for pagination
10Fuzzy match on the search keyword
Field to sort by. Supported values:
Sorting direction: asc (ascending) or desc (descending). Defaults to desc
Filter by whether the search returned results: 1 with results, 0 without results.
Defaults to no filtering
Filter by the visitor's country/region code, e.g. "US"
Crawler-filtering policy that controls whether bot/crawler traffic is excluded from the statistics. Values:
{
"begin_time": "string",
"end_time": "string",
"time_zone": 0,
"cursor": "string",
"page_size": 10,
"keyword": "string",
"sort_by": "string",
"sort_direction": "string",
"has_result": "string",
"country_code": "string",
"filter_crawler_type": "string"
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- ]
error code
error message
data object
Total number of matching search keywords
Cursor for pagination
Whether there are more records
data object[]
List of search keyword report rows
The search keyword, e.g. "shoes"
Number of searches for this keyword
Share of this keyword in all searches, in percent, e.g. 12.34 (represents 12.34%)
Number of users who searched for this keyword, deduplicated by IP
Whether the search returned results: 1 yes, 0 no. A keyword with no results but with click-through is counted as 1
Search click-through rate, in percent (0 ~ 100), e.g. 35.71 (represents 35.71%)
{
"code": "string",
"message": "string",
"data": {
"count": 0,
"cursor": "string",
"has_more": true,
"data": [
{
"item": "string",
"count": 0,
"percent": 0,
"uv": 0,
"has_result": 0,
"click_rate": 0
}
]
}
}