> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapebadger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Autocomplete

> Get Naver search-box query suggestions for a partial term, each tagged with a type.

Get Naver's search-box suggestions for a partial term. The cheapest call in
this API — useful for expanding a seed keyword into real Naver queries before
running [`/search`](https://docs.scrapebadger.com/api-reference/endpoint/naver/search) on each one. Each
suggestion is tagged with a `type` describing what kind of entity it points to.

**Credits:** 1

## Authorization

**X-API-Key** `string` *required*

Your ScrapeBadger API key.

## Query Parameters

**query** `string` *required*

Partial search term, e.g. `제주`.

## Response

**query** `string`

Echo of the requested term.

**result\_count** `integer`

Number of suggestions.

**suggestions** `Suggestion[]`

Suggested queries, in Naver's order.

**Suggestion**

**query** `string`

The suggested query text.

**type** `string`

The suggestion kind, e.g. `keyword`, `place`.

## Example

```bash cURL theme={null}
curl "https://scrapebadger.com/v1/naver/autocomplete?query=제주" \
  -H "X-API-Key: YOUR_API_KEY"
```

```javascript Node.js theme={null}
const res = await fetch(
  "https://scrapebadger.com/v1/naver/autocomplete?" +
    new URLSearchParams({ query: "제주" }),
  { headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY } },
);
const { suggestions } = await res.json();
```

```python Python theme={null}
import requests

res = requests.get(
    "https://scrapebadger.com/v1/naver/autocomplete",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"query": "제주"},
)
suggestions = res.json()["suggestions"]
```

```json Response theme={null}
{
  "query": "제주",
  "result_count": 6,
  "suggestions": [
    { "query": "제주도 맛집", "type": "keyword" },
    { "query": "제주도 여행", "type": "keyword" },
    { "query": "제주 날씨", "type": "keyword" },
    { "query": "제주항공", "type": "keyword" },
    { "query": "제주 렌트카", "type": "keyword" },
    { "query": "제주도 가볼만한곳", "type": "keyword" }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.