querystringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
querystringbắt buộcparam name inferred from sibling engine=naver, not independently confirmed
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Naver AI OverviewAPI này Naver | $0.015 mỗi lần gọi | JSON |
Naver | $0.01 mỗi lần gọi | JSON |
Naver | Từ $0.032 mỗi lần gọi | JSON |
Naver | $0.01 mỗi lần gọi | JSON |
Naver | $0.01 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/naver/ai-overview với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.015 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: query (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Naver AI Overview chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Naver.