For the complete documentation index, see llms.txt. This page is also available as Markdown.

Google Local API

Google Local API provides structured local business results from Google Search, including position, business name, rating, reviews count, address, GPS coordinates, service options, and direct map navigation links. It is separate from the Google Maps API and specifically targets data from the local pack and local finder results.

POST https://api.serphouse.com/google-local-api

Path Parameters

Name
Type
Description

responseType

String

responseType can be 'html' or 'json'

Headers

Name
Type
Description

Authorization*

String

Bearer <YOUR_API_KEY>

Content-Type*

String

application/json

Request Body

Name
Type
Description

q*

string

Search phrase that you want to search

domain*

string

Choose google domain. You can retrieve the list of supported Google domains by making a separate request to the List of Search Engines

lang*

string

You can set language for e.g. en for english fr for french. Get the list of available languages by making a separate request to the List of Language

loc*

string

Optional field if you specify loc_id You must choose one of the fields: loc_id or loc You can receive the list of available locations of search engines with their loc_id by making a separate request to the List of Locations

loc_id*

integer

Optional field if you specify loc you must choose one of the fields: loc_id or loc You can receive the list of available locations of search engines with their loc_id by making a separate request to the List of Locations

page

integer

Specifies the page number of the results to retrieve. Each page returns up to 20 local results, and by default, the first page is returned.

{
    "status": "error",
    "msg": "Please try again",
    "error": ""
}

Example request:

Last updated