response_type=markdown and get back the page as clean markdown: headings, lists, links and tables kept, scripts and styling dropped. It’s the fastest way to give an LLM, a RAG pipeline or an agent the content of a page.
Uses: Fetch with response_type and Adaptive Stealth Mode (mode=auto)
Ask your AI agent
With the Zenrows MCP server connected to Claude, Cursor or any MCP client, paste this prompt. Your agent picks the right Zenrows tools and settings on its own.Fetch a page as markdown
Setresponse_type=markdown. Pair it with mode=auto so Zenrows renders JavaScript and switches to premium proxies only when the page needs them, and bills only the configuration that succeeds.
mode=auto by default, so it needs no extra flag. Install it with npm install -g @zenrows/cli, see the CLI guide.
Example output
The product section of the response, trimmed:Get plain text instead
When you need words only, for example to count tokens, classify text or feed a model that ignores formatting, setresponse_type=plaintext. Everything else stays the same.
Python (Requests)
Send the page to an LLM
Markdown drops straight into a prompt. This example keeps the content between clear delimiters so the model knows where the page starts and ends:Python (Requests)
Customize it
Troubleshooting
- The markdown is missing content you see in your browser: the content loads after the first render. Switch to
js_render=trueand addwait_forwith a selector of the missing element. - The markdown starts with navigation links: that’s the page’s own menu. Start reading from the first
#heading, or use Extract to get only the fields you need. - The request takes long to return: set your HTTP client timeout to 180 seconds or more, so
mode=autohas time to escalate when a page needs it.
Related recipes
Build a RAG knowledge base from a website
Crawl a whole site and turn every page into markdown chunks.
Get structured JSON from any page
Skip parsing: get product, listing or article fields as JSON.
Scrape pages protected by anti-bot systems
Let Adaptive Stealth Mode pick the right configuration per page.
Connect your AI agent to Zenrows
Give Claude, Cursor or your own agent live web access.