exa_web_answer $0.00625 per call

Answer a question with citations. Get an LLM answer to a question informed by Exa search results. Fully compatible with OpenAI's chat completions endpoint. (Exa · Open web & SEO data)

For AI agents: call exa_web_answer
POST https://toll402.dev/v1/p/exa.web.answer
{
 "query": "What year was the HNSW algorithm paper published and by whom?"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "a question or instruction; Exa searches, reads, and writes an answer with citations",
   "examples": [
    "What year was the HNSW algorithm paper published and by whom?"
   ]
  },
  "text": {
   "type": "boolean",
   "description": "true also returns the full text of each cited page"
  },
  "outputSchema": {
   "type": "object",
   "description": "JSON Schema draft-7; when set, `answer` is a JSON object in that shape instead of prose"
  },
  "stream": {
   "type": "boolean",
   "description": "server-sent events; leave false through the proxy"
  }
 },
 "additionalProperties": true,
 "required": [
  "query"
 ],
 "description": "response is {answer, citations: [{url, title, publishedDate, author, text?}], costDollars}. This is the one Exa route that runs a model over the results; for raw results use exa.web.search."
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI