Parameters

ParameterType and limitsDescription
qoptionalstringLiteral text matched against names and addresses; sorts by relevance when set.
countryoptionalstringISO 3166-1 alpha-2 country code. Required with state or city.
stateoptionalstringAdmin1 name, exact (see Geography lookup).
cityoptionalstringAdmin2 name, exact.
categoriesoptionalstringComma-separated category IDs, Any/OR: a place matches when any of its category_ids is listed.
primary_categoriesoptionalstringComma-separated category IDs, strict: matches primary_category_id only.
latoptionalnumber-90–90Latitude of the radius center; lat, lng and radius_m go together.
lngoptionalnumber-180–180Longitude of the radius center.
radius_moptionalnumberRadius in meters (greater than 0).
poi_validityoptionalstringOne of valid, uncertain, invalidOnly places with this validity.
category_matchoptionalstringOne of matched, unmatchedWhether the place has a resolved category.
has_primary_categoryoptionalbooleanWhether primary_category_id is set.
min_ratingoptionalnumber0–5Minimum review_rating.
max_ratingoptionalnumber0–5Maximum review_rating; not below min_rating.
min_review_countoptionalinteger≥ 0Minimum review_count.
is_24_hoursoptionalbooleanOpen 24 hours.
is_night_serviceoptionalbooleanNight service.
has_open_hoursoptionalbooleanHas opening hours.
has_phoneoptionalbooleanHas a phone number.
has_websiteoptionalbooleanHas a website.
has_social_mediaoptionalbooleanHas social-media links.
has_parent_venueoptionalbooleanLocated inside another venue.
hotel_ratingoptionalinteger0–5Hotel class.
sortoptionalstringOne of relevance, distance, rating, review_countDefault relevance with q, otherwise review_count; distance needs lat, lng, radius_m.
limitoptionalinteger1–1000, default 100Items per page, 1–1000.
cursoroptionalstringOpaque next_cursor from the previous page, with the same other parameters. Every page is a separate request, billed on its own.
fieldsoptionalstringComma-separated Commercial v13 fields to return (place_key is always included). user_reviews only when listed.

Response

JSON. The example on the right shows the shape with illustrative values.

  • X-Request-Id: Server-generated ID of this request; quote it to support.
  • X-Credits-Charged: Credits actually debited for this request (0 when nothing was charged).
  • Retry-After: 429 only: seconds until the rate window ends.

Errors

StatusMeaning
401Missing, invalid or revoked API key (WWW-Authenticate: Bearer). Not charged.
402Insufficient credits: the wallet cannot cover the operation's base price before the call, or the actual price of the result at debit time (for example a large page). Nothing is charged; top up and retry.
422Invalid parameter or combination, or an invalid cursor. Not charged.
429Workspace rate limit exceeded; retry after Retry-After seconds. Not charged.
502Upstream error or unexpected response. Not charged.
504Upstream timeout. Not charged.

Errors are JSON, {"detail": "..."}. See Errors and rate limits.