locations
Get a place
Changed onOne place with the detail for each kind it is. The ID is the place's ref without poi:, a 10-character geohash such as dpz9cxmmw0; any other ID is a 404.
fuel, charging and sellers each have the same shape as in their own endpoints, or are null when the place is not that kind. One place can hold several dealers, as at an auto mall: sellers.dealers lists those seen in the last 7 days. The charging block carries the ODbL 1.0 attribution; show it wherever you display station data. Costs 1 credit.
get/v2/locations/{id}
Request
- Base URLhttps://api.cardog.app
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
id, string required
The place ID: its ref without "poi:", a 10-character geohash such as "dpz9cxmmw0"
Response
The place, with its fuel, charging and sellers blocks
Location Detail Response required
location, object required
The place, with the detail for each thing it is
asOf, string
The last day any place was seen, YYYY-MM-DD
Changes
- info
endpoint added
- info