Skip to main content
The Batch API is available for Enterprise customers after Exa enables it for your team. Contact sales@exa.ai to discuss Enterprise access and enablement.
The Batch API lets you submit many Exa API requests at once and retrieve their results later as a JSONL file. Instead of sending thousands of individual requests and managing rate limits and retries yourself, you send a single batch, poll its status, and download all the results in one file. Use it for offline enrichment, backfills, or any other job that does not need an immediate response. Full request and response schemas are in the API reference.
The Batch API is in beta. Include the Exa-Beta: batches-2026-06-06 header on every request.

Supported requests

Each batch item must be a POST request to one of these routes: Each item needs a batch-unique customId. The same customId is returned in the results file so you can map output rows back to your input data.

Create a batch

The response contains the batch ID and initial status:

Check status

Poll the batch until it reaches a terminal status:
Batch statuses are: When the batch completes, resultsUrl contains a download URL for the JSONL results file, and expiresAt is set to the end of the results retention window.
resultsUrl is a short-lived presigned URL. Re-fetch the batch to get a fresh URL whenever you need to download results again.

List batches

The response is cursor-paginated: data holds up to limit batches, and when hasMore is true, pass nextCursor as the cursor query parameter to fetch the next page. Pass status=completed to list only completed batches:
completed is the only supported value; any other value returns an error. Completed listings are ordered by expiry and use their own cursor, so keep sending status=completed on every page — completed and unfiltered cursors are not interchangeable.

Download results

Each JSONL line contains the original customId and either a response or an error:

Cancel a batch

Delete a batch

Access

To enable the Batch API for a team, contact sales@exa.ai.
Last modified on September 1, 2026