Web extract: any web page into JSON matching your own JSON Schema
web_extractUse when an agent needs specific fields from a web page as JSON. Input: url, schema (URL-encoded JSON Schema, object root, max 30 properties, depth 3, 3,000 chars). Output: JSON data validated against the schema (null when not on the page), title, finalUrl. SSRF-safe; noai pages refused; bad schema refused before payment. Fixed schema: /v1/docs/extract. Use instead: docs_extract for fixed-schema facts from a document; web_read for the whole page as Markdown. Example: ?url=https://example.com/&schema={"type":"object","properties":{"title":{"type":"string"}}} Price: $0.007 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.
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>",
"schema": "<schema>"
},
"name": "web_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) web page URL | |
| schema | Yes | JSON Schema (object root) describing the fields to extract |