POST/v1/scrape
Fetch any URL. JavaScript rendering. Designed for processing by LLMs and AI agents.
Parameters
| Name | Type | Description |
|---|---|---|
| url | string | Full URL to fetch (required) |
| country | string | 2-letter country code. Default: US |
Output format
Same compact semantic tree format. No proprietary JSON schema — the tree mirrors the page structure. No provider lock-in. Designed for processing by LLMs and AI agents.
{
"format": "chromium_compact_ax_tree_v1",
"tree": {
"role": "WebView",
"children": [
{ "role": "heading", "name": "...", "bounds": [0,0,320,48] },
{ "role": "link", "name": "...", "bounds": [24,60,296,90] }
]
}
}