EV Charging API for Developers

ChargingNear.me provides the most comprehensive US EV charging station API — 58,895 charging locations with 278,062 ports, updated daily from the US Department of Energy. Available via REST API, MCP server (for AI agents), GeoJSON feeds, and ChatGPT plugin. Licensed under CC-BY-4.0.

Integration Options

REST API
Standard RESTful JSON API at /api/v1/. Search stations by location, city, state, network, or connector type. Interactive docs (Swagger UI)
MCP Server
Model Context Protocol server for Claude, Cursor, Gemini, and compatible AI agents. Endpoint: https://chargingnear.me/api/mcp. Version 1.7.0, MCP protocol 2025-11-25. 15 read-only tools: search_stations, get_nearest_stations, get_station_details, get_city_charging_stats, get_state_charging_stats, get_catalog_totals, find_stations_on_route, get_charging_gaps, get_corridor_chargers, get_nevi_status, find_truck_charging, find_supercharger_pipeline, get_my_saved_stations, get_my_trips, get_my_alerts. Install steps for each assistant.
GeoJSON Feed
Full station catalog as GeoJSON at /api/v1/stations.geojson. Supports bbox filtering for efficient map tile loading.
ChatGPT Plugin
OpenAI-compatible plugin manifest at /.well-known/ai-plugin.json. Lets ChatGPT query station data conversationally.
Open data
The daily open data files (CC BY 4.0), filtered and paged: /api/v1/open-data/charging-gaps (state, highway, min_miles, designated), /api/v1/open-data/corridors/{corridor}/chargers (for each of our Colorado corridors, such as i-25-ev-charging) and /api/v1/open-data/nevi-status (state, grade, network, highway). Each answer carries the file’s version, date and “Cite as” line.
Reliability Index
Machine-readable EV charging reliability rankings at /api/v1/reliability. Returns networks and states ranked by 30-day reliability with methodology, last-updated timestamp, and a 30-day window. Add ?state=CA to rank a state's cities. Powers the public EV Charging Reliability Index.
Demand Graph (Commercial)
Anonymized, geohash-bucketed EV charger-search demand aggregate at /api/v1/demand/aggregate. Each cell returns search volume, unmet-search counts, distinct sessions, and a 0–100 demand_score for site selection and market-gap analysis. Counts only — no PII. Commercially licensed (not CC-BY-4.0) and returned only to Business and Enterprise API keys; anonymous, Free and Developer callers get a 403. Filter with ?window=30&unmet=true&bbox=south,west,north,east. See the EV charging demand data product page and pricing.
OpenAPI Specification
Machine-readable API spec at /.well-known/openapi.json (OpenAPI 3.1).

Pricing

API keys are optional: without one, REST answers 100 requests a day per IP address. One key works for REST and the MCP server.

  • Free

    $0

    • 300 calls a day, 60 a minute
    • No key needed
    • Station directory and open data
    Get a free key
  • Developer

    $49 a month

    • 10,000 calls a day, 600 a minute
    • One API key for REST and MCP
    • Station directory and open data
    Choose Developer
  • Business

    $499 a month

    • 100,000 calls a day, 3,000 a minute
    • Reliability, live availability and demand data
    • Commercial use
    Choose Business
  • Enterprise

    Custom

    • Limits set by your contract
    • Everything in Business
    • Contract, invoicing and support terms
    Contact us

REST calls without any key get 100 a day; a free key gives them the full 300. Keys are optional for the MCP server.

Authentication

Pass your API key as Authorization: Bearer cnm_your_key_here in the request header.

Licensed data: reliability scores, dated port-availability readings, and the Demand Graph aggregate (/api/v1/demand/aggregate) are proprietary and licensed separately from the CC-BY-4.0 base directory. They come with Business and Enterprise keys; anonymous, Free and Developer callers receive a 403 commercial_license_required.

Every /api/v1/* response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers so you always know where you stand. At a limit, the API answers 429 with Retry-After, a plain-English message and an upgrade_url. To check your bucket without burning a 429, call GET /api/v1/me/usage with your API key, or use the Usage panel on the /developers page.

Preview the Demand Graph

Evaluate the dataset before you buy. Below is a fixed, representative sample of the GET /api/v1/demand/aggregate response (window = 30 days). These are illustrative counts, not the live feed, but the shape is identical: each cell carries a geohash, search volume, unmet-search count, distinct sessions, and a 0–100 demand_score.

Want a live slice without writing code? Fetch the sample JSON — no API key required.

Geohash Center (lat, lng) Searches Unmet Sessions Demand score
9v6kp 30.256, -97.756 641 188 (29.3%) 404 79
dr5re 40.715, -74.026 1,530 412 (26.9%) 968 78
c23nb 47.615, -122.322 705 131 (18.6%) 449 76
9q5ct 34.036, -118.235 1,244 209 (16.8%) 802 75
dhwfx 25.774, -80.178 528 96 (18.2%) 333 75
9q8yy 37.771, -122.410 893 97 (10.9%) 571 73

Commercial license: the Demand Graph aggregate is proprietary and not covered by CC-BY-4.0. The live feed comes with a Business or Enterprise API key; anonymous, Free and Developer callers receive a 403. See the Business plan →

Quick Start Examples

cURL — Search stations in San Francisco

curl "https://chargingnear.me/api/v1/stations?city=San+Francisco&state=CA&limit=5"

cURL — Find nearest stations

curl "https://chargingnear.me/api/v1/stations/nearest?lat=37.7749&lng=-122.4194&radius_mi=5"

JavaScript (fetch)

const response = await fetch(
  "https://chargingnear.me/api/v1/stations?city=Austin&state=TX&limit=10",
  { headers: { Authorization: "Bearer cnm_your_key" } }
);
const data = await response.json();
console.log(data.stations);

Python (requests)

import requests

resp = requests.get(
    "https://chargingnear.me/api/v1/stations",
    params={"city": "Denver", "state": "CO", "limit": 10},
    headers={"Authorization": "Bearer cnm_your_key"}
)
stations = resp.json()["stations"]

MCP Configuration (Claude / Cursor)

{
  "mcpServers": {
    "chargingnearme": {
      "url": "https://chargingnear.me/api/mcp"
    }
  }
}

MCP Tools

Version 1.7.0 · 15 read-only tools, listed from the server's own tool list. The 3 marked optional sign-in read the signed-in driver's own data.

  • search_stations — Search charging stations
  • get_nearest_stations — Nearest charging stations
  • get_station_details — Station details
  • get_city_charging_stats — City charging statistics
  • get_state_charging_stats — State charging statistics
  • get_catalog_totals — National catalog totals
  • find_stations_on_route — Stations along a route
  • get_charging_gaps — Highway charging gaps
  • get_corridor_chargers — Fast chargers on a corridor
  • get_nevi_status — NEVI status
  • find_truck_charging — Truck charging and Tesla Megachargers
  • find_supercharger_pipeline — Tesla Superchargers coming soon and newly opened
  • get_my_saved_stations — My saved stations (optional sign-in)
  • get_my_trips — My saved trips (optional sign-in)
  • get_my_alerts — My alerts (optional sign-in)

get_charging_gaps measures two ways: stretches over 50 miles with no fast charger within 5 miles of the highway, measured in a straight line; or, with measure=nevi, no fast charger within 1 mile of the highway (the federal NEVI siting distance).

Data & Attribution

Station data is sourced from the US Department of Energy NREL Alternative Fuel Stations database and enriched with Google Places, OpenChargeMap, and OpenStreetMap data. Licensed under CC-BY-4.0.

When using our data, please include a link to chargingnear.me and credit "US Department of Energy NREL" as the upstream source.

Frequently Asked Questions

Is the API free to use?

Yes. API keys are optional: without one you get 100 REST requests a day per IP address, and 300 MCP tool calls. A free key raises REST to 300 a day and 60 a minute. Developer ($49 a month) allows 10,000 a day and 600 a minute; Business ($499 a month) allows 100,000 a day and 3,000 a minute and adds the licensed data and commercial use. Enterprise is by contract: api@chargingnear.me.

What data formats are available?

The API returns JSON by default. GeoJSON is available at /api/v1/stations.geojson for map integrations. The MCP server returns structured tool results for AI agent integration. OpenAPI 3.1 spec is available at /.well-known/openapi.json.

How often is the data updated?

Station data is synced daily from the US Department of Energy's NREL Alternative Fuel Stations database. Open Charge Map and Google Places enrichment run in batches, so every station record carries a verified_label ("Verified {date}") with the date of its latest confirmation. Port availability, where present, is a dated last reading, not a live feed.

Can I use this data in my app?

Yes, the base station directory is licensed under CC-BY-4.0. You must attribute ChargingNear.me and the US Department of Energy NREL as data sources. Include a link to chargingnear.me when displaying station data. Proprietary fields (reliability scores, dated port-availability readings, and the Demand Graph) are commercially licensed and not covered by CC-BY-4.0.

How do I access the commercial demand data?

The Demand Graph aggregate (GET /api/v1/demand/aggregate) is an anonymized, geohash-bucketed roll-up of EV charger-search demand — search volume, unmet searches, distinct sessions, and a 0-100 demand_score per cell — built for site selection and market-gap analysis. It returns counts only with no PII. It is commercially licensed (not CC-BY-4.0) and comes with a Business ($499 a month) or Enterprise API key. Anonymous, Free and Developer callers receive a 403. Choose Business on the /developers page.

What is MCP and how do I use it?

Model Context Protocol (MCP) lets AI assistants like Claude, Cursor, and other compatible systems query our station database directly. Point your MCP client to https://chargingnear.me/api/mcp to connect. No API key required for basic queries.