Overview
The Google Search endpoint extracts structured data from Google Search results, including organic results, People Also Ask questions, related searches, and optional AI Overview data.Request parameters
Uses common parameters. Google-specific options:country(string): ISO 3166-1 alpha-2 country code for localized results. Defaults toUScity(string): Canonical city name for hyperlocal search results. Use canonical city names from the Google Ads geotargets.pages(integer): Number of search results pages to scrape (1-20). Defaults to1include.html(boolean): Include raw HTML response. Defaults tofalseinclude.aioverview(boolean|object): Include Google AI Overview. Use object withmarkdown: truefor markdown formatting. Defaults tofalse
Response schema
Includes common response fields plus:| Field | Type | Description |
|---|---|---|
result.organicResults | array | Organic search results with position, title, link, snippet |
result.peopleAlsoAsk | array | ”People Also Ask” questions with answers |
result.relatedSearches | array | Related search suggestions |
result.aioverview | object | Google AI Overview data (if requested) |
result.aioverview.text | string | AI Overview text content |
result.aioverview.sources | array | Sources referenced in AI Overview |
result.aioverview.markdown | string | AI Overview in markdown format (if requested) |
result.html | string | Raw HTML response (if requested) |
Usage examples
Hyperlocal search with city parameter
city parameter to get hyperlocal search results for specific locations. The backend automatically converts canonical city names to Google’s location parameter.
City name formats supported:
- City only: “New York”, “Paris”, “Tokyo”
- City with region: “Paris,Île-de-France”, “New York,New York”
- City with region and country: “Tokyo,Tokyo,Japan”, “London,England,United Kingdom”
Scrape multiple pages
peopleAlsoAsk results include a page field indicating which page each question appeared on.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Request parameters for monitoring Google search results
The search query to execute on Google
Required string length:
1 - 10000Example:
"best laptops for programming"
ISO 3166-1 alpha-2 country code for localized search results
Example:
"US"
Canonical city name for hyperlocal search results. Use canonical city names from the Google Ads geotargets
Example:
"New York"
Number of search results pages to scrape (1-20)
Required range:
1 <= x <= 20Example:
3
Optional flags for including additional response data