Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Exa Search API

The Search API from Exa — 1 operation(s) for search.

Exa Search API is one of 19 APIs that Exa publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Search. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 1 operation across 1 path, and defines 8 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, https://api.exa.ai.

1 operations 1 paths 8 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Base URL
https://api.exa.ai
Authentication
API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Exa Search API declares 2 security schemes for authenticating requests. An API key is passed in the header as x-api-key (apiKey). It accepts HTTP bearer tokens (bearer). By default, every request must be authenticated.

  • apiKey — Pass your Exa API key in the x-api-key header. You can also authenticate with Authorization: Bearer .
  • bearer — Pass your Exa API key in the x-api-key header. You can also authenticate with Authorization: Bearer .

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Search 1
POST
/search
Search
search body → 200

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are SearchRequest (19 properties), SearchResultOutput (14 properties), ContentsOptions (10 properties), SearchSynthesisOutputOutput (2 properties). Each schema is shown below with its type and property counts.

CostDollarsOutput
object
Endpoint-dependent estimated dollar cost breakdown for the completed request. Billing is computed from usage counters rather than this response object.
2 properties
SearchResponse
SearchSynthesisOutputOutput
object
Synthesized output. Returned when outputSchema is provided.
2 properties 2 required
ContentsOptions
object
10 properties
SearchRequest
object
19 properties 1 required
SearchStreamChunk
object
Schema for each JSON payload emitted in a /search server-sent event stream. Each event is emitted as data: and the stream terminates with data: [DONE], which i…
SearchResultOutput
object
14 properties 2 required
JsonValue
Any JSON value.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

exa-ai-search-api-openapi.yml Raw ↑

Other APIs Exa publishes across the network.

Exa Agent API
Exa Answer API
Exa Contents API
Exa Enrichments API
Exa Events API
Exa Imports API
Exa Items API
Exa Monitors API
Exa Monitors Runs API
Exa Research API
Exa Runs API
Exa Searches API