GroundsocialDocs

API · Google

GET /google/business/search

Search Google Maps businesses: names, addresses, ratings, phones, hours, ids.

RequestGET /v1/google/business/search
Operation idgoogle.business.search
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Search Google Maps businesses: names, addresses, ratings, phones, hours, ids.

Query parameters

NameTypeRequiredDescription
querystringyesWhat to look for. Example: coffee.
locationstringnoWhere: a city, address or area. Example: Austin, TX.
latnumber | nullno
lngnumber | nullno
zoomintegerno
languagestringnoInterface language code (Google’s hl), default en. Example: de.
countrystringnoTwo-letter country (Google’s gl), default us. Example: gb.
limitintegerno
min_ratingnumber | nullno
open_now"true" | "false"noOne of true, false.
open_24h"true" | "false"noOne of true, false.
open_on_day"mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun"noOne of mon, tue, wed, thu, fri, sat, sun.
open_at_hourinteger | nullnoWith open_on_day (default today): open at this local hour.

Responses

StatusMeaningSchema
200Matching places.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No Google Maps place matches that reference.Error
429Too many requests. Wait for Retry-After seconds.Error
503Google is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.