querystringwymagane
param name inferred from sibling engine=naver, not independently confirmed
https://api.sandbase.ai/v1/api/naver/ai-overviewNaver's AI-generated overview answer for a search query, with the cited sources.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
This API returns Naver's AI-generated overview answer for a search query. It needs one input, the search query. The response has the answer as Markdown and as structured text blocks, plus the cited sources.
curl -X POST "https://api.sandbase.ai/v1/api/naver/ai-overview" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "coffee"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | param name inferred from sibling engine=naver, not independently confirmed |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"markdown": "커피는 커피나무 열매의 씨앗인 원두를 볶고 갈아 물에 타 마시는 음료로, 각성 효과를 주는 카페인을 함유하고 있습니다.[1]\n\n### 커피의 기…",
"media": [
{
"link": "https://namu.wiki/w/%EC%BB%A4%ED%94%BC",
"platform": "나무위키",
"position": 1,
"thumbnail": "https://i.namu.wiki/i/TJ2S7OjGghZz9-weVWcfWMStWAnmfwETnPV_vL1NnmkUBqUiDQvKOJ0Xtb…",
"title": "커피 - 나무위키",
"type": "image"
}
],
"references": [
{
"index": 1,
"link": "https://namu.wiki/w/%EC%BB%A4%ED%94%BC",
"snippet": "개요 Coffee 커피나무 열매의 씨앗(원두)을 볶아 향을 내고 , 딱딱한 씨앗의 성분이 물에 잘 우러나오도록 갈은 뒤, 물에 타서 마시는 음료…",
"source": "나무위키",
"source_icon": "https://namu.wiki/favicon.svg",
"title": "커피 - 나무위키"
}
],
"text_blocks": [
{
"reference_indexes": [
1
],
"snippet": "커피는 커피나무 열매의 씨앗인 원두를 볶고 갈아 물에 타 마시는 음료로, 각성 효과를 주는 카페인을 함유하고 있습니다.",
"type": "paragraph"
}
]
}
| Field | Meaning |
|---|---|
markdown | The full overview answer as one Markdown string. Citation markers such as [1] point to entries in references. |
text_blocks[].type | The kind of block: paragraph, header or list. |
text_blocks[].snippet | The text of a paragraph or header block. |
text_blocks[].reference_indexes | The index values of the references that support this block. |
text_blocks[].list[].snippet / text_blocks[].list[].reference_indexes | The text of one list item and the references that support it. Lists appear in blocks where type is list, and list_type tells you if the list is unordered. |
references[].index | The number of the source. Match it to the citation markers in markdown and to reference_indexes. |
references[].title / references[].link / references[].source | The title, URL and site name of a cited source. |
references[].snippet | A short excerpt from the cited page. |
media[].link / media[].title / media[].platform | The URL, title and site name of a related media item, such as a wiki page or a Naver blog post. |
media[].thumbnail / media[].position | The thumbnail image URL of a media item and its order in the list. |
query. The example request uses coffee.query parameter name is inferred from the sibling Naver APIs and is not independently confirmed.name field, for example the blog name for a Naver blog post.$0.015 per successful call. Failed calls are not charged.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/naver/ai-overview" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "coffee"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
querystringwymaganeparam name inferred from sibling engine=naver, not independently confirmed
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Naver AI OverviewTo API Naver | $0.015 za wywołanie | JSON |
Naver | $0.01 za wywołanie | JSON |
Naver | Od $0.032 za wywołanie | JSON |
Naver | $0.01 za wywołanie | JSON |
Naver | $0.01 za wywołanie | JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/naver/ai-overview z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.015 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: query (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Naver AI Overview działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Naver.