AI agent instructions
AI agent instructions
POST /data/web/fetch loads a URL in a cloud browser and returns the formats you ask for. To extract your own schema with an LLM, use Fetch instead.
Try it in the Console
Try this API in the playground, no code needed.
Quick start
{ requested, success, data }. Formats you didn’t request have requested: false.
Parameters
string
required
The page to load.
object
required
Which outputs to return. Set any of these to
true:html: the page HTMLmarkdown: the page as markdownproduct: product dataparse: parsed Google Maps data. Also setparseParamsto{"type": "prebuilt", "parser": "google-maps"}
parse and set the parser:
parsed field of the response.
object
includeLinks (default true), includeImages (default false), inlineImages (placeholder or preserve).object
dedupeImages (default false).How the page is loaded:
waitFor: how long to wait after load, in milliseconds. Default500.actions: steps to run before extracting, in order:{"do": "wait", "timeMs": 1000}{"do": "scroll", "direction": "down", "amount": "viewport", "maxScrolls": 3}{"do": "perform", "action": "click the Load more button"}
mainContentOnly: keep only the main content. Defaultfalse.includeSelectors/excludeSelectors: CSS selectors to keep or drop.theme:lightordark. Defaultlight.
integer
Maximum age of a cached result. Omit for the default policy,
0 forces a fresh load.timeoutOpts, zdr and tags, and caching for the cache headers.