Available in Classic and VPC
The Search Trend service is scheduled to be discontinued in July 2026, so please use the NAVER API HUB, which was newly released in June 2026. For more information, see NAVER API HUB.
Provide statistics of NAVER Unified Search's trend data by period for a group of topic keywords, analyzed by age, gender, and search environment in JSON format.
It is identical to the Search keyword trend search results in NAVER DataLab.
Request
This section describes the request format. The method and URI are as follows:
| Method | URI |
|---|---|
| POST | /search |
Request headers
For information about the headers common to all Search Trend APIs, see Search Trend request headers.
Request body
You can include the following data in the body of your request:
| Field | Type | Required | Description |
|---|---|---|---|
startDate |
String | Required | Data query start date
|
endDate |
String | Required | Data query end date
|
timeUnit |
String | Required | Data query section unit
|
keywordGroups |
Array[String] | Required |
|
device |
String | Optional | Search device environment filter
|
ages |
Array[String] | Optional | Age filter
|
gender |
String | Optional | Gender filter
|
keywordGroups
The following describes keywordGroups.
| Field | Type | Required | Description |
|---|---|---|---|
groupName |
String | Required | Group name (topic keyword)
|
keywords |
String | Required | Search keyword list for a group
|
Request example
The request example is as follows:
curl --location --request POST 'https://naveropenapi.apigw.ntruss.com/datalab/v1/search' \
--header 'x-ncp-apigw-api-key-id: {Client ID issued when registering the app}' \
--header 'x-ncp-apigw-api-key: {Client secret issued when registering the app}' \
--header 'Content-Type: application/json' \
--data '{
"startDate": "2024-08-15",
"endDate": "2024-08-19",
"timeUnit": "date",
"keywordGroups": [
{
"groupName": "Maratang",
"keywords": [
"Maratang",
"Guo bao rou",
"Egg fried rice"
]
}
],
"device": "mo",
"ages": [
"4",
"5"
],
"gender": "f"
}'
Response
This section describes the response format.
Response body
The response body includes the following data:
| Field | Type | Required | Description |
|---|---|---|---|
startDate |
String | - | Data query start date
|
endDate |
String | - | Data query end date
|
timeUnit |
String | - | Data query section unit
|
results |
Array | - | Group information: results |
results
The following describes results.
| Field | Type | Required | Description |
|---|---|---|---|
title |
String | - | Group name (topic keyword) |
keywords |
String | - | Group search keyword list |
data |
Array | - | Information by section: data |
data
The following describes data.
| Field | Type | Required | Description |
|---|---|---|---|
period |
String | - | Start date by data query section
|
ratio |
Integer | - | Search/click ratio by data query section
|
Response status codes
For information about the HTTP status codes common to all Search Trend APIs, see Search Trend response status codes.
Response example
The response example is as follows:
{
"startDate": "2024-08-15",
"endDate": "2024-08-19",
"timeUnit": "date",
"results": [
{
"title": "Maratang",
"keywords": [
"Maratang",
"Guo bao rou",
"Egg fried rice"
],
"data": [
{
"period": "2024-08-15",
"ratio": 100
},
{
"period": "2024-08-16",
"ratio": 84.81543
},
{
"period": "2024-08-17",
"ratio": 88.33892
},
{
"period": "2024-08-18",
"ratio": 97.31543
}
]
}
]
}