Sign a $0.005 check. We fetch the page. We only cash it if you got the markdown. If it fails, nothing leaves the wallet.
Sign. Fetch. Pay only if it worked.
What it does
The agent signs first. We GET the public HTML. The USDC stays put until the markdown comes back.
The agent authorizes $0.005. That is a signed check, not a transfer. Nothing leaves their wallet yet.
We GET the public HTML and extract the article. JS-only shells, block pages, and junk are not billed.
Good markdown comes back, then we cash the check. $0.005 in USDC lands in our wallet.
Price
$0.005 / successful URL
Quoted in USD. Failed extracts are free. Live on Base via x402 / PayAI.
Example
First call is a price tag (HTTP 402). Sign $0.005 USDC on Base, retry with PAYMENT-SIGNATURE. payTo 0x2382EF343ba76a6D56efC8C04920d7df2F98A54D.
# expect 402, then retry with PAYMENT-SIGNATURE curl -sS -D - -X POST https://clear-agent-fetch.fly.dev/v1/fetch \ -H 'content-type: application/json' \ -d '{"url":"https://example.com"}' # pay $0.005 USDC on Base, retry with PAYMENT-SIGNATURE
For agents
x402 fetch URL markdown. Pay USDC, get the page as markdown. No local browser: we GET the public HTML (Readability), not Playwright. Agents use x402-fetch / PAYMENT-SIGNATURE. Machine docs on this host.