Open Charge Map API

⭐ Beginner's Pick Transportation / API Key Intermediate HTTPS CORS
Varies by plan (check documentation)

Overview

Open Charge Map is a global registry of electric vehicle (EV) charging stations with detailed location and connector information. You need a free API key to access it, which you can request on their website. It is an excellent resource for building EV trip planners or mapping applications.

💡

Beginner Tip

Use the latitude, longitude, and distance parameters together to find nearby chargers. Start with a large distance (e.g., 10 km) to make sure you get results before narrowing down.

Available Data

vehicle make and model
year and specifications
fuel economy
VIN decode data

Example Response

JSON Response
{
  "route": "Line 1",
  "origin": "Station A",
  "destination": "Station B",
  "departure": "08:30",
  "arrival": "09:15",
  "status": "On Time",
  "delays_min": 0
}

Field Reference

AddressInfo Location details including street address, city, latitude, and longitude of the charging station
Connections List of available connector types at the station, including power level and plug standard
NumberOfPoints Total number of individual charging points available at the location
StatusType Operational status of the station (e.g., operational, under construction)
UsageCost Human-readable description of the pricing model or cost to use the charger

Implementation Example

// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://openchargemap.org/site/develop/api";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized or empty results API key is missing or invalid
Register at openchargemap.org to obtain a free API key and pass it as the key query parameter
Empty results array No charging stations found within the specified radius
Increase the distance parameter or verify that latitude/longitude values are correct
Too many results or slow response maxresults parameter not set, defaulting to a large number
Always include maxresults (e.g., maxresults=20) to limit response size and improve performance

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 15/20
🔒 Security 15/15
🛠 Developer XP 17/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS YES
Category Transportation
Difficulty Intermediate
Verified: 2026-04-07

Similar APIs

View All →