Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Exa Search

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.

मूल्य
$0.0105USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 10 वैकल्पिक

प्लेग्राउंड

इनपुट
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. सीमा: 1 से 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. स्वरूप: ISO 8601 दिनांक और समय.
Only return results published on or before this ISO 8601 date. स्वरूप: 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.
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 6.2 KB · 110 पंक्तियाँ
{
  "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
}

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

API README

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.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Exa Searchयह API
Exa
$0.0105 प्रति कॉलJSON
Exa$0.0075 प्रति कॉलJSON
Exa$0.0045 प्रति कॉलJSON

गाइड्स:Exa alternatives: compare Tavily and Firecrawl searchExa vs Tavily vs Firecrawl for AI agents

प्रश्न

FAQ

Exa Search API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/exa/search पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Exa Search API की लागत कितनी है?

$0.0105 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Exa Search API कौन-से parameters स्वीकार करती है?

आवश्यक: query (string)। वैकल्पिक: type (auto, fast, instant, deep-lite, deep, deep-reasoning में से एक), numResults (integer), category (company, research paper, news, personal site, financial report, people में से एक), includeDomains (array), excludeDomains (array) और startPublishedDate (string) और 4 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Exa Search API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Exa developer account या API key चाहिए?

नहीं। Exa Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Exa API access के लिए आवेदन करने की आवश्यकता नहीं है।

मैं Exa search को चुनी हुई domains तक कैसे सीमित करूँ और highlights कैसे माँगूँ?

results को चुनी हुई domains तक सीमित करने के लिए includeDomains का उपयोग करें, या domains को छोड़ने के लिए excludeDomains का उपयोग करें। excerpts मांगने के लिए contents: {"highlights": true} उपयोग करें। ये Search parameters हैं, query text से अलग। source URL या excerpt सत्यापन की शुरुआत है, यह प्रमाण नहीं कि कोई दावा सही है। समर्थित combinations और लौटाए गए fields के लिए वर्तमान reference का पालन करें।

क्या numResults pagination देता है या अनुरोधित पेजों की संख्या की गारंटी करता है?

numResults अनुरोधित result count नियंत्रित करता है; यह page number या continuation cursor नहीं है। वर्तमान SandBase Search reference में कोई cursor या offset parameter नहीं है। Results मांगे गए से कम हो सकते हैं। कोई unlisted pagination field न जोड़ें और न ही publish-date filter को real-time completeness guarantee मानें।