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 thex-api-key header.
Make Your First Request
Response
Response
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 totrueto include a screenshot of the rendered page.extractLinks– Set totrueto extract all hyperlinks from the page.extractEmails– Set totrueto extract all email addresses found on the page.
Proxy Configuration
To scrape content with location-specific views or bypass stricter anti-bot systems, 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).