Fetch a web page (verified)
fetch_pageFetch a public URL and get its content only if it really loaded. Checks for block pages, CAPTCHAs, login walls and empty JavaScript shells, and retries through other routes (including a headless browser) automatically. Billed only on success. Returns markdown by default. If ok is false, the reason says why (e.g. blocked:cloudflare, http_404, expect_text_missing): don't retry the same URL with the same settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL | |
| mode | No | markdown (default, main content), html (raw page), rendered (always use a browser) | |
| max_cost | No | Most credits to pay: 1 static only, 2 (default) allows a browser, 10-25 allows premium unblocking | |
| expect_text | No | Text that must appear on the page for it to count as loaded, e.g. a product name | |
| expect_selector | No | CSS selector that must match |