Get the HTML behind the page.
Retrieve webpage markup for custom parsers, audits and data pipelines without building your own scraping infrastructure.
- Unparsed page markup, returned with html=true
- Routed through MrScraper's proxy network automatically
- Pick the country the page loads from
From URL to raw HTML
HTML page output, with supported options for rendering and request configuration.
curl --location 'https://api.mrscraper.com?token={MRSCRAPER_API_TOKEN}&geoCode=us&html=true&proxyCountry=us&url=https%3A%2F%2Fwww.scrapethissite.com' \
-H 'x-api-token: {MRSCRAPER_API_TOKEN}' <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Scrape This Site | A public sandbox for learning web scraping</title>
<meta name="description" content="A public sandbox for learning web scraping">
...
</head>
<body>
...
<h1>
Scrape This Site
</h1>
<p class="lead">
The internet's best resource for learning <strong>web scraping</strong>.
</p>
...
</body>
</html> Why teams use it
Keep your existing parser
Feed the raw markup straight into BeautifulSoup, Cheerio, an XPath engine or the extraction pipeline you already maintain.
Handle more complex sites with managed fetching
Requests route through MrScraper's proxy network, so you fetch pages without running residential proxies or headless browsers yourself.
Troubleshoot from the source markup
Inspect the exact HTML a target server returned before you define a JSON schema or a Markdown transformation.
How it works
- 1
Pass a URL
Send the URL-encoded target URL with your API token in the x-api-token header.
- 2
Fetch rendered or raw page content according to settings
Defaults return the markup as served. Render JavaScript for pages built in the browser, or wait for a selector to appear.
- 3
Receive HTML
The response is the page markup itself, unparsed.
- 4
Parse with your tools
Run your own selectors, diffs or audits over the markup.
Example use cases
Custom parser integration
Plug raw HTML into existing BeautifulSoup, Cheerio or custom extraction pipelines without changing them.
SEO/meta audits
Inspect meta tags, Open Graph data, canonical tags, JSON-LD schemas and heading structure.
Page-change comparison
Snapshot raw DOM content for historical auditing, compliance tracking or HTML diffing.
HTML FAQ
Answered from the product documentation.
Which parameter returns the raw HTML?
The Scrape HTML preset sets html=true, which returns the page markup in the response. The page to fetch goes in the url query parameter, URL-encoded.
Do I need my own proxies to fetch HTML?
No. Requests route through MrScraper's proxy network automatically. If you already run dedicated or third-party proxies, the Custom Proxy setting sends the request through your own proxy server instead.
Can I skip images and fonts to speed up a fetch?
Yes. Block resources skips non-essential assets such as images and fonts to improve performance. It is off by default and suits text-only or structured data extraction.
How do I fetch content that loads after the initial page?
Set Wait for selector to the element you need. The request waits until that element appears before extraction starts. No selector is set by default.
Can the response include the cookies a request generated?
Yes. Turn on Return cookies to get the cookies generated during the request, which helps when debugging sessions or reusing authenticated requests. It is off by default.
Explore Our Products
Turn noisy websites into clean, AI-ready content.
Capture the page as it appears in a browser.
Extract brand assets and style details from a website.
Extract the exact fields you need as structured data.
AI-powered endpoints returning structured data from any public site.
Real residential IPs with automatic rotation and global geotargeting.
What people think about
scraper
The mission to make data accessible to everyone is truly inspiring. With MrScraper, data scraping and automation are now easier than ever, giving users of all skill levels the ability to access valuable data. The AI-powered no-code tool simplifies the process, allowing you to extract data without needing technical skills. Plus, the integration with APIs and Zapier makes automation smooth and efficient, from data extraction to delivery.
I'm excited to see how MrScraper will change data access, making it simpler for businesses, researchers, and developers to unlock the full potential of their data. This tool can transform how we use data, saving time and resources while providing deeper insights.
Adnan Sher
Product Hunt user
This tool sounds fantastic! The white glove service being offered to everyone is incredibly generous. It's great to see such customer-focused support.
Harper Perez
Product Hunt user
MrScraper is a tool that helps you collect information from websites quickly and easily. Instead of fighting annoying captchas, MrScraper does the work for you. It can grab lots of data at once, saving you time and effort.
Jayesh Gohel
Product Hunt user
Now that I've set up and tested my first scraper, I'm really impressed. It was much easier than expected, and results worked out of the box, even on sites that are tough to scrape!
Kim Moser
Computer consultant
MrScraper sounds like an incredibly useful tool for anyone looking to gather data at scale without the frustration of captcha blockers. The ability to get and scrape any data you need efficiently and effectively is a game-changer.
Nicola Lanzillot
Product Hunt user
Support
Get help from the MrScraper team with your account, billing, or scraping questions.
Questions? Ask our team via live chat 24/5 or just poke us on our official Twitter or our founder. We're always happy to help.