تخطَّ إلى المحتوى
توثيق المطورين

Public Place Details

GET /v1/places/{place_id} · X-API-Key

Public Place Details

GET /v1/places/{place_id} · X-API-Key

GET/v1/places/{place_id}

Public Place Details

Public place details from the Overture-derived places data.

Credential
X-API-Key
Plane
https://api.bardiyamap.com
Billing
1 credit per request
Operation id
getPlace

Parameters

Path parameters

NameTypeRequiredDescription
place_idstringyesPlace id from a search or autocomplete result. Treat it as opaque.

Header parameters

NameTypeRequiredDescription
Idempotency-Keystring | nullnoOpaque key that makes a retried POST safe. Reuse the same value for every retry of the same intent; a new value is a new chargeable operation.

Request example

shell
curl "https://api.bardiyamap.com/v1/places/plc_01HX9Z6Q3M" \
  -H "X-API-Key: $BARDIYA_API_KEY"

Response 200 · PlaceDetails

FieldTypeRequiredNotes
address_componentsobject | nullno
brandstring | nullno
brand_wikidatastring | nullno
categorystring | nullno
category_arstring | nullno
category_hierarchystring[]no
confidencenumber | nullnodouble
coordinateCoordinateno
emailsstring[]no
enginestring | nullno
formatted_addressstring | nullno
idstringyes
namestringyes
opening_hoursstring | nullno
operating_statusstring | nullno
original_namestring | nullno
phonesstring[]no
primary_categorystring | nullno
socialsobject[]no
sourcestring | nullno
websitesstring[]no

Errors

StatusMeaning
400Request is malformed or a parameter is out of range
401Missing or invalid credential
403Credential is valid but lacks the required scope, or the request origin is not allowed
404Resource not found or not visible to this credential's organization
422Validation Error
429Rate limit or quota exceeded; honour `Retry-After`
503The upstream provider is temporarily unavailable

Error bodies use the shared envelope documented in Errors: { "error": { "code", "message", "details", "request_id" } }.

GET /v1/places/{place_id} is part of the Places group. Values on this page are generated from contract version 1.1.0.