querystring必須
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.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
querystring必須param name inferred from sibling engine=naver, not independently confirmed
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Naver AI Overviewこの API Naver | $0.015 / 回 | JSON |
Naver | $0.01 / 回 | JSON |
Naver | 1回あたり $0.032 から | JSON |
Naver | $0.01 / 回 | JSON |
Naver | $0.01 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/naver/ai-overview に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.015、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: query (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Naver AI Overview は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Naver の API アクセスを別途申請する必要はありません。