gofetch turns a public web page into JSON fields for AI agents. You pay per call in USDC on Base with x402 v2. There's no account and no API key.
Static HTML only. gofetch does not run JavaScript. Sites that build their pages in the browser (most big retailers) or sit behind a bot check fail: extract returns
ok:falsewitherror: "needs_js"orerror: "blocked", and you are not charged.
| Route | Price | What you get |
|---|---|---|
POST https://getgofetch.dev/v1/extract |
$0.01, charged only when ok is true |
Body {url, schema}, where schema is a JSON Schema (up to 20 properties). Returns {ok, data, field_sources}. If a required field is missing you get ok:false, missing[], partial{} and no charge. JS-only pages give needs_js, bot walls give blocked, also free. |
GET https://getgofetch.dev/v1/fees/base-exact |
$0.005 | PayAI's current fee to settle one x402 payment on Base, as JSON. For x402 developers budgeting fees; you don't need it to use extract. |
GET https://getgofetch.dev/fetch?url=https://example.com |
free | Demo only (example.com). |
Legacy: GET https://getgofetch.dev/v1/fetch?url=<page> (page as markdown, $0.01 per call, HTTP only) is being retired; use extract.
Limits: static HTML only, no JavaScript rendering, no paywall or login bypass.
Machine-readable docs: https://getgofetch.dev/openapi.json, https://getgofetch.dev/.well-known/x402, https://getgofetch.dev/llms.txt.
Your agent needs an x402-capable wallet tool. Claude, Cursor and Grok Bot can't pay HTTP 402 on their own. Pick one of the options below and fund it with a few dollars of USDC on Base.
Example extract body (used below), the Reserve Bank of Australia's cash-rate page:
{"url":"https://www.rba.gov.au/statistics/cash-rate/",
"schema":{"type":"object","properties":{"cash_rate_target":{"type":"number","description":"current cash rate target, percent"},"effective_date":{"type":"string","description":"date the current target took effect"}},"required":["cash_rate_target"]}}
Result data (24 Oct 2026): {"cash_rate_target":4.6,"effective_date":"2026-09-30"}
AgentCash is a free MCP server and CLI with a local USDC wallet (~/.agentcash/wallet.json). It reads gofetch's OpenAPI and pays the 402 for you.
Install:
claude mcp add agentcash --scope user -- npx -y agentcash@latest~/.cursor/mcp.json (or .cursor/mcp.json):{"mcpServers":{"agentcash":{"command":"npx","args":["-y","agentcash@latest"]}}}
npx agentcash install --client claude.npx agentcash install --client cursor (also claude-code, claude, codex, …)Fund the wallet: ask the agent for "my AgentCash deposit address" and send a few dollars of USDC on Base to it.
Then ask your agent:
Use AgentCash to call gofetch at https://getgofetch.dev/v1/extract (check the schema first) to get the current cash rate target and its effective date from https://www.rba.gov.au/statistics/cash-rate/
Give the URL explicitly. gofetch is listed on x402scan, and calling it by URL always works, even if a search doesn't surface it.
The same thing from a terminal (any agent with a shell):
npx agentcash check https://getgofetch.dev/v1/extract # free: schema + price
npx agentcash fetch https://getgofetch.dev/v1/extract -m POST \
-H "Content-Type: application/json" \
-b '{"url":"https://www.rba.gov.au/statistics/cash-rate/","schema":{"type":"object","properties":{"cash_rate_target":{"type":"number"},"effective_date":{"type":"string"}},"required":["cash_rate_target"]}}'
Grok Bot agents run on their own Linux computer. They can install the MetaMask Agent Wallet plugin from Grok Bot's plugin catalog (Connect apps / Plugins). Its skill includes an x402 helper that signs with your MetaMask agent wallet, and it asks you to approve each payment before it pays.
Tell your Bot:
Install the MetaMask Agent Wallet plugin, then use its x402 helper to inspect and pay https://getgofetch.dev/v1/extract with this body: {…example body above…}. Show me the price first.
Under the hood the Bot runs x402_pay.py inspect (free, shows $0.01 USDC on Base), then x402_pay.py pay … --confirm after you approve. gofetch's offer (x402 v2, exact, EIP-3009 USDC on Base) is marked eligible by that helper.
Notes:
npx agentcash commands above.npx @coinbase/payments-mcp installs Coinbase's payments MCP. It uses an email-login wallet with spend limits. Its make_x402_request tool can call any x402 URL, including gofetch, if you give it the URL. gofetch won't appear in its Bazaar search, because gofetch settles through the PayAI facilitator. (We haven't tested a paid call through this route yet.)
You don't need to own crypto already. Buy a few dollars of USDC on the Base network by card and send it to your agent's wallet address (the AgentCash deposit address, or your MetaMask agent wallet address). Then pay gofetch through x402 as usual. Some ways to do it:
Choose USDC and the Base network, and paste your agent wallet's address as the destination. Availability, ID checks and fees depend on the provider and your country. gofetch never takes cards itself: every call is paid in USDC through x402.
ok:true with your required fields. needs_js, blocked and other ok:false results are free.0x714F69Aef602c76543AdED914Ea4Eb23fE9F8527 on Base (eip155:8453), via the facilitator https://facilitator.payai.network.Questions: hello@getgofetch.dev