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

Querit Web Search

https://api.sandbase.ai/v1/api/querit/search

Search the web with Querit and get ranked results with title, URL, snippet and optional page content chunks for AI grounding.

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

Phòng thử nghiệm

Đầu vào
Search term. Supports long natural-language descriptions
Summary chunks per document. Free / PAYG support up to 1; Enterprise up to 3. Deprecated — still available, but migrate to highlights
Optional body-text length limit per result, from 1 to 1,000,000 Unicode code points. Used with needContent: true; omit or send null to return the full available body text without truncation. Default: Full available body text (value unspecified).
Maximum number of results returned. Default: server default (value unspecified).
Filter conditions, see below
Request relevant fragments from the body text. true extracts against the original query at the length the model judges best; the object form takes query and maxCharacters, see below
Whether to return body text. When true, body text lands in each result's sentence field (sentence array)
Đầ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

Querit Web Search

Search the web with Querit and get ranked results with title, URL, snippet and optional page content chunks for AI grounding.

Request

curl -X POST "https://api.sandbase.ai/v1/api/querit/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "electric vehicle market share 2026"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesSearch term. Supports long natural-language descriptions
chunksPerDocintegerNoSummary chunks per document. Free / PAYG support up to 1; Enterprise up to 3. Deprecated — still available, but migrate to highlights
contentMaxCharsintegerNoOptional body-text length limit per result, from 1 to 1,000,000 Unicode code points. Used with needContent: true; omit or send null to return the full available body text without truncation. Default: Full available body
countintegerNoMaximum number of results returned. Default: server default (value unspecified).
filtersobjectNoFilter conditions, see below
highlightsbooleanNoRequest relevant fragments from the body text. true extracts against the original query at the length the model judges best; the object form takes query and maxCharacters, see below
needContentbooleanNoWhether to return body text. When true, body text lands in each result's sentence field (sentence array)

Pricing

Billed at the actual upstream cost of each call (about $0.0048 for the request above). Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
QueritTừ $0.0048 mỗi lần gọiJSON

Câu hỏi

FAQ

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

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/querit/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 Querit Web Search có giá bao nhiêu?

Từ $0.0048 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 Querit Web Search chấp nhận những tham số nào?

Bắt buộc: query (string). Tùy chọn: chunksPerDoc (integer), contentMaxChars (integer), count (integer), filters (object), highlights (boolean) và needContent (boolean). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Querit Web 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 Querit không?

Không. Querit Web 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 Querit.