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.

Google Local Services
GET/v1/google-local-services/search?q=plumber+near+Chicago%2C+IL&hl=en&gl=us
{
  "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
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#titlestringratingnumberreview_countintegerservice_typestringyears_in_businessintegerlocationstringhoursstringphonestringplace_idstringsponsoredboolean
1Rescue Plumbing4.91600Plumber7Chicago, ILOpen 24 hours(773) 219-607110140420633749198317false
2Goode Plumbing4.82700Plumber20Chicago, ILOpen 24 hours(773) 280-849610886154194927970993false
3Walsh & Son Plumbing and Sewer5487Plumber10—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

cURLshell
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.

EndpointRequired parametersReturnsCost
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: search takes a q (up to 255 characters), with optional hl and gl (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.

Search enginesJSONRESTMCP

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 area

Compare 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 cities

Run 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 change

Give 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 results

FAQ

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.