Scrape
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).
stealth: true for sites that block ordinary fetches. See Stealth mode.
Cost: 1 credit per call (+2 with stealth: true). Failed requests cost 0.
Examples
Example response
Example response
content_type is html or pdf. For PDFs, data.html contains the extracted markdown.Tips
- Set
clean: truefor markdown — handy when you’re feeding the result to your own LLM. extract_links: truereturns a deduplicated, normalized list of outbound links. Useful if you’re rolling your own crawler.- PDFs are detected and converted to markdown automatically. The
content_typefield tells you which one came back. - Use
include_tags/exclude_tags(HTML tag names) to filter the cleaned output down to what you want.
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