Skip to main content
The Web Scraping API lets you scrape any public web page without handling proxies, headless browsers, or captchas. You send a URL, and we return the raw page content and optionally parsed data.

Get Your API Key

Sign in at hasdata.com, go to your account settings, and copy your API key. All requests must include your key in the x-api-key header.

Make Your First Request

The screenshot and other files.hasdata.com links in the response are private to your workspace — fetch them with your API key in the x-api-key header, or browse them from the dashboard.
Maximum page load time is restricted to 300 seconds. In cases where a request fails after 300 seconds, you will not be charged for the unsuccessful request.

Add Optional Parameters

You can include additional parameters to control what data is returned:
  • outputFormat – Array of formats to return. Supports: html, text, markdown, json.
  • screenshot – Set to true to include a screenshot of the rendered page.
  • extractLinks – Set to true to extract all hyperlinks from the page.
  • extractEmails – Set to true to extract all email addresses found on the page.

Proxy Configuration

To scrape content with location-specific views or improve reliability on sites with strict traffic filtering, you can configure proxies:
  • proxyType – Choose proxy type. Options: residential, datacenter.
  • proxyCountry – Set a specific country for the proxy. Use ISO 3166-1 alpha-2 format (e.g. US, DE, IN).
That’s it. You’re ready to start scraping. For advanced usage and all parameters, see the API Params section.