Places
Places Enriched Search
GET
/v1/places/enriched/searchThe same search, filters and cursor as Places Search, with the Web, Visitor and (opt-in) Polygon groups of each returned POI.
- Authentication
- Workspace API key:
Authorization: Bearer YOUR_API_KEY - Price
- 11,500 credits + 345 per returned POI ($0.0115 per request)The Places Search price. During the Places Enriched Beta the Web, Visitor and Polygon groups add no cost; each response still counts, in
X-Billable-Groups, the returned POIs with a substantive value per group. Standard Places Core pricing applies.
Try in PlaygroundOpens the request in the Playground. Nothing runs until you choose Run.
Parameters
| Parameter | Type and limits | Description |
|---|---|---|
qoptional | string | Literal text matched against names and addresses; sorts by relevance when set. |
countryrequired | string | ISO 3166-1 alpha-2 country code. |
stateoptional | string | Admin1 name, exact (see Geography lookup). |
cityoptional | string | Admin2 name, exact. |
categoriesoptional | string | Comma-separated category IDs, Any/OR: a place matches when any of its category_ids is listed. |
primary_categoriesoptional | string | Comma-separated category IDs, strict: matches primary_category_id only. |
latoptional | number-90–90 | Latitude of the radius center; lat, lng and radius_m go together. |
lngoptional | number-180–180 | Longitude of the radius center. |
radius_moptional | number | Radius in meters (greater than 0). |
poi_validityoptional | stringOne of valid, uncertain, invalid | Only places with this validity. |
category_matchoptional | stringOne of matched, unmatched | Whether the place has a resolved category. |
has_primary_categoryoptional | boolean | Whether primary_category_id is set. |
min_ratingoptional | number0–5 | Minimum review_rating. |
max_ratingoptional | number0–5 | Maximum review_rating; not below min_rating. |
min_review_countoptional | integer≥ 0 | Minimum review_count. |
is_24_hoursoptional | boolean | Open 24 hours. |
is_night_serviceoptional | boolean | Night service. |
has_open_hoursoptional | boolean | Has opening hours. |
has_phoneoptional | boolean | Has a phone number. |
has_websiteoptional | boolean | Has a website. |
has_social_mediaoptional | boolean | Has social-media links. |
has_parent_venueoptional | boolean | Located inside another venue. |
hotel_ratingoptional | integer0–5 | Hotel class. |
sortoptional | stringOne of relevance, distance, rating, review_count | Default relevance with q, otherwise review_count; distance needs lat, lng, radius_m. |
limitoptional | integer1–1000, default 100 | Items per page, 1–1000. |
cursoroptional | string | Opaque next_cursor from the previous page, with the same other parameters. Every page is a separate request, billed on its own. |
fieldsoptional | string | Comma-separated Commercial v13 fields and/or the groups web, visitor, polygon. Unset: every Core field plus Web and Visitor. Set: exactly what it lists; a group it does not list is neither returned nor billed. user_reviews is not available here. |
include_polygonoptional | booleandefault false | Also return the matched building polygon (GeoJSON), unless fields leaves polygon out. |
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 (0when nothing was charged).X-Billable-Groups: Enriched Search and Details: returned POIs with a substantive value per group, e.g. {"web":1,"visitor":1,"polygon":0}. No group adds cost during the Places Enriched Beta.Retry-After: 429 only: seconds until the rate window ends.
Errors
| Status | Meaning |
|---|---|
401 | Missing, invalid or revoked API key (WWW-Authenticate: Bearer). Not charged. |
402 | Insufficient 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. |
409 | Enriched data is not ready for this country. Not charged. |
422 | Invalid parameter or combination, or an invalid cursor. Not charged. |
429 | Workspace rate limit exceeded; retry after Retry-After seconds. Not charged. |
502 | Upstream error or unexpected response. Not charged. |
504 | Upstream timeout. Not charged. |
Errors are JSON, {"detail": "..."}. See Errors and rate limits.