Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Naver Search

Tài liệu API
https://api.sandbase.ai/v1/api/naver/search

Get Naver web results for a query with organic results, news, blogs, knowledge panels and other Naver sections.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 8 tùy chọn

Phòng thử nghiệm

Đầu vào
Parameter defines the search query. You can use anything that you would use in a regular Naver search. (e.g., `'query'`, `NOT`, `OR`, `site:`, `filetype:`, `near:`, `ip:`, `loc:`, `feed:` etc.).
Parameter controls the offset of the organic results. This parameter defaults to 1 (except for the `web`). (e.g. The formula for all searches except the web is `start = (page number * 10) - 9` e.g. Page number 3 ` (3 * 10) - 9 = 21`) The formula for the web will be `start = (page number * 15) - 29` e.g. Page number 3 ` (3 * 15) - 29 = 16`.
The page parameter does the `start` parameter math for you! Just define the page number you want. Pagination starts from 1.
Parameter defines the maximum number of results to return. `50` (default) returns 50 results. Maximum number of results to return is `100`. Parameter can only be used with Naver Images API.
Parameter defines the Search type. This parameter defaults to `nexearch`. Available options: `nexearch`: regular Naver Search, `web`: Naver Web Organic Results, `video`: Naver Video Results, `news`: Naver News Results, `image`: Naver Images API.
Parameter defines how the search results are sorted. This parameter defaults to `0` for Naver News Results, and `r` for other search types. For Naver News Results: `0`: Relevance (default), `1`: Latest, `2`: Oldest (only supported for news). For other search types: `r`: Relevance (default), `dd`: Latest.
Parameter defines the time period for search results. This parameter defaults to `all`. Available options: `all`: search without time restrictions (default), `1h`: 1 hour, `1d`: 1 day, `1w`: 1 week, `1m`: 1 month, `3m`: 3 months, `6m`: 6 months, `1y`: 1 year, Custom date range in the format `fromYYYYMMDDtoYYYYMMDD` (e.g., `from20250801to20250830`). Additional options for Naver News Results only: `2h`: 2 hours, `3h`: 3 hours, `4h`: 4 hours, `5h`: 5 hours, `6h`: 6 hours.
Parameter defines the device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Naver Search

Get Naver web results for a query with organic results, news, blogs, knowledge panels and other Naver sections.

Request

curl -X POST "https://api.sandbase.ai/v1/api/naver/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "커피"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
querystringYesParameter defines the search query. You can use anything that you would use in a regular Naver search. (e.g., 'query', NOT, OR, site:, filetype:, near:, ip:, loc:, feed: etc.).
startstringNoParameter controls the offset of the organic results. This parameter defaults to 1 (except for the web). (e.g. The formula for all searches except the web is start = (page number * 10) - 9 e.g. Page number 3 (3 * 10) - 9 = 21) The fo
pagestringNoThe page parameter does the start parameter math for you! Just define the page number you want. Pagination starts from 1.
numstringNoParameter defines the maximum number of results to return. 50 (default) returns 50 results. Maximum number of results to return is 100. Parameter can only be used with Naver Images API.
wherestringNoParameter defines the Search type. This parameter defaults to nexearch. Available options: nexearch: regular Naver Search, web: Naver Web Organic Results, video: Naver Video Results, news: Naver News Results, image: Naver Images
sort_bystringNoParameter defines how the search results are sorted. This parameter defaults to 0 for Naver News Results, and r for other search types. For Naver News Results: 0: Relevance (default), 1: Latest, 2: Oldest (only supported for news)
periodstringNoParameter defines the time period for search results. This parameter defaults to all. Available options: all: search without time restrictions (default), 1h: 1 hour, 1d: 1 day, 1w: 1 week, 1m: 1 month, 3m: 3 months, 6m: 6 mo
devicestringNoParameter defines the device to use to get the results. It can be set to desktop (default) to use a regular browser, tablet to use a tablet browser (currently using iPads), or mobile to use a mobile browser.
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Naver SearchAPI này
Naver
$0.01 mỗi lần gọiJSON
Naver$0.01 mỗi lần gọiJSON
Naver$0.015 mỗi lần gọiJSON
NaverTừ $0.032 mỗi lần gọiJSON
Naver$0.01 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Naver Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/naver/search 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.

API Naver Search có giá bao nhiêu?

$0.01 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ý.

API Naver Search chấp nhận những tham số nào?

Bắt buộc: query (string). Tùy chọn: start (string), page (string), num (string), where (string), sort_by (string) và period (string) và 2 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Naver Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của Naver không?

Không. Naver Search 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.