← APIs / Exa
Verified

Exa

Apiosk Basicsby Apiosk Basics · General

Semantic web search and contents retrieval for AI agents.

searchapi
Price per request
$0.08
About

Exa searches the web with neural and keyword retrieval and can return page contents, highlights, summaries and metadata. This listing exposes /search and /contents with the upstream x-api-key injected by Apiosk.

Base URL
https://gateway.apiosk.com/exa
Technical Specs
Auth MethodapiKey
Response FormatJSON
Endpoints2
Endpoints
MethodPathDescriptionCost
POST /contents Retrieve full page contents, summaries, highlights and metadata for known URLs.
$0.08 default
View details
POST /search Search the web with Exa semantic or keyword retrieval and optional contents.
$0.10 default
View details
Endpoint documentation
POST/contents
$0.08 default
Description

Retrieve full page contents, summaries, highlights and metadata for known URLs.

Pricing
$0.08 default
Request schema
{
  "properties": {
    "highlights": {
      "type": "boolean"
    },
    "summary": {
      "type": "boolean"
    },
    "text": {
      "type": "boolean"
    },
    "urls": {
      "items": {
        "format": "uri",
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "urls"
  ],
  "type": "object"
}
Response schema
{
  "properties": {
    "requestId": {
      "type": "string"
    },
    "results": {
      "type": "array"
    },
    "statuses": {
      "type": "array"
    }
  },
  "type": "object"
}
Example request
{
  "text": true,
  "urls": [
    "https://example.com"
  ]
}
Example response
{
  "requestId": "request-id",
  "results": [
    {
      "text": "Example Domain",
      "url": "https://example.com"
    }
  ],
  "statuses": [
    {
      "id": "https://example.com",
      "status": "success"
    }
  ]
}
POST/search
$0.10 default
Description

Search the web with Exa semantic or keyword retrieval and optional contents.

Pricing
$0.10 default
Request schema
{
  "properties": {
    "contents": {
      "type": "object"
    },
    "numResults": {
      "type": "integer"
    },
    "query": {
      "type": "string"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "type": "object"
}
Response schema
{
  "properties": {
    "costDollars": {
      "type": "object"
    },
    "requestId": {
      "type": "string"
    },
    "results": {
      "type": "array"
    }
  },
  "type": "object"
}
Example request
{
  "numResults": 1,
  "query": "latest research in LLMs"
}
Example response
{
  "costDollars": {
    "total": 0.001
  },
  "requestId": "request-id",
  "results": [
    {
      "id": "https://example.com",
      "title": "Example",
      "url": "https://example.com"
    }
  ]
}