HasData integration (Data, Developer Tools). Imported from open-connector.
https://api.hasdata.com/scrape/web
| Param | Type | Required | Description |
|---|---|---|---|
| url | string | required | The absolute public URL HasData should scrape. |
| outputFormat | array | optional | Response formats HasData should include in the result. |
| proxyType | string | optional | The proxy type HasData should use for the target page. |
| proxyCountry | string | optional | The ISO 3166-1 alpha-2 country code used for HasData proxy geolocation. |
| extractRules | object | optional | String values keyed by caller-defined field names. |
| aiExtractRules | object | optional | Structured AI extraction rules accepted by HasData. |
| screenshot | boolean | optional | Whether HasData should capture a page screenshot. |
| extractEmails | boolean | optional | Whether HasData should extract email addresses from the page. |
| extractLinks | boolean | optional | Whether HasData should extract hyperlinks from the page. |
| wait | integer | optional | Delay in milliseconds after page load before HasData scrapes the page. |
| waitFor | string | optional | CSS selector HasData should wait for before scraping. |
| blockResources | boolean | optional | Whether HasData should block images and stylesheets while loading the page. |
| blockAds | boolean | optional | Whether HasData should block common ad scripts and tracking pixels. |
| blockUrls | array | optional | Network request substrings or domains HasData should block. |
| jsRendering | boolean | optional | Whether HasData should enable JavaScript rendering for the page. |
| jsScenario | array | optional | JavaScript browser actions HasData should run on the page. |
| headers | object | optional | HTTP headers HasData should send to the target website. |
/scrape/google/serp
| Param | Type | Required | Description |
|---|---|---|---|
| q | string | required | Search term to query Google for. |
| location | string | optional | Google canonical location for the search. |
| uule | string | optional | Encoded Google canonical location string. |
| domain | string | optional | Google domain to use for the search, such as google.com. |
| gl | string | optional | Two-letter country code used to localize results. |
| hl | string | optional | Two-letter language code used for the search interface. |
| lr | string | optional | Language restriction for the web content returned by Google. |
| tbs | string | optional | Google advanced filter expression such as qdr:d or sbd:1. |
| safe | string | optional | Adult content filtering mode sent to Google. |
| filter | integer | optional | Whether Google should enable similar and omitted result filtering. |
| nfpr | integer | optional | Whether Google should show only the original query. |
| start | integer | optional | Number of search results to skip for pagination. |
| num | integer | optional | Number of results per page. |
| tbm | string | optional | Google search type. |
| deviceType | string | optional | Device type HasData should emulate for Google results. |
| ludocid | string | optional | Google Place ID for a specific location result. |
| lsig | string | optional | Additional Google Place ID parameter. |
| kgmid | string | optional | Google Knowledge Graph ID. |
| si | string | optional | Google cached search parameters ID. |