Google Maps

Search Google Maps for businesses and places

Find businesses and places on Google Maps by a text query, optionally around a point. Each result is the full listing: place_id, name, categories, formatted_address, location, rating and user_ratings_total, phone, website, opening_hours and business_status — named as in Google's Places API. Use this to build a list of businesses in an area; use google-maps/place when you already have a place_id.

Costs 3 credits, whether the answer is fetched or served from cache. A failed call is refunded automatically.

get/google-maps/places

Request

  • Base URL: https://api.scrapefield.com/v1
  • URL: https://api.scrapefield.com/v1/google-maps/places
  • Auth: one of:
    • HTTP bearer
    • none

Query parameters

querystring required
Example:coffee shops in Brooklyn

What to search for, e.g. "coffee shops in Brooklyn" or "dentist".

latnumber

Latitude of the point to search around.

lngnumber

Longitude of the point to search around.

radius_minteger

Search radius in metres around lat/lng.

countrystring

Two-letter country code to bias results, e.g. us.

languagestring

Two-letter language code for localised text, e.g. en, de.

limitinteger

At most this many results, 1–20. A page can hold fewer while next_cursor is set: read until it is null.

cursorstring

The meta.next_cursor from the previous page. Omit for the first page.

freshboolean

Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.

demoboolean

With no key: a fixed demo answer in the same shape, charged nothing.

Response

The request succeeded.

Changes

No recorded changes to this operation across all 1 revision of this API.