Fetch a URL as HTML, markdown, or links
Fetch a URL with the standard fetcher or optional stealth. Returns
HTML by default. Pass clean: true for cleaned markdown, or
extract_links: true to receive a deduplicated list of outbound
links. PDFs are auto-converted to markdown.
Cost: 1 credit (+2 with stealth: true).
Authorizations
Body
"https://example.com"
Convert HTML to cleaned markdown.
Cleaner mode when clean: true. accurate is more forgiving
on malformed pages; speed is faster.
accurate, speed When clean: true, replace inline images with their alt text
to reduce noise. Disable to keep the original image tags.
Include a deduplicated list of outbound links.
Whitelist of HTML tags to keep when clean: true.
Blacklist of HTML tags to drop when clean: true.
Custom request headers forwarded to the fetcher (e.g. a
specific User-Agent or Accept-Language). Providing any
headers disables URL caching for this request.
URL-cache opt-in (three-state).
- Omitted — no cache: every call fetches fresh.
- >0 — return a cached entry if it's fresher
than
max_ageseconds, otherwise fetch and write.
Stealth requests, custom-headered requests, and URLs with query strings or fragments are never cached.
x >= 0Use stealth mode. +2 credits.
Response
Successfully fetched.
Discriminator for the envelope variant.
completed Per-request id. Also returned as the X-Request-ID response
header. Include it when reporting issues.
"req_aB3xY9Kp"
1
499