querystringrequerido
Search term. Supports long natural-language descriptions
https://api.sandbase.ai/v1/api/querit/searchSearch the web with Querit and get ranked results with title, URL, snippet and optional page content chunks for AI grounding.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Search the web with Querit and get ranked results with title, URL, snippet and optional page content chunks for AI grounding.
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.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search term. Supports long natural-language descriptions |
chunksPerDoc | integer | No | Summary chunks per document. Free / PAYG support up to 1; Enterprise up to 3. Deprecated — still available, but migrate to highlights |
contentMaxChars | integer | No | 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 |
count | integer | No | Maximum number of results returned. Default: server default (value unspecified). |
filters | object | No | Filter conditions, see below |
highlights | boolean | No | 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 |
needContent | boolean | No | Whether to return body text. When true, body text lands in each result's sentence field (sentence array) |
Billed at the actual upstream cost of each call (about $0.0048 for the request above). Failed calls are not charged.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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",
"needContent": false,
"chunksPerDoc": 1
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
querystringrequeridoSearch term. Supports long natural-language descriptions
chunksPerDocintegerSummary chunks per document. Free / PAYG support up to 1; Enterprise up to 3. Deprecated — still available, but migrate to highlights
Valor predeterminado: 1
contentMaxCharsintegerOptional 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).
countintegerMaximum number of results returned. Default: server default (value unspecified).
filtersobjectFilter conditions, see below
highlightsbooleanRequest 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
needContentbooleanWhether to return body text. When true, body text lands in each result's sentence field (sentence array)
Valor predeterminado: false
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Querit Web SearchEsta API Querit | Desde $0.0048 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/querit/search con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
Desde $0.0048 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: query (string). Opcionales: chunksPerDoc (integer), contentMaxChars (integer), count (integer), filters (object), highlights (boolean) y needContent (boolean). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica).
No. Querit Web Search funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Querit por separado.