Skip to main content
POST
places.details.get

Authorizations

Authorization
string
header
required

API key: sk_live_…

Headers

Idempotency-Key
string

Optional. A retry with the same key returns the stored result.

Maximum string length: 255
Pramaan-Max-Price-Micro
string

Optional. The most this request may be priced at, in micro-USD (a whole number above 0). It replaces the capability's own price ceiling for this request, lower or higher. Sources that could cost more are left out; when none is left the answer is 400 with the lowest limit that would work.

Pattern: ^[1-9]\d{0,14}$

Body

application/json
ref
string
required

The ref returned by a place-returning call.

Pattern: ^(ref_[0-9A-HJKMNP-TV-Z]{26}|rh_[A-Za-z0-9_-]{24,1024})$
language
string

Language tag, such as en or en-US.

Required string length: 1 - 35
Pattern: ^[a-zA-Z]{2,8}(?:-[a-zA-Z0-9]{1,8})*$
region
string

Two-letter region code.

Required string length: 1 - 2
Pattern: ^[A-Za-z]{2}$
groups
enum<string>[]

Extra output groups; reviews and summary use the highest price tier.

Maximum array length: 6
Available options:
contact,
hours,
rating,
photos,
reviews,
summary

Response

The result

name
string
required

Place name.

Required string length: 1 - 512
address
string

Formatted address, possibly personal data.

Required string length: 1 - 2048
location
object

Place coordinates.

types
string[]

Place categories.

Maximum array length: 30
Required string length: 1 - 80
primaryType
string

Main category.

Required string length: 1 - 80
status
string

Operating status.

Required string length: 1 - 80
rating
number

Average rating.

Required range: 0 <= x <= 5
ratingCount
integer

Number of ratings.

Required range: 0 <= x <= 9007199254740991
priceLevel
enum<string>

Price category.

Available options:
free,
inexpensive,
moderate,
expensive,
very_expensive
phone
string

Public business phone, possibly personal data.

Required string length: 1 - 64
domain
string

Business website domain.

Required string length: 1 - 253
openNow
boolean

Whether currently open.

openingHours
string[]

Weekly opening hours.

Maximum array length: 14
Required string length: 1 - 256
summary
string

Place summary.

Required string length: 1 - 8000
reviews
object[]

Selected reviews, including personal names and text.

Maximum array length: 5
photos
object[]

Photo metadata; oversized source names have no handle.

Maximum array length: 20