Zyte Fetch
zyte_fetchFetch a web page through Zyte API and return its content. By default returns the raw HTTP response body (decoded to text). For JS-heavy sites that need a real browser, pass render:true to get browser-rendered HTML instead. Example: zyte_fetch({ url: "https://example.com", _apiKey: "your-key" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "https://example.com",
"_apiKey": "your-zyte-api-key"
},
"name": "zyte_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch, e.g. "https://example.com" | |
| render | No | When true, load the page in a headless browser and return the rendered HTML (browserHtml). Use for JavaScript-heavy sites. Default false (fast raw HTTP fetch). | |
| _apiKey | Yes | Zyte API key (get one at https://app.zyte.com) |