Google SERPs API
Collect Google Search results for a keyword and chosen location.
Use the Google SERPs API to capture the pages returned for a search term. The example searches for coffee roasters in the United States, which can help you compare the domains visible for a commercial query.
Compare Google search visibility
Send this JSON body to POST /serp/new, or connect your HV API key in the playground on this page.
{
"keyword": "coffee roasters",
"searchEngine": "google",
"region": "US",
"asynchronous": true,
"saveRawData": true
}
Keep the keyword, region, language, and device consistent when comparing runs. Use separate reports for each market you want to inspect.
Read the captured report
Save the returned id, then retrieve that report. Inspect ready and faulty before reading the result data. With saveRawData: true, retained source output is available in data.raw when supplied.
Request fields and batch examples cover the common search workflow. Open the fields for this source for the scoped request definition.
Requests and responses
Jump to an endpoint
Loading endpoints...