---
title: "Find places"
method: GET
path: "/v2/locations"
tags: ["locations"]
---

# Find places

`GET /v2/locations`

## Request

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

Fuel stations, EV chargers and dealers within a radius of a point, nearest first. Each place has one ref, `poi:{geohash}`, so a gas station with chargers is one place of two kinds.

A place is listed when any kind you asked for is active there: a fuel station seen in the last 7 days, an operational charger, or a dealer seen in the last 7 days. Each result links to the full fuel or charging record (`links.fuel`, `links.charging`). Costs 1 credit.

## Query parameters

- `lat` number, required
- `lng` number, required
- `radius_km` number
- `kind` string
- `limit` integer

## Response `200`

Places, nearest first

- LocationSearch
  - `total` integer, required: Places returned, at most `limit`
  - `locations` object[], required: Places with something live, nearest first: a fuel station or dealer seen in the last 7 days, or an operational charger
    - `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
    - `distanceKm` number, required: Distance from the search point, in km
    - `links` object: `self`, plus `fuel` (the station on `/v2/fuel`) when `kinds` has "fuel", and `charging` (the station on `/v2/charging`) when `kinds` has "charging"
  - `asOf` string: The last day any place was seen, YYYY-MM-DD
  - `links` object: Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

## 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.
- `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/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)
