---
title: "Get a place"
method: GET
path: "/v2/locations/{id}"
tags: ["locations"]
---

# Get a place

`GET /v2/locations/{id}`

## Request

- Base URL: `https://api.cardog.app`
- URL: `https://api.cardog.app/v2/locations/{id}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

One 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.

## Path parameters

- `id` string, required

## Response `200`

The place, with its fuel, charging and sellers blocks

- LocationDetailResponse
  - `location` object, required: The place, with the detail for each thing it is
    - `ref` string, required: The poi ID, e.g. "poi:dpz9cxmmw0"
    - `id` string, required: The place's ID: a 10-character geohash of its location, the same as `ref` without "poi:", e.g. "dpz83errq8"
    - `kinds` string[], required: Everything the place is. A gas station with chargers is ["fuel", "charging"].
    - `name` string, nullable, required: The place's name, e.g. "Esso"
    - `brand` string, nullable, required: The brand, e.g. "Petro-Canada"
    - `address` object, required: The place's address
      - `street` string, nullable, required: Street address
      - `city` string, nullable, required: City
      - `state` string, nullable, required: State, province or territory code, e.g. "ON"
      - `postalCode` string, nullable, required: Postal code
      - `country` string, nullable, required: Country code, ISO 3166-1 alpha-2
    - `location` object, required: Where the place is
      - `latitude` number, required: Latitude
      - `longitude` number, required: Longitude
    - `fuel` object, nullable, required: Fuel prices and details. Null when the place is not a fuel station.
      - `fuels` string[], required: Fuels the station sells
      - `prices` object[], required: Current prices: the newest posted price for each fuel and payment, at most 7 days old
        - `fuel` 'regular' | 'midgrade' | 'premium' | 'diesel' | 'e85' | 'propane', required: The fuel: a gasoline grade (`regular`, `midgrade`, `premium`), `diesel`, `e85` or `propane`
        - `fuelType` string, required: The fuel type ID, the same one vehicle specs use, e.g. "fuel-type:gasoline"
        - `payment` 'credit' | 'cash', required: The price paying by card (`credit`) or by `cash`. Most stations post a card price only.
        - `centsPerLitre` number, required: The posted price, in Canadian cents per litre
        - `currency` 'CAD', required: Always CAD
        - `postedAt` string, required: When the price was posted, ISO 8601
        - `reportedBy` string, nullable, required: Who posted it: "owner" (the station) or "member" or "visitor" (a driver). More values may be added.
      - `amenities` string[], required: What the station offers, e.g. "c_store", "pay_at_pump". More values may be added.
      - `openingHours` string, nullable, required: Opening hours as posted, e.g. "24/7"
    - `charging` object, nullable, required: The chargers here. Null when there are none.
      - `stations` object[], required: Every charging station at the place, as `/v2/charging` returns them without `source`
        - `ref` string, required: The station ID, e.g. "station:ocm/248113"
        - `id` string, required: The station's ID, the last part of `ref`, e.g. "248113". Use it with `/v2/charging/stations/{id}`.
        - `name` string, nullable, required: The station's name
        - `address` object, required: The station's address
          - `street` string, nullable, required: Street address
          - `city` string, nullable, required: City
          - `state` string, nullable, required: State, province or territory, e.g. "ON"
          - `postalCode` string, nullable, required: Postal code
          - `country` string, nullable, required: Country code, ISO 3166-1 alpha-2
        - `location` object, required: Where the station is
          - `latitude` number, required: Latitude
          - `longitude` number, required: Longitude
        - `connectors` object[], required: The connector types at the station
          - `connectionTypeId` integer, required: Connector type as a number, e.g. 1 for J1772. 0 when not specified.
          - `connectionType` string, required: Connector type name, e.g. "J1772 (Type 1)", "CCS Type 1" or "NACS"
          - `powerKW` number, required: Rated power, in kW. 0 when unknown.
          - `currentType` 'AC' | 'DC', required: `AC` or `DC`
          - `level` integer, required: Charging level, 1 to 3. 0 when not specified.
          - `voltage` number, required: Voltage, in volts. 0 when unknown.
          - `amperage` number, required: Current, in amps. 0 when unknown.
          - `quantity` integer, nullable, required: How many connectors of this type the station has
        - `maxPowerKw` number, nullable, required: The highest rated power of any connector, in kW
        - `numberOfPoints` integer, nullable, required: How many charge points the station has
        - `operator` string, nullable, required: Who runs the station
        - `status` string, required: "Operational" or "NonOperational". Closed stations stay in the data, so check this field.
        - `usage` string, nullable, required: Who may use it, e.g. "Public"
        - `isMembershipRequired` boolean, nullable, required: True when you need a membership to charge
        - `isPayAtLocation` boolean, nullable, required: True when you can pay at the station
        - `dateCreated` string, nullable, required: When Open Charge Map first recorded the station, ISO 8601
        - `dateLastVerified` string, nullable, required: When Open Charge Map last confirmed the station, ISO 8601
        - `poi` string, nullable, required: The place the station is at, as an ID such as "poi:dpz9cxmmw0". Read it at `/v2/locations/{id}` with the part after "poi:". A fuel station or dealer at the same spot has the same one. Null when the station has none.
        - `links` object: Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
      - `attribution` string, required: The Open Charge Map licence notice (ODbL 1.0). Show it wherever you display station data.
    - `sellers` object, nullable, required: The dealers here seen in the last 7 days. Null when there are none.
      - `dealers` object[], required: The dealers at the place seen in the last 7 days. An auto mall has several.
        - `org` string, required: The dealer's ID, e.g. "org:cardog/5e7d7b7d-040b-4415-8764-0aa1f6d36dde"
        - `name` string, nullable, required: The dealer's business name
    - `links` object: `self`, plus `fuel` and `charging` as on a search hit
  - `asOf` string: The last day any place was seen, YYYY-MM-DD

## Other responses

- `400`: The request is invalid. The error response names each bad value in `refs` or `details` and, where it can, suggests the nearest valid ref in `suggestions`. We never fall back to a fuzzy match.
- `401`: No valid API key or session
- `402`: Out of credits. Only the free plan stops here; paid plans are billed for overage instead.
- `404`: Resource not found
- `429`: Per-minute rate limit exceeded
- `500`: Internal error

## Changes

- **2026-10-26** `9f5eb8f28843`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cardog/apis/cardog-api-v2/changes/v2/locations/:id/get.md)

---

[API](https://skmtc.dev/cardog/apis/cardog-api-v2.md) - [All operations](https://skmtc.dev/cardog/apis/cardog-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/cardog/apis/cardog-api-v2/revisions/016058226dc5?raw)
