locations

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.

get/v2/locations

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Query parameters

lat, number required

Latitude of the search center

lng, number required

Longitude of the search center

radius_km, number

Search radius in km

kind, string

Only places of these kinds, comma-separated: "fuel", "charging", "seller" (e.g. "fuel,charging")

limit, integer

Maximum places

Response

Places, nearest first

LocationSearch required
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

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"}

Changes