Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Exa Search

Documentazione API
https://api.sandbase.ai/v1/api/exa/search

Neural web search for AI apps and agents. Ask in natural language and get the most relevant pages, with optional highlights, summaries or full text, domain filters and date ranges.

Prezzo
$0.0105USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 10 opzionali

Playground

Input
The natural-language search query.
Search mode. auto lets Exa choose; the deep modes trade latency for higher-quality retrieval.
1100
Number of results to return. Intervallo: da 1 a 100.
Optional hint about the kind of pages to prioritize.
Only return results from these domains.
Exclude results from these domains.
Only return results published on or after this ISO 8601 date. Formato: data e ora ISO 8601.
Only return results published on or before this ISO 8601 date. Formato: data e ora ISO 8601.
Content options to return alongside each result.
JSON Schema used to synthesize a structured output from the results.
Instruction that guides how the structured output is generated.
OutputEsempio
Rispostaoutputs · 6.2 KB · 110 righe
{
  "costDollars": {
    "search": {
      "neural": 0.007
    },
    "total": 0.007
  },
  "requestId": "4e501adfb0964e93aeb79ea00e2fda20",
  "resolvedSearchType": "",
  "results": [
    {
      "highlights": [
        "Recognizing the coupling between ferroelectricity and chirality in optically active ferroelectrics opens a route for manipulating chirality via ferroelectricity under an external electric field, enabling control over chirality-dependent quantum states. Here, we report the experimental demonstration of the coupling between ferroelectricity and phonon chirality in the molecular ferroelectric triglycine sulfate. By electrically switching the crystal chirality, we achieve reversible and device-compatible control of phonon chirality, as revealed by in situ time-resolved magneto-optical Kerr effect …"
      ],
      "id": "https://www.nature.com/articles/s41467-026-73317-4",
      "image": "https://media.springernature.com/m685/springer-static/image/art%3A10.1038%2Fs41467-026-73317-4/MediaObjects/41467_2026_73317_Fig1_HTML.png",
      "publishedDate": "2026-05-29T00:00:00.000Z",
      "title": "Coupled ferroelectricity and phonon chirality | Nature Communications",
      "url": "https://www.nature.com/articles/s41467-026-73317-4"
    },
    {
      "author": "Hao Chen, Weikang Wu, Sun KangTai, Shengyuan A. Yang, Lifa Zhang",
      "entities": [
        {
          "id": "https://exa.ai/library/publication/bnnscj7n6cy",
          "properties": {
            "abstract": "Chiral phonons have attracted increasing attention, as they play important roles in many different systems and processes. However, a method to control phonon chirality by external fields is still lacking. Here, we propose that in displacement-type ferroelectric materials, an external electric field can reverse the chirality of chiral phonons via ferroelectric switching. Using first-principles calculations, we demonstrate this point in the well-known two-dimensional ferroelectric In2Se3. This reversal may lead to a number of electrically switchable phenomena, such as chiral phonon induced magne…",
            "authors": [
              {
                "id": null,
                "name": "Hao Chen"
              },
              {
                "id": null,
                "name": "Weikang Wu"
              },
              {
                "id": null,
                "name": "Sun KangTai"
              },
              "… 2 more items in the full response"
            ],
            "citationCount": 5,
            "date": "2024-02-26",
            "doi": "10.1063/5.0196731",
            "language": "en",
            "referenceCount": 38,
            "title": "Electrically controllable chiral phonons in ferroelectric materials",
            "type": "article",
            "year": 2024
          },
          "type": "publication",
          "version": 1
        }
      ],
      "highlights": [
        "# Electrically controllable chiral phonons in ferroelectric materials\n...\nChiral phonons have attracted increasing attention, as they play important roles in many different systems and processes. However, a method to control phonon chirality by external fields is still lacking. Here, we propose that in displacement-type ferroelectric materials, an external electric field can reverse the chirality of chiral phonons via ferroelectric switching. Using first-principles calculations, we demonstrate this point in the well-known two-dimensional ferroelectric In2Se3. This reversal may lead to a number…"
      ],
      "id": "https://exa.ai/library/publication/bnnscj7n6cy",
      "publishedDate": "2024-02-26T00:00:00.000Z",
      "title": "Electrically controllable chiral phonons in ferroelectric materials",
      "url": "https://doi.org/10.1063/5.0196731"
    },
    {
      "author": "Hiroki Ueda, Abhishek Nag, Carl P. Romao, Mirian García‐Fernández, Ke‐Jin Zhou, U. Staub",
      "entities": [
        {
          "id": "https://exa.ai/library/publication/1s4tb68ndjt",
          "properties": {
            "abstract": "Abstract Quasiparticles describe collective excitations in many-body systems, and their symmetry classification is of fundamental importance for physical processes such as excited states, transport phenomena, and phase transitions. Recent studies have introduced chirality as an additional degree of freedom in condensed matter physics, leading to a range of novel phenomena. Among these, chiral phonons are of special interest because they carry angular momentum and therefore intrinsically break time reversal symmetry, which non-trivially bridges the spin system with the lattice. Here, we directl…",
            "authors": [
              {
                "id": null,
                "name": "Hiroki Ueda"
              },
              {
                "id": null,
                "name": "Abhishek Nag"
              },
              {
                "id": null,
                "name": "Carl P. Romao"
              },
              "… 3 more items in the full response"
            ],
            "citationCount": 7,
            "date": "2025-12-05",
            "doi": "10.1038/s41467-025-66911-5",
            "language": "en",
            "referenceCount": 33,
            "title": "Chiral phonons in polar LiNbO3",
            "type": "article",
            "year": 2025
          },
          "type": "publication",
          "version": 1
        }
      ],
      "highlights": [
        "Quasiparticles describe collective excitations in many-body systems, and their symmetry classification is of fundamental importance for physical processes such as excited states, transport phenomena, and phase transitions. Recent studies have introduced chirality as an additional degree of freedom in condensed matter physics, leading to a range of novel phenomena. Among these, chiral phonons are of special interest because they carry angular momentum and therefore intrinsically break time reversal symmetry, which non-trivially bridges the spin system with the lattice. Here, we directly prove t…"
      ],
      "id": "https://exa.ai/library/publication/1s4tb68ndjt",
      "publishedDate": "2025-12-05T00:00:00.000Z",
      "title": "Chiral phonons in polar LiNbO3",
      "url": "https://doi.org/10.1038/s41467-025-66911-5"
    },
    "… 2 more items in the full response"
  ],
  "searchTime": 952.1
}

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

Exa Search API

Exa Search returns web pages ranked by meaning for a natural-language query. It needs a query and can also return highlights, summaries or full text for each result.

Use cases

  • Feed relevant web pages into an LLM agent as sources for an answer.
  • Search only openai.com or other chosen domains to find official documentation.
  • Find news or research papers on a topic within a set publish-date window.
  • Pull highlight snippets for many pages to check which ones match a topic before reading them in full.

The Python Exa search example with domain filters and highlights shows how to request sources using the documented SandBase envelope. For an independently generated answer, inspect the Exa Answer request reference; the Search filter settings are not automatically carried into that call.

Request

curl -X POST "https://api.sandbase.ai/v1/api/exa/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "OpenAI Codex documentation", "type": "fast", "numResults": 3, "contents": {"highlights": true}}'

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

Parameters

NameTypeRequiredDescription
querystringYesThe natural-language search query.
categorystringNoOptional hint about the kind of pages to prioritize.
contentsobjectNoContent options to return alongside each result.
endPublishedDatestringNoOnly return results published on or before this ISO 8601 date.
excludeDomainsarrayNoExclude results from these domains.
includeDomainsarrayNoOnly return results from these domains.
numResultsintegerNoNumber of results to return.
outputSchemaobjectNoJSON Schema used to synthesize a structured output from the results.
startPublishedDatestringNoOnly return results published on or after this ISO 8601 date.
systemPromptstringNoInstruction that guides how the structured output is generated.
typestringNoSearch mode. auto lets Exa choose; the deep modes trade latency for higher-quality retrieval.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "requestId": "d90a84d1907c9964235784d496c7fe4b",
  "resolvedSearchType": "",
  "results": [
    {
      "highlights": [
        "# Codex — full documentation\n\n> Single-file Markdown export of ChatGPT docs for …"
      ],
      "id": "https://learn.chatgpt.com/docs/llms-full.txt",
      "title": "",
      "url": "https://learn.chatgpt.com/docs/llms-full.txt"
    }
  ],
  "searchTime": 407.6
}

Response fields

FieldMeaning
requestIdID of this search request.
resolvedSearchTypeSearch mode that ran. It can be an empty string, as in this fast request.
results[]List of matching pages, ordered by relevance.
results[].url / results[].idPage URL. In this response id has the same value as url.
results[].titlePage title. It can be an empty string when the page has no title.
results[].highlights[]Text snippets from the page that match the query. These appear when contents.highlights is true, and long snippets are cut.
searchTimeTime the search took. The response shows no unit, so check it against your own timing before relying on it.

Notes

  • Set numResults between 1 and 100 to control how many results come back. The default is 10.
  • Set contents.text, contents.summary or contents.highlights to true to get page content in each result. Without it, results hold only the basic fields.
  • Use includeDomains or excludeDomains with startPublishedDate and endPublishedDate (ISO 8601) to narrow results.
  • To read the full content of known URLs, call Exa Contents. To get a direct answer with sources, call Exa Question Answering.

Pricing

$0.0105 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Exa SearchQuesta API
Exa
$0.0105 per chiamataJSON
Exa$0.0075 per chiamataJSON
Exa$0.0045 per chiamataJSON

Guide:Exa alternatives: compare Tavily and Firecrawl searchExa vs Tavily vs Firecrawl for AI agents

Domande

FAQ

Come uso l'API Exa Search?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/exa/search con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Exa Search?

$0.0105 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Exa Search?

Richiesti: query (string). Facoltativi: type (uno tra auto, fast, instant, deep-lite, deep, deep-reasoning), numResults (integer), category (uno tra company, research paper, news, personal site, financial report, people), includeDomains (array), excludeDomains (array) e startPublishedDate (string) e altri 4. La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Exa Search?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Exa?

No. Exa Search funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Exa.

Come limito una ricerca Exa a domini selezionati e richiedo gli highlight?

Usa includeDomains per limitare i risultati a domini selezionati, oppure excludeDomains per escludere domini. Richiedi estratti con contents: {"highlights": true}. Questi sono parametri di Search, separati dal testo della query. Un URL sorgente o un estratto è un punto di partenza per la verifica, non una prova che un’affermazione sia corretta. Segui il riferimento attuale per le combinazioni supportate e i campi restituiti.

numResults fornisce la paginazione o garantisce il numero richiesto di pagine?

numResults controlla il numero di risultati richiesto; non è un numero di pagina né un cursore di continuazione. Il riferimento attuale di SandBase Search non elenca alcun parametro cursor o offset. I risultati possono essere inferiori a quelli richiesti. Non aggiungere un campo di paginazione non elencato e non considerare un filtro per data di pubblicazione come garanzia di completezza in tempo reale.