Data API
Short answer: ChargerCostByCity publishes free, read-only JSON at https://chargercostbycity.com/api/v1/. The current version is 1.0.0 and the data was last updated 2026-10-25. Each file includes its version, last-updated date, source URLs and an attribution line. A missing figure is null; we never estimate one.
Last updated:
Which endpoints are available?
| Endpoint | Contents |
|---|---|
| /api/v1/cities.json | All 50 cities: national installed range, permit fee and label, max verified rebate, net cost, and source URLs. |
| /api/v1/permits.json | Permit fee per city, with kind (official, secondary or pending), whether it is EV-specific, and sources. |
| /api/v1/methodology.json | The rules behind every figure: what is national, what is secondary, and how often data is updated. |
| /api/v1/charger-safety.json | Charger listing (maker-stated or not confirmed) and NHTSA and CPSC recall results, with source URLs and dates. |
What does a response look like?
{"name":"cities","version":"1.0.0","lastUpdated":"2026-10-25",
"attribution":"ChargerCostByCity (https://chargercostbycity.com). Cite the endpoint URL and lastUpdated date.",
"sources":[{"label":"Qmerit ...","url":"https://qmerit.com/..."}],
"cities":[{"slug":"los-angeles","installed":{"lowUsd":749,"highUsd":2500,"scope":"national"},
"permit":{"usd":98.1,"kind":"secondary","sources":[...]}, ...}]} Can I use it in an AI assistant?
Yes. The files are listed in llms.txt. A read-only MCP server prototype provides get_city_cost, list_permit_fees, get_methodology and check_charger_safety from these files.
Last updated: 2026-10-25.
Is there an API key or rate limit?
No. These are static JSON files; fetch them like any other file.
How do I attribute the data?
Cite ChargerCostByCity with the endpoint URL and its lastUpdated date. Every response includes an attribution field.
Is there an MCP server?
Yes, as a read-only prototype that serves these same JSON files. It isn't hosted yet.