# Naver Search API

> Get Naver web results for a query with organic results, news, blogs, knowledge panels and other Naver sections.

Source: https://www.sandbase.ai/apis/naver/search
API reference: https://www.sandbase.ai/apis/naver/search#api

## Facts

- Provider: Naver
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/naver/search`
- Price: $0.01 per call
- Capabilities: api, naver, web search, serp
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/naver/search` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | yes |  |
| `start` | string | no |  |
| `page` | string | no |  |
| `num` | string | no |  |
| `where` | string | no |  |
| `sort_by` | string | no |  |
| `period` | string | no |  |
| `device` | string | no |  |
| `json_restrictor` | string | no |  |

## FAQ

### How do I use the Naver Search API?

Send a POST request to https://api.sandbase.ai/v1/api/naver/search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Naver Search API cost?

$0.01 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Naver Search API accept?

Required: query (string). Optional: start (string), page (string), num (string), where (string), sort_by (string) and period (string) and 2 more. The Parameters table and the Playground on this page list every field.

### What does the Naver Search API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Naver developer account or API key?

No. Naver Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Naver API access separately.

## README

### Naver Search

Get Naver web results for a query with organic results, news, blogs, knowledge panels and other Naver sections.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/naver/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "커피"}'
```

The result is returned in `outputs[0].data` as structured JSON.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `query` | string | Yes | Parameter defines the search query. You can use anything that you would use in a regular Naver search. (e.g., `'query'`, `NOT`, `OR`, `site:`, `filetype:`, `near:`, `ip:`, `loc:`, `feed:` etc.). |
| `start` | string | No | Parameter controls the offset of the organic results. This parameter defaults to 1 (except for the `web`). (e.g. The formula for all searches except the web is `start = (page number * 10) - 9` e.g. Page number 3 ` (3 * 10) - 9 = 21`) The fo |
| `page` | string | No | The page parameter does the `start` parameter math for you! Just define the page number you want. Pagination starts from 1. |
| `num` | string | No | Parameter defines the maximum number of results to return. `50` (default) returns 50 results. Maximum number of results to return is `100`. Parameter can only be used with Naver Images API. |
| `where` | string | No | Parameter defines the Search type. This parameter defaults to `nexearch`. Available options: `nexearch`: regular Naver Search, `web`: Naver Web Organic Results, `video`: Naver Video Results, `news`: Naver News Results, `image`: Naver Images |
| `sort_by` | string | No | Parameter defines how the search results are sorted. This parameter defaults to `0` for Naver News Results, and `r` for other search types. For Naver News Results: `0`: Relevance (default), `1`: Latest, `2`: Oldest (only supported for news) |
| `period` | string | No | Parameter defines the time period for search results. This parameter defaults to `all`. Available options: `all`: search without time restrictions (default), `1h`: 1 hour, `1d`: 1 day, `1w`: 1 week, `1m`: 1 month, `3m`: 3 months, `6m`: 6 mo |
| `device` | string | No | Parameter defines the device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser. |
| `json_restrictor` | string | No | Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details. |

#### Pricing

$0.010 per successful call. Failed calls are not charged.
