Web Scraping API
for any page as markdown, HTML, or JSON
Scrape any URL with one API call. Full JS rendering, then get the page as HTML, markdown, text, or a screenshot. Proxies, browsers, and retries handled for you.
of requests succeed
median response
95% finish faster
per 1k scrapes at volume
Every site is different. Your code shouldn't care.
- A proxy pool to rotate
- A headless fleet to keep warm
- A parser per site
- Retries and timeouts
- Fix it again when the site changes
One API call. That's the whole integration.
Start with just a query. Add more parameters when your use case needs them.
curl --request POST \
--url https://api.hasdata.com/scrape/web \
--header 'Content-Type: application/json' \
--header 'x-api-key: <YOUR_API_KEY>' \
--data '
{
"url": "https://example.com",
"proxyType": "datacenter",
"proxyCountry": "US",
"blockResources": true,
"blockAds": true,
"extractRules": {
"title": "h1"
},
"screenshot": true,
"jsRendering": true,
"extractEmails": true
}
'url * URLproxyType Proxy TypeproxyCountry Proxy CountryextractRules Extraction Rulesscreenshot ScreenshotextractEmails Extract EmailsextractLinks Extract LinksincludeOnlyTags Include Only TagsexcludeTags Exclude TagsremoveBase64Images Remove Base64 ImagesaiExtractRules AI Extraction Ruleswait Wait For A TimewaitFor Wait For CSS SelectorblockResources Block Images And CSSblockAds Block ADSblockUrls Block URLsjsScenario JavaScript ExecutionjsRendering JS Renderingheaders HeadersoutputFormat Output FormatOne endpoint, the output you want
Ask for markdown, text, AI-extracted fields, or the raw artifacts. Same call, structured response.
// The page as clean Markdown, with headings, emphasis and links preserved
**Tesla, Inc.** is an American multinational [automotive](https://en.wikipedia.org/wiki/Automotive) and [clean energy](https://en.wikipedia.org/wiki/Clean_energy) company. Headquartered in [Austin, Texas](https://en.wikipedia.org/wiki/Austin,_Texas).
## History
### Founding (2003-2004)
The company was incorporated as Tesla Motors, Inc. on July 1, 2003, by [Martin Eberhard](https://en.wikipedia.org/wiki/Martin_Eberhard) and [Marc Tarpenning](https://en.wikipedia.org/wiki/Marc_Tarpenning).markdown stringThe page converted to clean Markdown, headings, emphasis and links intact, ready for LLMs and RAG
// Fields you define, filled from the page by an LLM
{
"content": "<!DOCTYPE html><html lang=\"en\">…</html>",
"aiResponse": {
"company": "HasData",
"reviews": [
{
"review": "Roman from HasData went above and beyond to help us with our scraping needs…",
"author": "Michael Bonacina"
},
{
"review": "I found HasData, one of the best scraping services I have ever used…",
"author": "Hussein Ali"
}
],
"clients": [
"Stanford",
"Salesforce",
"Samsung",
"Nvidia",
"Mailchimp",
"Harvard"
],
"trial": {
"available": true,
"type": "free"
},
"yearFounded": null
}
}aiResponse objectThe fields you defined, filled from the page by an LLM
aiExtractRules (input) objectYour schema of fields and types sent with the request
nested types object[] / string[]Ask for arrays and objects too (reviews, clients, …), not just flat fields
unknown fields nullCome back null when the page has no answer
// Just the visible text, with the markup stripped
Tesla, Inc. is an American multinational automotive and clean energy company. Headquartered in Austin, Texas.
History
Founding (2003-2004)
The company was incorporated as Tesla Motors, Inc. on July 1, 2003, by Martin Eberhard and Marc Tarpenning.text stringVisible page text with the markup stripped
// Every email found on the page, via extractEmails
{
"emails": [
"webmasters@gnu.org",
"gnu@gnu.org",
"web-translators@gnu.org",
"maintainers@gnu.org"
]
}emails string[]Every email address on the page, from mailto: links and body text. Turn on with extractEmails
// Every hyperlink on the page as an absolute URL, via extractLinks
{
"links": [
"https://www.fsf.org/fss",
"https://www.fsf.org/associate/support_freedom?referrer=4052",
"https://www.gnu.org/",
"https://www.gnu.org/cgi-bin/estseek.cgi"
]
}links string[]Every hyperlink on the page as an absolute URL. Turn on with extractLinks
// A full-page PNG, hosted by HasData, via screenshot
{
"screenshot": "https://f005.backblazeb2.com/file/hasdata-screenshots/152b231c-eea6-47ed-90b6-6414d8db955e.jpeg"
}screenshot stringURL of a full-page PNG hosted by HasData. Turn on with screenshot
// Request status, plus links to the raw HTML and JSON
{
"requestMetadata": {
"id": "44f3d332-5b12-462b-a1c5-7690147c07f9",
"status": "ok",
"html": "https://files.hasdata.com/44f3d332-5b12-462b-a1c5-7690147c07f9.html",
"json": "https://files.hasdata.com/44f3d332-5b12-462b-a1c5-7690147c07f9.json"
}
}id stringUnique request ID
status stringok or error
html stringURL to the raw HTML HasData stored for this request
json stringURL to the full JSON response
// The target page's response headers and cookies
{
"headers": {
"content-type": "text/html; charset=UTF-8",
"server": "ATS/9.2.13",
"date": "Mon, 27 Jul 2026 07:35:41 GMT",
"content-language": "en"
},
"cookies": []
}headers objectThe target response's headers
cookies object[]Cookies the page set
Everything You Need to Scrape at Scale
HasData handles the hard parts of scraping: rendering, parsing, scaling, and delivery. You can now focus on using the data, not collecting it.
Discover similar
scrapers and APIs
to expand your projects.
Google SERP API
Live SERP Data • $0.75 / 1k Request
Google Maps Search API
Local Market Research • $0.37 / 1k Request
Fits right into your stack.
Works with the tools you already use.
View Documentation ->Teams that deleted their scraper
Now it's the part of the pipeline they don't think about
HasData delivers exactly what we need: speed and comprehensive search features. It's the fastest API we've used in this space. Plus, their customer support is fantastic.
We rely on HasData for search performance data and broader scraping needs. Their APIs deliver highly structured data that integrates directly into our platforms.
Great web scraping API which is incredibly easy to use. It requires minimal effort to get up and running, and the documentation is very clear and helpful.
I needed to scrape some information they didn't already support, and they wrote the code for me right away, which was super nice of them.
We were particularly impressed with how easily we could integrate HasData into our existing workflow.
Plans that get cheaper at scale
Fixed price, fixed volume, no surprises at the end of the month. Upgrade when you need more.
Free
Startup
Business
RecommendedEnterprise
Monthly scrape volume
Start with 1,000 free scrapes. No credit card required.
HasData accesses publicly available data only. A target site's terms may restrict automated access; you are responsible for compliance. Where data includes personal information, ensure a lawful basis under GDPR/CCPA.
Questions, answered
Per successful request. One request scrapes one URL and returns the formats you asked for. A failed request costs nothing.
Yes, a one-time trial of 1,000 scrapes with every feature included. No credit card required. When you're done testing, pick a plan that fits your volume.
Paid plans start at $49 per month for 200,000 scrapes and scale to 100 million a month. The unit price drops with volume, from $0.25 down to $0.07 per 1,000 scrapes.
HTML, clean Markdown, plain text, and a full-page screenshot. Ask for one or several in the outputFormat array on the same request.
Yes, two ways. Pass extractRules with CSS selectors for exact fields, or aiExtractRules with a schema and an LLM fills it from the page. Both come back as clean JSON.
Yes. Turn on jsRendering to run the page in a real browser, and use page interactions to wait, click, or scroll before the content is captured.
Yes. Pass your own headers and cookies with the request, and read the ones the page sets back in the response.
Yes. HasData routes the request through its proxy network so the page loads as it would in the region you need.
No. Requests run on HasData's infrastructure, so there's nothing to provision or maintain. You're responsible for using the results in line with each target site's terms and applicable law.
Yes, you can cancel your subscription at any time from your dashboard in a few seconds. Once cancelled, there are no recurring payments.
Your first scrape
is minutes away
1000 scrapes free · no credit card