{ "code": 400, "reason": "INVALID_REQUEST_BODY", "message": "Invalid request body | Validation error: must provide either ids or urls", "metadata": { "trace_id": "a4d532f86200dc7bb0df7fa6023860ca" }}
Retrieve page content, summaries, metadata, and fetch statuses for URLs or Exa document IDs. This is a passthrough to Exa’s Get Contents API, exposed through the Novita gateway with a platform route prefix.To authenticate with your Novita API key, get one from the Novita dashboard. Base URL: https://api.novita.ai.
{ "requestId": "0a6bd28991288444b8748646c5bd4bd9", "results": [ { "id": "https://arxiv.org/abs/1706.03762", "title": "Attention Is All You Need", "url": "https://arxiv.org/abs/1706.03762", "publishedDate": "2025-08-23T00:00:00.000Z", "author": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, et al.", "text": "# Attention Is All You Need\n\n2025. Preprint. 6,569 citations.\n\n## Authors\n\n- Ashish Vaswani (Google (United States)): h-index 28; 10,049 citations…", "entities": [ { "id": "https://exa.ai/library/publication/985dxcclwqj", "type": "publication", "version": 1, "properties": { "title": "Attention Is All You Need", "year": 2025, "date": "2025-08-23", "type": "preprint", "language": "en", "citationCount": 6569, "authors": [ {"name": "Ashish Vaswani", "id": null} ] } } ] } ], "statuses": [ { "id": "https://arxiv.org/abs/1706.03762", "status": "success", "source": "cached" } ], "searchTime": 8.12}
Request Headers
All endpoints require platform API authentication.
string
erforderlich
Use application/json.
string
Standard:"Bearer YOUR_API_KEY"
erforderlich
Platform API key, formatted as Bearer YOUR_API_KEY.
Request Body
string[]
erforderlich
URLs to retrieve. This field is also backwards compatible with values previously supplied through ids. Range is 1 to 100 entries; each URL may be up to 2048 characters. Provide either urls or ids, but not both — supplying both returns a 400.
string[]
Exa document IDs to retrieve. Range is 1 to 100 entries; each ID may be up to 2048 characters. Provide either urls or ids, but not both — supplying both returns a 400.
string
Enterprise compliance mode. Only hipaa is supported.
boolean | object
Text extraction options. Default is false.
Anzeigen text properties
integer
Maximum number of text characters to return. Range is 1 to 10000.
boolean
Include lightweight HTML tags instead of plain text.
string
Standard:"compact"
Requested text verbosity. One of compact, standard, or full.
string[]
Semantic page sections to keep. Best-effort classification. Each entry is one of header, navigation, banner, body, sidebar, footer, or metadata.
string[]
Semantic page sections to drop. Best-effort classification. Each entry is one of header, navigation, banner, body, sidebar, footer, or metadata.
boolean | object
Highlight extraction options. Default is false.
Anzeigen highlights properties
string
Custom query used to select highlights.
integer
Maximum characters to return for highlights. Range is 1 to 10000.
boolean | object
Summary generation options. Pass true for a default summary, or an object to configure it.
Anzeigen summary properties
string
Custom instruction for summary generation.
object
Optional JSON schema for structured summary output.
object
Extra outputs to return from each page.
Anzeigen extras properties
integer
Number of links to return. Range is 0 to 1000.
integer
Number of image links to return. Range is 0 to 1000.
integer
Number of rich image links to return. Range is 0 to 1000.
integer
Number of rich links to return. Range is 0 to 1000.
integer
Number of code blocks to return. Range is 0 to 1000.
integer
Live crawl timeout in milliseconds. Range is greater than 0 and up to 90000; default is 10000.
integer
Maximum cache age in hours. Use 0 for fresh content and -1 to always use cache. Range is -1 to 720.
integer
Number of subpages to crawl. Range is 0 to 100; default is 0.
string | string[]
Term or terms used to find targeted subpages. String values are limited to 100 characters.
Container for extra page data. Each child field is present only when its matching extras count is requested, and may be an empty array when the page has no such data.
Anzeigen extras properties
string[]
Extracted links when extras.links is requested.
string[]
Image links when extras.imageLinks is requested.
object[]
Rich image links when extras.richImageLinks is requested.
object[]
Rich links when extras.richLinks is requested.
object[]
Code blocks when extras.codeBlocks is requested.
Anzeigen codeBlock properties
string
Code block content.
string
Where the block was extracted from, such as text.
object[]
Structured entities extracted from the page. Each entity is a company, person, or publication. It may be absent or empty depending on the page.
Anzeigen entity properties
string
Stable entity identifier.
string
Entity discriminator. One of company, person, or publication.
integer
Entity schema version.
object
Type-specific fields. The shape depends on type.
Anzeigen company properties
string
Company name.
integer
Year the company was founded.
string
Short company description.
object
Workforce data.
Anzeigen workforce properties
number
Total headcount.
object
Headquarters location.
Anzeigen headquarters properties
string
Street address.
string
City.
string
Postal code.
string
Country.
object
Financial data.
Anzeigen financials properties
number
Annual revenue.
number
Total funding raised.
object
Most recent funding round.
Anzeigen fundingLatestRound properties
string
Round name, such as Series C.
string
Date of the round.
number
Amount raised in the round.
object
Web traffic data.
Anzeigen webTraffic properties
number
Monthly visits.
integer
Rank within the country.
number
Average visit duration in seconds.
object[]
Historical traffic data points.
Anzeigen history item properties
number
Traffic value for the period.
string
Period start, formatted as YYYY-MM.
string
Period end, formatted as YYYY-MM.
object
Research output.
Anzeigen research properties
integer
Number of published works.
integer
Total citations.
string[]
Research areas.
object[]
Notable works.
Anzeigen notableWork item properties
string
Work title.
integer
Publication year.
string
Publication venue.
integer
Number of citations.
string
Digital Object Identifier.
string
Work identifier.
string
Work type. One of article, book, book-chapter, dataset, dissertation, preprint, report, or review.
object[]
Leading researchers associated with the company.
Anzeigen topResearcher item properties
object
The researcher.
Anzeigen person properties
string
Researcher name.
string
Researcher identifier.
integer
Number of published works.
integer
Total citations.
Anzeigen person properties
string
Full name.
string
First name.
string
Last name.
string
Location.
object[]
Work history entries.
Anzeigen workHistory item properties
string
Job title.
string
Location.
object
Date range.
Anzeigen dates properties
string
Start date.
string
End date.
object
Employer.
Anzeigen company properties
string
Company identifier.
string
Company name.
object[]
Education entries.
Anzeigen educationHistory item properties
string
Degree earned.
object
Date range.
Anzeigen dates properties
string
Start date.
string
End date.
object
Institution.
Anzeigen institution properties
string
Institution identifier.
string
Institution name.
object
Research output.
Anzeigen research properties
integer
Number of published works.
integer
Total citations.
integer
h-index.
integer
Year of first publication.
integer
Year of most recent publication.
string[]
Research areas.
object[]
Notable works.
Anzeigen notableWork item properties
string
Work title.
integer
Publication year.
string
Publication venue.
integer
Number of citations.
string
Digital Object Identifier.
string
Work identifier.
string
Work type. One of article, book, book-chapter, dataset, dissertation, preprint, report, or review.
Anzeigen publication properties
string
Publication title.
integer
Publication year.
string
Publication date.
string
Publication type. One of article, book, book-chapter, dataset, dissertation, preprint, report, or review.
string
Language.
integer
Number of citations.
object[]
Authors.
Anzeigen author properties
string
Author name.
string
Author identifier.
integer
Number of references.
string
Abstract text.
object[]
Fetch status for each requested URL or document ID.
Anzeigen status properties
string
Requested URL or document ID.
string
Fetch status, such as success or error.
string
Content source, such as cached or crawled.
object
Error details when retrieval fails.
Anzeigen error properties
string
Machine-readable error tag, such as CRAWL_NOT_FOUND, CRAWL_TIMEOUT, or SOURCE_NOT_AVAILABLE.
integer
HTTP status code encountered while fetching the source, such as 404.
number
Time taken to serve the request, in milliseconds. Requests served from Exa’s cache (source: "cached") return in a few milliseconds, while pages that must be crawled live (source: "crawled") typically take on the order of one to several seconds.
Errors
Errors are returned as a JSON envelope with code, reason, message, and metadata. The platform validates and authenticates the request before forwarding it to Exa, so some errors originate at the platform and others are surfaced from upstream.
Status
reason
Meaning
400
MISSING_API_KEY
The Authorization header is absent.
400
INVALID_REQUEST_BODY
The body failed validation, such as omitting both urls and ids.
403
INVALID_API_KEY
The API key is invalid or not authorized.
404
PATH_NOT_FOUND
The route does not exist.
429
RATE_LIMIT_EXCEEDED
Too many requests. Slow down and retry with backoff.
500
TASK_FAILED
Internal or upstream provider failure. Transient failures are safe to retry.
503
SERVICE_UNAVAILABLE
The service is temporarily overloaded or down. Retry with backoff.
For validation failures, message is a JSON-encoded string carrying the detailed error and tag. The examples below show that inner detail decoded for readability.
{ "code": 400, "reason": "INVALID_REQUEST_BODY", "message": "Invalid request body | Validation error: must provide either ids or urls", "metadata": { "trace_id": "a4d532f86200dc7bb0df7fa6023860ca" }}
{ "code": 400, "reason": "INVALID_REQUEST_BODY", "message": "Invalid request body | Validation error: must provide either ids or urls", "metadata": { "trace_id": "a4d532f86200dc7bb0df7fa6023860ca" }}