Fetch a Single Page
Extract content from any URL as clean Markdown:Batch Fetch
Fetch up to 10 URLs in a single request. Failed URLs appear inerrors[] without affecting the rest:
Control Cache Freshness
Usettl when you need to bound how old a cached page can be. Set ttl to 0 when you want a live fetch, or to a positive number of seconds to accept cached entries younger than that window.
Detect Page Changes with Conditional Requests
Save a page’setag, then replay it on your next fetch to skip re-processing content that hasn’t changed. Conditional requests are a stateless pass-through — Fetch doesn’t store the validators for you.
1. Bootstrap: fetch once and save the etag
etag (or last_modified) somewhere durable, keyed by URL.
2. Later: replay the etag to check for changes
- Unchanged
- Changed
The origin confirms nothing changed — skip re-processing:
Extract Links
Get all hyperlinks and image URLs from a page:Fetch as HTML
Get semantic HTML instead of Markdown — useful for preserving structure:Related
Fetch Reference
Full parameter, response, and content type docs
Search Examples
Web search with geo-targeting