Extract Data
extract_dataExtract structured JSON from a web page, PDF or text: name the fields you want (up to 25, with types) and get each value with the exact quote from the page that states it. Every quote is checked against the page itself (verified, quoted, unverified or not_found), so values are never invented. Charged only when at least one field is found. Costs USD 0.005 per call, paid with x402 (USDC on Base); calls that fail are not charged.
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": {
"fields": "<fields>"
},
"name": "extract_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public http(s) URL | |
| text | No | Text to read instead of a URL (up to 60,000 characters) | |
| fields | Yes | Field name -> "type: what it is" (types: string, number, integer, boolean), e.g. {"price": "number: the current price"}; a JSON Schema with properties also works | |
| render | No | Open the page in a real headless Chrome first, for pages built with JavaScript (slower; default false) |