Google Local Services API Documentation

GET   /api/v1/search?engine=google_local_services

The Google Local Services API returns the service providers Google lists in its Local Services ads for a service and a place, such as plumbers in Austin or electricians in London. Each search returns up to 20 businesses, in the order Google shows them, with their rating, review count and star breakdown, years in business, service area, phone number, highlights and opening hours, plus links to each business's Local Services profile, booking and messaging pages. It is distinct from the Google Local API, which returns the local pack of Google Search.

API Parameters

Search Query

  • Name
    q
    Required
    Required
    Description

    Parameter defines the service you want to find providers for. Examples include:

    • Trade: plumber, electrician, locksmith
    • Home service: house cleaning, pest control
    • Service + place: plumber austin tx, for a city in the United States when neither location nor uule is set
    A query Google Local Services can't match to one of its services (for example pizza) returns an error saying no results were found. The query can be up to 800 characters long.

Geographic Location

  • Name
    location
    Required
    Optional
    Description

    Parameter defines the place to find service providers in, such as Austin,Texas,United States or London,England,United Kingdom. For exact targeting or to see all available options, check out the Locations API. If multiple locations match your input, the most popular one will be selected.

    Give the place with location, with uule, or, for a city in the United States, by naming it in q (for example plumber austin tx). A US postal code named in q places some searches (for example plumber 78701) and returns an error saying no results were found for others (for example plumber 10001), so give a postal code with location (for example 10001,New York,United States). A place outside the United States named in q returns the same error, and so does a search with no place in location, uule or q (an empty location is ignored).

    Google Local Services also lists businesses outside the United States, for example in Canada, the United Kingdom, Germany and France. Set hl to the language it uses there, such as hl=de for Berlin,Berlin,Germany.

  • Name
    uule
    Required
    Optional
    Description

    Parameter sets the exact Google-encoded location for the search, up to 512 characters long. SearchApi builds it for you when you use the location parameter, but you can provide your own if you want precise control. When both are set, location is used.

Localization

  • Name
    hl
    Required
    Optional
    Description

    The default parameter en defines the interface language of the search. Check the full list of supported Google hl languages. Business types, highlights, hours and the day names in open_hours come back in this language.

    Google Local Services lists businesses only when hl is the language it uses in the searched place, for example:

    • en for the United States, the United Kingdom and English-speaking Canada
    • de for Germany
    • fr for France
    • it for Italy
    With any other hl, for example en for Berlin,Berlin,Germany, the search returns an error saying no results were found. q can name the service in English or in that language: plumber and Klempner both work with hl=de in Berlin.

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to google_local_services.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

Zero Data Retention

  • Name
    zero_retention
    Enterprise Only
    Enterprise Only
    Required
    Optional
    Description

    Set this parameter to true to disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.

API Examples

Full Response

Full Response

Each item in local_ads identifies the business with Google's cid and bid, plus a pid when Google gives the business one. reviews_histogram counts reviews per star rating, open_hours lists the hours for each day of the week, and booking_link and message_link are present when the business takes bookings or messages through Google.

GET
https://www.searchapi.io/api/v1/search?engine=google_local_services&location=Austin%2CTexas%2CUnited+States&q=plumber
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_local_services",
  "q": "plumber",
  "location": "Austin,Texas,United States"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_oFBkuSXgxs8X9aHhKhwqoCrm",
    "status": "Success",
    "created_at": "2026-10-28T19:41:26Z",
    "request_time_taken": 1.39,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.4,
    "request_url": "https://www.google.com/localservices/prolist?src=1&hl=en&q=plumber&uuld=w+CAIQICIaQXVzdGluLFRleGFzLF...",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_oFBkuSXgxs8X9aHhKhwqoCrm.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_oFBkuSXgxs8X9aHhKhwqoCrm"
  },
  "search_parameters": {
    "engine": "google_local_services",
    "q": "plumber",
    "location": "Austin,Texas,United States",
    "location_used": "Austin,Texas,United States",
    "hl": "en"
  },
  "local_ads": [
    {
      "position": 1,
      "title": "Radiant Plumbing, Air Conditioning, & Electrical",
      "link": "https://www.google.com/localservices/profile?cs=0&q=Radiant+Plumbing,+Air+Conditioning,+%26+Electric...",
      "cid": "6779199783",
      "bid": "9140608052",
      "rating": 4.8,
      "reviews": 18046,
      "reviews_histogram": {
        "1": 678,
        "2": 146,
        "3": 112,
        "4": 377,
        "5": 16733
      },
      "type": "Plumbers",
      "service_area": "Austin",
      "years_in_business": 27,
      "phone": "+15129671551",
      "highlights": [
        "24/7 emergency services",
        ...
      ],
      "open_state": "Open",
      "hours": "Open 24 hours",
      "open_hours": {
        "wednesday": "Open 24 hours",
        "thursday": "Open 24 hours",
        "friday": "Open 24 hours",
        "saturday": "Open 24 hours",
        "sunday": "Open 24 hours",
        "monday": "Open 24 hours",
        "tuesday": "Open 24 hours"
      },
      "booking_link": "https://www.google.com/localservices/booking?ebd=EgxTZXJ2aWNlVGl0YW4azQFodHRwczovL2Jvb2suc2VydmljZXR...",
      "message_link": "https://www.google.com/localservices/messaging?smp=Gih4Y2F0OnNlcnZpY2VfYXJlYV9idXNpbmVzc19wbHVtYmVyO...",
      "thumbnail": "https://lh3.googleusercontent.com/N9X6OIdzAKQCZLhQitSGRUftYliNu6JQvLUb5nIyudqFkb5SwN8GYUd6xk-9gg=w15..."
    },
    ...
  ]
}

Search Outside the United States

Search Outside the United States
GET
https://www.searchapi.io/api/v1/search?engine=google_local_services&location=London%2CEngland%2CUnited+Kingdom&q=electrician
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_local_services",
  "q": "electrician",
  "location": "London,England,United Kingdom"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_b4JAIjDpreBDYmMadcAGwvWd",
    "status": "Success",
    "created_at": "2026-10-28T19:41:28Z",
    "request_time_taken": 1.13,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.13,
    "request_url": "https://www.google.com/localservices/prolist?src=1&hl=en&q=electrician&uuld=w+CAIQICIdTG9uZG9uLEVuZ2...",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_b4JAIjDpreBDYmMadcAGwvWd.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_b4JAIjDpreBDYmMadcAGwvWd"
  },
  "search_parameters": {
    "engine": "google_local_services",
    "q": "electrician",
    "location": "London,England,United Kingdom",
    "location_used": "London,England,United Kingdom",
    "hl": "en"
  },
  "local_ads": [
    {
      "position": 1,
      "title": "Arthur Electrical 24h Ltd",
      "link": "https://www.google.com/localservices/profile?cs=0&q=Arthur+Electrical+24h+Ltd&spp=EkIKEgiYgfPHHxCGoq...",
      "cid": "8472281240",
      "bid": "11050455302",
      "rating": 5.0,
      "reviews": 20,
      "reviews_histogram": {
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 20
      },
      "type": "Electrician",
      "service_area": "London",
      "years_in_business": 58,
      "phone": "+447520637393",
      "highlights": [
        "Locally owned & operated",
        ...
      ],
      "open_state": "Open",
      "hours": "Open 24 hours",
      "open_hours": {
        "wednesday": "Open 24 hours",
        "thursday": "Open 24 hours",
        "friday": "Open 24 hours",
        "saturday": "Open 24 hours",
        "sunday": "Open 24 hours",
        "monday": "Open 24 hours",
        "tuesday": "Open 24 hours"
      }
    },
    ...
  ]
}