Directory / Web search & research

Exa /contents endpoint

Exa /contents endpoint

not checked yetBasePOSTx402 v2

Price per call
$0.001
Endpoint
https://api.exa.ai/contents
Provider
api.exa.ai
Paid calls (30 days)
1.3k
Unique payers (30 days)
46
Last paid call
8 h ago
Health check
pending
Pays to
0x6d6E695b09861467c7d462f5AAF31cF3540B9192
Listed here since
2026-11-23 (source: bazaar)

Input

{
  "body": {
    "text": true,
    "urls": [
      "https://example.com"
    ]
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Example output

{
  "example": {
    "results": [
      {
        "text": "Page content...",
        "title": "Example",
        "url": "https://example.com"
      }
    ]
  },
  "type": "json"
}

Call it from an agent

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const paidFetch = wrapFetchWithPayment(fetch, account);

const res = await paidFetch("https://api.exa.ai/contents", { method: "POST" });
console.log(await res.json()); // costs $0.001 in USDC on Base

Machine-readable: /api/tools/abb7a1d00685. Listings are informational; check a provider before sending large amounts.