SERP API
Local results
The map pack on Google's results page: the businesses next to the map, with rating, reviews, address, hours and phone.
GET
https://api.scraperdata.com/v1/searchCredits
One credit per results page, as for every search. Failed requests are free.
The ScraperData Google Local Results API returns the businesses Google shows in the map pack (the local pack) as JSON: name, rating, number of reviews, category, price level, address, opening hours, phone and website. Set location to a city to search as if you were there; each results page costs one credit.
Request parameters
These are the ones that matter here. Every other parameter of a live search works too, such as gl, hl, num_pages and device.
| Field | Type | Description |
|---|---|---|
q | string | requiredThe search query.Example: dentist |
location | string | optionalThe city or region to search from.Example: Chicago, Illinois |
Response
The list is local_results. Each item has these fields when Google shows them:
| Field | Type | Description |
|---|---|---|
title | string | The business name |
rating, reviews | number, string | Average rating and number of reviews |
type | string | The category, for example Dentist |
price | string | The price level, when Google shows one |
address | string | Street address or area |
hours | string | Open or closed now, and when it opens |
phone | string | The phone number |
website | string | The business's website |
This reads the map pack on Google's results page, the businesses shown next to the map. It is not the Google Maps app.
Good for
- Local SEO and map pack rank tracking
- Lead generation for local businesses
- Reviews and rating monitoring
More examples and questions on the Google Local Results API page.