100 free credits. No credit card required. Get a key

Naver web document search API

Web documents Naver returns for a Korean query: title, link and description.

GET /v1/naver/webkr/searchBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/naver/webkr/search?query=%EC%BB%A4%ED%94%BC",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"query": "커피",
"start": 1,
"display": 7,
"items": [
{
"title": "커피 - 위키백과 한국어",
"link": "https://ko.wikipedia.org/wiki/%EC%BB%A4%ED%94%BC",
"description": "커피 ( 영어: coffee , 咖啡, 珈琲, 가배, 문화어: 흑차, 검은차), 커피차 또는 커피음료 ( 영어: coffee beverage )는 커피 나무 열매의 씨(커피콩)를 볶아 가루로 낸 것을 따뜻한 물과 차…"
},
{
"title": "커피 - 나무위키",
"link": "https://namu.wiki/w/%EC%BB%A4%ED%94%BC",
"description": "Coffee 커피나무 열매의 씨앗(원두)을 볶아 향을 내고, 딱딱한 씨앗의 성분이 물에 잘 우러나오도록 갈은 뒤, 물에 타서 마시는 음료다."
},
"… 5 more"
]
}

Parameters

NameTypeDescription
queryquery · requiredstringExample: 커피.
displayqueryintegerResults to return (Naver’s page holds up to 30; default 10).
startqueryinteger
sortquery"sim" | "date"One of sim, date.
excludequerystringComma-separated words to leave out (sent as -word).
sincequerystring
untilquerystring
Status codes
StatusMeaning
200Web documents.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404Naver has nothing for that search.
429Too many requests. Wait for Retry-After seconds.
503Naver is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Date order?

Web documents come in Naver’s relevance order only.

Naver is a trademark of NAVER Corp. We are not affiliated with or endorsed by Naver.