Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

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.

Harga
Dari $0.0048USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 6 opsional

Playground

Input
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)
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik 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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
QueritDari $0.0048 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API Querit Web Search?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/querit/search dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Querit Web Search?

Mulai dari $0.0048 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Querit Web Search?

Wajib: query (string). Opsional: chunksPerDoc (integer), contentMaxChars (integer), count (integer), filters (object), highlights (boolean) dan needContent (boolean). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Querit Web Search?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).

Apakah saya memerlukan akun developer atau kunci API Querit?

Tidak. Querit Web Search berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Querit secara terpisah.