Documentation Index

Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

Identify adult search keywords

Prev Next

Available in Classic and VPC

Identify whether an entered search keyword is an adult search keyword.

Note

Adult search keywords are identified using the Search API, which has a daily call limit of 25,000.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET /search/v1/adult

Request headers

For information about the headers common to NAVER API HUB, see NAVER API HUB request headers.

Request query parameters

You can use the following query parameters with your request:

Field Type Required Description
query String Required Search keyword
  • Encoded with UTF-8
format String Optional Response format
  • json (default) | xml

Request example

The request example is as follows:

curl --location --request GET https://naverapihub.apigw.ntruss.com/search/v1/adult?query=Coffee&format=json
--header X-NCP-APIGW-API-KEY-ID: {Client ID}
--header X-NCP-APIGW-API-KEY: {Client Secret}

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
adult String - Results of adult search keyword identification
  • 0 | 1
    • 0: General search keywords
    • 1: Adult search keywords

Response status codes

The following describes the response status codes.

HTTP status code Code Message Description
400 SE01 Incorrect query request Check for errors in the API request URL, such as the protocol or parameters.
400 SE02 Invalid display value. Check that the display value is within the allowed range.
400 SE03 Invalid start value Check that the start value is within the allowed range.
400 SE04 Invalid sort value Check the sort value for typos.
400 SE06 Malformed encoding Encode the search keyword in UTF-8.
404 SE05 Invalid search API Check the API request URL for typos.
500 SE99 System error An error occurred internally on the server.
Note

For information about the HTTP status codes common to all NAVER API HUB, see NAVER API HUB response status codes.

Response example

The response example is as follows:

{
    "adult": "0"
}