fetch
Fetch URLs and return their content as clean markdown for reading articles, documentation, and PDFs. Extracts text without snippets, with optional raw HTML.
Instructions
Fetch one or more URLs and return their content as clean markdown. Use this to read articles, documentation, blog posts, or any page where you need the complete text, not just a snippet from search. Also supports PDF, DOCX, and other document formats. Costs 1 credit per URL. Max 10 URLs per request. Failed URLs are not charged.
Set include_raw_html=true to also get the raw HTML source in each result. Useful for inspecting embedded URLs, data attributes, iframes, or script tags that are stripped during markdown conversion. Returns null for non-HTML content (PDF, DOCX, etc.). Same cost.
Returns: results (array of {title, url, content, raw_html, published_time, success, error}), credits_used, credits_remaining.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | List of URLs to fetch (max 10) | |
| include_raw_html | No | Include raw HTML source in each result (default false) |