Skip to content
Scrappa Get API key
Google Local API 1 credit/request

Google Local Search

GET https://scrappa.co/api/google-local/search

Search Google Local (tbm=lcl) for local businesses, shops, and services. Returns business name, rating, review count, price level, type, address, phone, hours, description, website, and thumbnail. Pagination via start (step 20). Failed requests are never charged; a valid empty result page is a successful, charged request.

Google Local Search 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/google-local/search
Auth header
x-api-key
Cost
1 credit/request
query = coffee shops hl = en gl = us
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

3 required parameters needed before sending a request.

3 optional filters available.

query string Required

The search query (e.g. coffee, restaurant)

Example value coffee shops
hl string Required

2-letter interface language code (e.g. en, de)

Example value en
gl string Required

2-letter country code (e.g. us, de)

Example value us
location string Optional

City-level location (e.g. Austin, Texas). Best-effort; exit-IP geolocation may override.

Example value Austin, Texas
start integer Optional

Pagination offset (step 20). Page 1 = 0 or absent, page 2 = 20, page 3 = 40.

Example value 0
google_domain string Optional

Google host (e.g. www.google.com, www.google.de)

Example value example

Errors

Handle these documented responses before retrying or showing customer-facing failures.

400

HTTP 400

Invalid characters in a parameter

422

HTTP 422

Missing or invalid parameter

503

HTTP 503

Google Local could not return a valid result page

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.