Naver Korean typo correction API
Naver’s correction of a mistyped query, such as Korean typed on an English keyboard (dkssud → 안녕), or "" when it needed none.
GET /v1/naver/errataBeta1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/naver/errata?query=dkssud",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "errata": "안녕"}Parameters
| Name | Type | Description |
|---|---|---|
queryquery · required | string | Example: dkssud. |
Status codes
| Status | Meaning |
|---|---|
200 | The correction. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | Naver has nothing for that search. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Naver is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Which mistakes?
The ones Naver corrects on its results page.
Naver is a trademark of NAVER Corp. We are not affiliated with or endorsed by Naver.