Scrape JSON
scrapeJsonExtract structured JSON from a page using a natural-language prompt. Append Json Schema: and a JSON schema to shape the output.
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": "scrapeJson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute HTTP or HTTPS URL of the page to process. | |
| html | No | Whether to include the page HTML in the response. | |
| proxy | No | Custom proxy URL used to load the page. | |
| super | No | Whether to route the request through real devices. | |
| prompt | No | Instructions describing the data to extract. Append Json Schema: and a JSON schema to shape the output. | Extract all data as complete as possible. |
| geoCode | No | Two-letter country code to load the page from, sent in lowercase. | us |
| timeout | No | Page load timeout in seconds, from 1 to 300. The HTTP request allows 30 additional seconds. | |
| waitUntil | No | Navigation completion event to wait for: domcontentloaded, load, networkidle0, or networkidle2. | domcontentloaded |
| maxRetries | No | Maximum number of retries, as a nonnegative integer. Omit this parameter for no limit. | |
| saveResult | No | Whether to save the result to the dashboard Result tab. | |
| screenshot | No | Whether to include a base64 screenshot in the response. | |
| proxyCountry | No | Two-letter country code of the proxy server, sent in lowercase. | us |
| browserRendering | No | Whether to render the page in a browser before returning the result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Parsed response JSON or text. | |
| error | No | ||
| headers | Yes | Response headers with credentials removed. | |
| status_code | Yes | Upstream HTTP status, or null for a network failure. |