APIs / Search engines / Google Local Services
1 credit per call1 endpoint10 datapointsChecked working 6 Dec 2026
Google Local Services API
Google Local Services API for local service businesses by search query, as JSON. One endpoint, 1 credit per successful call.
{
"search_parameters": {
"q": "plumber near Chicago, IL",
"hl": "en",
"gl": "us"
},
"local_ads": [
{
"title": "Rescue Plumbing",
"rating": 4.9,
"review_count": 1600,
"service_type": "Plumber",
"years_in_business": 7,
"location": "Chicago, IL",
"hours": "Open 24 hours",
"phone": "(773) 219-6071",
"place_id": "10140420633749198317",
"sponsored": false
},
{
"title": "Goode Plumbing",
"rating": 4.8,
"review_count": 2700,
"service_type": "Plumber",
"years_in_business": 20,
"location": "Chicago, IL",
"hours": "Open 24 hours",
"phone": "(773) 280-8496",
"place_id": "10886154194927970993",
"sponsored": false
},
{
"title": "Walsh & Son Plumbing and Sewer",
"rating": 5,
"review_count": 487,
"service_type": "Plumber",
"years_in_business": 10,
"hours": "Open",
"phone": "(708) 316-1509",
"sponsored": false
}
],
"response_time_ms": 1230
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | titlestring | ratingnumber | review_countinteger | service_typestring | years_in_businessinteger | locationstring | hoursstring | phonestring | place_idstring | sponsoredboolean |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Rescue Plumbing | 4.9 | 1600 | Plumber | 7 | Chicago, IL | Open 24 hours | (773) 219-6071 | 10140420633749198317 | false |
| 2 | Goode Plumbing | 4.8 | 2700 | Plumber | 20 | Chicago, IL | Open 24 hours | (773) 280-8496 | 10886154194927970993 | false |
| 3 | Walsh & Son Plumbing and Sewer | 5 | 487 | Plumber | 10 | — | Open | (708) 316-1509 | — | false |
[
{
"title": "Rescue Plumbing",
"rating": 4.9,
"review_count": 1600,
"service_type": "Plumber",
"years_in_business": 7,
"location": "Chicago, IL",
"hours": "Open 24 hours",
"phone": "(773) 219-6071",
"place_id": "10140420633749198317",
"sponsored": false
},
{
"title": "Goode Plumbing",
"rating": 4.8,
"review_count": 2700,
"service_type": "Plumber",
"years_in_business": 20,
"location": "Chicago, IL",
"hours": "Open 24 hours",
"phone": "(773) 280-8496",
"place_id": "10886154194927970993",
"sponsored": false
},
{
"title": "Walsh & Son Plumbing and Sewer",
"rating": 5,
"review_count": 487,
"service_type": "Plumber",
"years_in_business": 10,
"hours": "Open",
"phone": "(708) 316-1509",
"sponsored": false
}
]title,rating,review_count,service_type,years_in_business,location,hours,phone,place_id,sponsored Rescue Plumbing,4.9,1600,Plumber,7,"Chicago, IL",Open 24 hours,(773) 219-6071,10140420633749198317,false Goode Plumbing,4.8,2700,Plumber,20,"Chicago, IL",Open 24 hours,(773) 280-8496,10886154194927970993,false Walsh & Son Plumbing and Sewer,5,487,Plumber,10,,Open,(708) 316-1509,,false
Recorded 12 Nov 2026 · 3 items shown · 10 datapoints per itemGET /v1/google-local-services/search?q=plumber+near+Chicago%2C+IL&hl=en&gl=us
10 datapoints
Identity
- titlestring
- service_typestring
- place_idstring
Contact
- phonestring
Location
- locationstring
Reputation
- ratingnumber
- review_countinteger
Other
- years_in_businessinteger
- hoursstring
- sponsoredboolean
Playground
Run this API
curl "https://api.perceptlayer.com/v1/google-local-services/search?q=plumber+near+Chicago%2C+IL&hl=en&gl=us" \
-H "X-API-Key: $API_KEY"Google Local Services · 1 endpoint
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/google-local-services/search | q+2 optional | search_parameterslocal_adsresponse_time_ms | 1 credit |
Overview
About the Google Local Services API
What you can get
The Google Local Services API returns Google Local Services results as JSON through 1 endpoint.
- Search:
searchtakes aq(up to 255 characters), with optionalhlandgl(two characters each).
That is the whole surface: one query in, one JSON response out. Put the trade and the area in q itself, the way the catalogue example does with plumber near Chicago, IL.
How a call works
Search a trade in an area: GET /v1/google-local-services/search?q=plumber%20near%20Chicago,%20IL&hl=en&gl=us with your key in the X-API-Key header. There's no ID to fetch first and no second call to chain: change q to change the trade or the area. Every successful call costs 1 credit; failed calls cost nothing.
More search engines APIs
Use cases
Find local service businesses for a trade in a given area
Use the Google Local Services API to find local service businesses for a trade in a given areaCompare which businesses come up for the same category across several cities
Use the Google Local Services API to compare which businesses come up for the same category across several citiesRun a fixed set of category and area queries on a schedule to see how results change
Use the Google Local Services API to run a fixed set of category and area queries on a schedule to see how results changeGive an agent a tool that answers "who offers this service near here?" with live results
Use the Google Local Services API to give an agent a tool that answers "who offers this service near here?" with live resultsFAQ
Questions
Do I need a Google Local Services API key?
No. You call this Google Local Services API with your Perceptlayer key in the `X-API-Key` header, with no separate account or key to set up.
How much does the Google Local Services API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
What goes in the query?
`q` is a free-text string of up to 255 characters, so a trade and a place in one phrase works, as in `plumber near Chicago, IL`. `hl` and `gl` are optional and take two characters each, such as `en` and `us` in the catalogue example.
Is this the official Google Local Services API?
No. Perceptlayer is an independent service and is not affiliated with Google Local Services. It returns Google Local Services data as JSON with a Perceptlayer key, so there is no Google Local Services developer account, app review or partner approval to get first. It only reads data: if Google Local Services has an official API and you need to act on your own Google Local Services account, such as posting, managing orders or reading private data, use that one.
Should I build a Google Local Services scraper instead?
You can, but a Google Local Services scraper is code you maintain: page changes break it, requests get blocked, and Google Local Services's terms govern how you collect data. The Google Local Services API gives you 1 endpoint of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Google Local Services API with 100 free credits
No credit card. Failed calls are never billed.