What is the Google local pack?

The local pack is the block on a Google results page that shows a small map and a short list of nearby businesses for searches with local intent, such as "plumber near me" or "pizza in Denver". Each listing shows the business name, rating, category and key details, and links to its business profile.

Last updated:

What decides which businesses appear?

Google says local results are based mainly on three factors: relevance, distance and prominence. Relevance is how well a business profile matches the search. Distance is how far the business is from the location named in the search, or from the searcher if no location is named. Prominence reflects how well known the business is; Google says this draws on information from across the web, such as links and articles, and on review count and rating.

Because distance matters, the local pack for the same query can differ from one neighborhood to the next. Two people searching for "dentist" a few miles apart can see different businesses, and the same person can see different results at home and at work.

How do you get local pack data from an API?

BestSERP does not return the local pack block of the web results page as its own field. Local business data is available separately: the /places and /maps endpoints return a places array in which each business has title, address, category, rating, ratingCount, hours, latitude, longitude, placeId and cid. That is usually the data people want from a local pack in the first place: which businesses show up, how they are rated and where they are.

There is an important limit. Requests take a country (gl) and a language (hl), but there is no city-level location parameter. To focus on a city, put it in the query itself, for example "dentist in Austin". That narrows results to the named city, but it is not the same as simulating a searcher standing on a particular street, so it cannot reproduce neighborhood-level differences.

What can you build with local business data?

Common uses include lead lists of businesses in a category and city, review monitoring that records rating and ratingCount over time, competitor maps built from latitude and longitude, and checks that a business's hours and category look right. The placeId and cid fields are Google's identifiers for a place, so you can match the same business across repeated requests and remove duplicates. Google notes that place IDs can occasionally change, so keep the name and address as a fallback for matching.

Example

Without a city-level parameter, put the city in the query.

POST /places
X-API-KEY: YOUR_API_KEY
Content-Type: application/json

{"q": "dentist in Austin", "gl": "us", "hl": "en"}

Start with 3,000 free searches

No credit card. Sign in with Google, create a key, send your first request.