Extract JSON fields from a public page ($0.005, only on success)
gofetch_extractReads static HTML only: it does not run JavaScript, so JS-rendered sites (most big retailers) and bot-protected sites fail with ok:false, error needs_js or blocked, and no charge. Paid: $0.005 USDC on Base via x402, charged only when ok is true. Always returns a fixed envelope ({url, title, markdown, fetched_at, charged}). Optional schema (up to 20 properties) adds data and field_sources. Without an x402 payment in _meta["x402/payment"] it returns the price and how to pay instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "gofetch_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) page URL | |
| schema | No | Optional JSON Schema of extra fields to return (max 20 properties) |