81trust / 100

Exa Answer

by Exa grounded answer in Search & web

x402 APIPassing, checked 32 min ago

Ask a question and get a written answer with the sources it was drawn from. Exa searches its index, reads the pages and composes the answer, returning the citation list (title, URL, published date) alongside it so every claim can be checked. Model-backed: the answer text is generated, the citations are retrieved.

POST https://agent402.tools/api/exa-answer

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
216 ms typical, 216 ms slowest 5%
Last check
32 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/exa-answer" \
  -H "content-type: application/json" \
  -d '{"query":"What is the x402 payment protocol and who uses it?"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fexa-answer
const res = await pay("https://agent402.tools/api/exa-answer", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query":"What is the x402 payment protocol and who uses it?"}),
});
console.log(await res.json());

Example input

{
  "query": "What is the x402 payment protocol and who uses it?"
}

Example output

{
  "answer": "x402 is an HTTP-native payment protocol that settles stablecoin payments per request ...",
  "citationCount": 1,
  "citations": [
    {
      "author": null,
      "publishedDate": "2026-08-02T00:00:00.000Z",
      "text": null,
      "title": "What is the x402 payment protocol?",
      "url": "https://example.com/x402-explained"
    }
  ],
  "fetchedAt": "2026-09-13T20:00:00.000Z",
  "query": "What is the x402 payment protocol and who uses it?",
  "source": "exa"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
32 min agoPassed402216 ms$0.01
6 h agoPassed402258 ms$0.01