← APIs / Exa
Verified

Exa

Semantic and keyword web search for agents, plus clean page-content retrieval for a URL you already have.

searchfederated
Price per request
$0.0013
About

Exa answers its own 402 on Base and declares every request field inside that challenge, so this listing carries real schemas instead of a description and a price. No Exa account or key is involved: the treasury settles the provider's own x402 in USDC and the buyer pays the list price plus the Apiosk fee. The deep and deep-reasoning retrieval modes and the AI summary field are priced higher by Exa than this listing sells, and are therefore not offered here.

Base URL
https://gateway.apiosk.com/exa
Technical Specs
Auth Methodnone
Response FormatJSON
Endpoints2
Endpoints
MethodPathDescriptionCost
POST /contents Fetch the readable text of one page you already have the URL for — Exa crawls it, strips the chrome and returns the content with the title. Cheapest way to turn a link into text an agent can reason over.
$0.0011 default
View details
POST /search Web search with a choice of retrieval mode: auto lets Exa pick, neural finds pages by meaning rather than words, keyword behaves like a classic index. Returns up to 10 ranked results with URL, title and score, and can carry the page text or matching highlights along with each hit.
$0.0080 default
View details
Endpoint documentation
POST/contents
$0.0011 default
Description

Fetch the readable text of one page you already have the URL for — Exa crawls it, strips the chrome and returns the content with the title. Cheapest way to turn a link into text an agent can reason over.

Pricing
$0.0011 default
Request schema
{
  "properties": {
    "ids": {
      "description": "Alternative to urls: one Exa document id from an earlier search result.",
      "items": {
        "type": "string"
      },
      "maxItems": 1,
      "minItems": 1,
      "type": "array"
    },
    "text": {
      "default": true,
      "description": "Return the full page text. Included in this price; highlights and summary are charged extra by Exa and are not offered here.",
      "type": "boolean"
    },
    "urls": {
      "description": "Exactly one URL. Exa charges per URL, and this price covers one; a second URL doubles what the provider asks and the call is refused before payment.",
      "example": [
        "https://x402.org"
      ],
      "items": {
        "format": "uri",
        "type": "string"
      },
      "maxItems": 1,
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "urls"
  ],
  "type": "object"
}
Response schema
{
  "properties": {
    "requestId": {
      "type": "string"
    },
    "results": {
      "items": {
        "properties": {
          "id": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "format": "uri",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
Example request
{
  "text": true,
  "urls": [
    "https://x402.org"
  ]
}
Example response
{
  "results": [
    {
      "text": "Page content...",
      "title": "Example",
      "url": "https://example.com"
    }
  ]
}
POST/search
$0.0080 default
Description

Web search with a choice of retrieval mode: auto lets Exa pick, neural finds pages by meaning rather than words, keyword behaves like a classic index. Returns up to 10 ranked results with URL, title and score, and can carry the page text or matching highlights along with each hit.

Pricing
$0.0080 default
Request schema
{
  "properties": {
    "contents": {
      "additionalProperties": false,
      "description": "Content to include with each result. The AI summary field is charged separately by Exa and is not offered here.",
      "properties": {
        "highlights": {
          "description": "Include the passages that matched.",
          "type": "boolean"
        },
        "text": {
          "description": "Include the full page text.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "numResults": {
      "default": 10,
      "description": "Number of results. Exa caps x402 requests at 10.",
      "maximum": 10,
      "minimum": 1,
      "type": "integer"
    },
    "query": {
      "description": "What to search for. Neural mode reads this as a description of the page you want, not as keywords.",
      "example": "companies building x402 payment infrastructure",
      "type": "string"
    },
    "type": {
      "default": "auto",
      "description": "Retrieval mode. Exa also has deep and deep-reasoning, but it charges more for those than this listing sells, so they are not offered here.",
      "enum": [
        "auto",
        "keyword",
        "neural"
      ],
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "type": "object"
}
Response schema
{
  "properties": {
    "requestId": {
      "type": "string"
    },
    "results": {
      "items": {
        "properties": {
          "author": {
            "type": "string"
          },
          "highlights": {
            "description": "Present when contents.highlights is true.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "publishedDate": {
            "type": "string"
          },
          "score": {
            "type": "number"
          },
          "text": {
            "description": "Present when contents.text is true.",
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "format": "uri",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
Example request
{
  "contents": {
    "text": true
  },
  "numResults": 10,
  "query": "companies building x402 payment infrastructure",
  "type": "auto"
}
Example response
{
  "results": [
    {
      "score": 0.99,
      "title": "Example",
      "url": "https://example.com"
    }
  ]
}