## Reference: Charging

EV charging stations (ODbL)

**Availability: live** on `https://api.cardog.app`.

### GET /v2/charging/stations

EV charging stations near a point *Since 2026-08-31.*

Radius search over our own database of charging stations, with no live dependency. Nearest first. Station data is ODbL 1.0: responses carry the `attribution` string; surface it wherever stations render.

**Query parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `lat` | number | yes | Search-center latitude |
| `lng` | number | yes | Search-center longitude |
| `radius_km` | number | no | Search radius in km |
| `connector` | integer | no | Numeric connection type id: stations with at least one matching connector |
| `min_power_kw` | number | no | Minimum station max-power in kW |
| `status` | "Operational" \| "NonOperational" \| "any" | no | Status filter; default serves only operational stations |
| `limit` | integer | no | Station cap |

**Response 200** `ChargingSearch`: Stations nearest first, with the ODbL attribution

- `total` (integer): Number of stations returned, at most `limit`
- `stations` (object[]): Nearest first
  - `stations[].ref` (string): Entity ref ({domain}:{key}) in the "station" domain. Example: "station:ocm/248113"
  - `stations[].id` (string): Station id, the tail of the station ref
  - `stations[].source` (string): Station namespace, the middle segment of the station ref: "ocm". Other values may be added.
  - `stations[].name` (string | null)
  - `stations[].address` (object)
    - `stations[].address.street` (string | null)
    - `stations[].address.city` (string | null)
    - `stations[].address.state` (string | null)
    - `stations[].address.postalCode` (string | null)
    - `stations[].address.country` (string | null): Country code (ISO 3166-1 alpha-2)
  - `stations[].location` (object)
    - `stations[].location.latitude` (number)
    - `stations[].location.longitude` (number)
  - `stations[].connectors` (object[])
    - `stations[].connectors[].connectionTypeId` (integer): Numeric connection type id (0 = unspecified)
    - `stations[].connectors[].connectionType` (string): Connector type name, e.g. "CCS Type 1", "NACS"
    - `stations[].connectors[].powerKW` (number): Rated power in kW (0 = unknown)
    - `stations[].connectors[].currentType` ("AC" | "DC")
    - `stations[].connectors[].level` (integer): Charging level 1–3 (0 = unspecified)
    - `stations[].connectors[].voltage` (number): Volts (0 = unknown)
    - `stations[].connectors[].amperage` (number): Amps (0 = unknown)
    - `stations[].connectors[].quantity` (integer | null): Number of connectors of this type at the station
  - `stations[].maxPowerKw` (number | null): Highest rated power of any connector at the station, in kW
  - `stations[].numberOfPoints` (integer | null): Number of charge points at the station
  - `stations[].operator` (string | null)
  - `stations[].status` (string): Station status: "Operational" or "NonOperational". Decommissioned stations are kept in the dataset, so filter on this field.
  - `stations[].usage` (string | null): Usage class, e.g. "Public", "Private - Restricted Access"
  - `stations[].isMembershipRequired` (boolean | null)
  - `stations[].isPayAtLocation` (boolean | null)
  - `stations[].dateCreated` (string | null): When the source first recorded the station (ISO 8601)
  - `stations[].dateLastVerified` (string | null): Last source verification (ISO 8601)
  - `stations[].poi` (string | null): The place this station is at: a `poi:{geohash}` ref, readable at `/v2/locations/{geohash}`. A fuel station or dealer at the same spot shares it. Null when the station has no place.
  - `stations[].links`? (object): Related resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
- `asOf`? (string): When the data was last refreshed (ISO 8601)
- `attribution` (string): Licence attribution string (ODbL 1.0). Must be shown wherever station data is displayed.
- `links`? (object): Related resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

**Errors** (all use the ErrorEnvelope): 400, 401, 402, 429, 500

**Example: cURL**

```bash
curl "https://api.cardog.app/v2/charging/stations?lat=43.6532&lng=-79.3832&radius_km=10" \
  -H "x-api-key: $CARDOG_API_KEY" \
  -H "Cardog-Version: 2026-10-26"
```

**Example: TypeScript** (`npm install @cardog/api`)

```typescript
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: process.env.CARDOG_API_KEY });

const chargingSearch = await client.v2.charging.search({ lat: 43.6532, lng: -79.3832, radius_km: 10 });
console.log(chargingSearch.total);
```

**Example: Python** (`pip install cardog`)

```python
import os

from cardog import Cardog

client = Cardog(api_key=os.environ["CARDOG_API_KEY"])

charging_search = client.v2.charging.search(lat=43.6532, lng=-79.3832, radius_km=10)
print(charging_search.total)
```

### GET /v2/charging/stations/{id}

One charging station by id *Since 2026-08-31.*

Each station carries `poi` (added 2026-10-26, additive): the `poi:{geohash}` ref of the place it is at, readable at `/v2/locations/{geohash}`, or null when the station has no place.

**Path parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Station id, the tail of the station ref |

**Response 200** `ChargingStationDetail`: The station record, with the ODbL attribution

- `station` (object)
  - `station.ref` (string): Entity ref ({domain}:{key}) in the "station" domain. Example: "station:ocm/248113"
  - `station.id` (string): Station id, the tail of the station ref
  - `station.source` (string): Station namespace, the middle segment of the station ref: "ocm". Other values may be added.
  - `station.name` (string | null)
  - `station.address` (object)
    - `station.address.street` (string | null)
    - `station.address.city` (string | null)
    - `station.address.state` (string | null)
    - `station.address.postalCode` (string | null)
    - `station.address.country` (string | null): Country code (ISO 3166-1 alpha-2)
  - `station.location` (object)
    - `station.location.latitude` (number)
    - `station.location.longitude` (number)
  - `station.connectors` (object[])
    - `station.connectors[].connectionTypeId` (integer): Numeric connection type id (0 = unspecified)
    - `station.connectors[].connectionType` (string): Connector type name, e.g. "CCS Type 1", "NACS"
    - `station.connectors[].powerKW` (number): Rated power in kW (0 = unknown)
    - `station.connectors[].currentType` ("AC" | "DC")
    - `station.connectors[].level` (integer): Charging level 1–3 (0 = unspecified)
    - `station.connectors[].voltage` (number): Volts (0 = unknown)
    - `station.connectors[].amperage` (number): Amps (0 = unknown)
    - `station.connectors[].quantity` (integer | null): Number of connectors of this type at the station
  - `station.maxPowerKw` (number | null): Highest rated power of any connector at the station, in kW
  - `station.numberOfPoints` (integer | null): Number of charge points at the station
  - `station.operator` (string | null)
  - `station.status` (string): Station status: "Operational" or "NonOperational". Decommissioned stations are kept in the dataset, so filter on this field.
  - `station.usage` (string | null): Usage class, e.g. "Public", "Private - Restricted Access"
  - `station.isMembershipRequired` (boolean | null)
  - `station.isPayAtLocation` (boolean | null)
  - `station.dateCreated` (string | null): When the source first recorded the station (ISO 8601)
  - `station.dateLastVerified` (string | null): Last source verification (ISO 8601)
  - `station.poi` (string | null): The place this station is at: a `poi:{geohash}` ref, readable at `/v2/locations/{geohash}`. A fuel station or dealer at the same spot shares it. Null when the station has no place.
  - `station.links`? (object): Related resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
- `asOf`? (string): When the data was last refreshed (ISO 8601)
- `attribution` (string): Licence attribution string (ODbL 1.0). Must be shown wherever station data is displayed.

**Errors** (all use the ErrorEnvelope): 400, 401, 402, 404, 429, 500

**Example: cURL**

```bash
curl "https://api.cardog.app/v2/charging/stations/248113" \
  -H "x-api-key: $CARDOG_API_KEY" \
  -H "Cardog-Version: 2026-10-26"
```

**Example: TypeScript** (`npm install @cardog/api`)

```typescript
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: process.env.CARDOG_API_KEY });

const chargingStationDetail = await client.v2.charging.station("248113");
console.log(chargingStationDetail.station);
```

**Example: Python** (`pip install cardog`)

```python
import os

from cardog import Cardog

client = Cardog(api_key=os.environ["CARDOG_API_KEY"])

charging_station_detail = client.v2.charging.station("248113")
print(charging_station_detail.station)
```

---

Previous: [Fuel](https://cardog.app/docs/reference/fuel.md) (API reference)
Next: [Platform](https://cardog.app/docs/reference/platform.md) (API reference)
