Fretchen Web Retrieval — pay-per-call web access for agents

Web search and single-page fetch for agents, paid per call via x402 — batch-settlement channels in USDC, EURC or EURe (the euro tokens on Base, USDC also on Optimism), or a flat per-call exact alternative in USDC on Base mainnet.

Endpoints

Price

Payment

x402 (HTTP 402): no account, no API key. The 402 lists both schemes — batch-settlement channels first (the preferred way to pay) and an exact alternative at the end (one EIP-3009 signature per call, for clients without channel wiring). Pay in USDC (Base or Optimism) or EURC/EURe (Base); the challenge carries every token's per-network terms. Retry the same request with the payment attached.

Try it

curl 'https://web-agent.fretchen.eu/search?q=erc-8004'
# → HTTP 402 + Payment-Required header: the terms. No wallet needed for this first look.
# Testnet note: a payment on Base Sepolia settles in free test tokens and the answer is a marked mock — the full flow, real results on mainnet only.

Errors

402 = unpaid (challenge in the Payment-Required header); 404 = no such route; everything else is standard HTTP. Response schemas: openapi.json.