← Tools Reference

HasData

HasData integration (Data, Developer Tools). Imported from open-connector.

API key2 toolshttps://api.hasdata.com
POST
hasdata_scrape_web
Scrape one public web page through HasData's synchronous Web Scraping API and return the official JSON payload.

/scrape/web

17 parameters
ParamTypeRequiredDescription
urlstringrequiredThe absolute public URL HasData should scrape.
outputFormatarrayoptionalResponse formats HasData should include in the result.
proxyTypestringoptionalThe proxy type HasData should use for the target page.
proxyCountrystringoptionalThe ISO 3166-1 alpha-2 country code used for HasData proxy geolocation.
extractRulesobjectoptionalString values keyed by caller-defined field names.
aiExtractRulesobjectoptionalStructured AI extraction rules accepted by HasData.
screenshotbooleanoptionalWhether HasData should capture a page screenshot.
extractEmailsbooleanoptionalWhether HasData should extract email addresses from the page.
extractLinksbooleanoptionalWhether HasData should extract hyperlinks from the page.
waitintegeroptionalDelay in milliseconds after page load before HasData scrapes the page.
waitForstringoptionalCSS selector HasData should wait for before scraping.
blockResourcesbooleanoptionalWhether HasData should block images and stylesheets while loading the page.
blockAdsbooleanoptionalWhether HasData should block common ad scripts and tracking pixels.
blockUrlsarrayoptionalNetwork request substrings or domains HasData should block.
jsRenderingbooleanoptionalWhether HasData should enable JavaScript rendering for the page.
jsScenarioarrayoptionalJavaScript browser actions HasData should run on the page.
headersobjectoptionalHTTP headers HasData should send to the target website.
GET
hasdata_search_google_serp
Run one synchronous Google SERP search through HasData and return the official JSON payload.

/scrape/google/serp

19 parameters
ParamTypeRequiredDescription
qstringrequiredSearch term to query Google for.
locationstringoptionalGoogle canonical location for the search.
uulestringoptionalEncoded Google canonical location string.
domainstringoptionalGoogle domain to use for the search, such as google.com.
glstringoptionalTwo-letter country code used to localize results.
hlstringoptionalTwo-letter language code used for the search interface.
lrstringoptionalLanguage restriction for the web content returned by Google.
tbsstringoptionalGoogle advanced filter expression such as qdr:d or sbd:1.
safestringoptionalAdult content filtering mode sent to Google.
filterintegeroptionalWhether Google should enable similar and omitted result filtering.
nfprintegeroptionalWhether Google should show only the original query.
startintegeroptionalNumber of search results to skip for pagination.
numintegeroptionalNumber of results per page.
tbmstringoptionalGoogle search type.
deviceTypestringoptionalDevice type HasData should emulate for Google results.
ludocidstringoptionalGoogle Place ID for a specific location result.
lsigstringoptionalAdditional Google Place ID parameter.
kgmidstringoptionalGoogle Knowledge Graph ID.
sistringoptionalGoogle cached search parameters ID.