locations

Finds dealers by name (q: any part of the name, case-insensitive), by organization ref (org), or both; send at least one. Each dealer comes with the place it is at: the poi: ref, address and coordinates, as GET /v2/locations returns them. When chargers share the place, place.kinds includes charging and place.links.charging reads them.

Covers dealers in Canada active in the last 7 days. An exact name match comes first, then shorter names. No match is an empty list, not a 404; for a dealer outside Canada that means we don't cover it, not that it doesn't exist. Costs 1 credit.

get/v2/locations/dealers

Request

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

Query parameters

q, string

A dealer name or part of one, e.g. "downtown ford"

org, string

A dealer organization's ref, as in sellers.dealers[].org (e.g. "org:cardog/0b6f…")

limit, integer

Maximum dealers

Response

Dealers, exact name match first, then shorter names

LocationDealers required
total, integer required

Entries in dealers, at most limit. A dealer at two places is two entries.

dealers, object[] required

Dealers seen in the last 7 days. A name equal to q comes first, then shorter names.

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