EV charging station APIs for location and live availability

Compare AFDC, TomTom, HERE, Google Places and OCPI. Use two Ohio fast-charging stops to test port counts, connector compatibility and live status.

Aerial map of the I-70 and U.S. Route 42 interchange near London, Ohio, with Pilot 454 and TA London marked.

I-70 Exit 79 near London, Ohio. Pins use AFDC station coordinates. Aerial imagery from USGS, USDA and The National Map.

Use Invariant Earth for site screening around a proposed charger location. One coordinate lookup can bring together parcel, road and utility context. Use charger feeds to plan trips and check connector availability. Use the U.S. Department of Energy’s AFDC API to locate charging stations and count installed ports. For a driver who needs a free connector now, use a timestamped availability feed from a mapping provider or charging network. The difference shows up at one Ohio interchange. The federal inventory lists 16 fast-charging ports across two stops. A routine sum of the equipment export returns 160 because it repeats the station total on each row.

Before you start

  • Count installed ports once per station ID. Preserve repeated equipment rows when the source supplies no equipment ID.
  • Keep connector compatibility, station access hours and live equipment status in separate fields.
  • Ask when the network observed the status. A station record can be updated today and still carry no occupancy data.

Which EV charging API should you use?

Start with the decision you need to support. A planner can use an inventory to find gaps in a corridor. A routing app needs to know whether a compatible charger is free and how recently that was observed. The commercial comparisons below use provider documentation. We queried the AFDC feeds for the Ohio example.

API or feedWhere it fitsWhat to test before buying
Invariant EarthScreen a proposed charging location with parcel, road access and electric service territory context.Check parcel match type and road class. Ask the serving utility to confirm the connection point and capacity for your charging load.Invariant
U.S. DOE AFDCU.S. station inventory with public access, location, connector types and installed DC fast port counts. An equipment CSV adds connector counts and rated power.Check how station counts repeat across equipment rows and whether the station ID survives a refresh.U.S. Department of Energy AFDCU.S. Department of Energy AFDC
TomTomCharging availability grouped by connector type and power. TomTom documents a three-minute refresh for dynamic data.Check that both networks appear on your corridor. Measure the age of the underlying status and ask how the feed represents unknown availability.TomTom
HEREPlace search with optional connector availability, grouped by type and power. The documentation also covers equipment-level status and operator IDs.Ask which networks expose equipment detail and usable update timestamps on your routes.HERE Technologies
Google PlacesPlace records with EV connector counts and, where available, compatible-group availability, out-of-service counts and an update time.Check how often the availability fields populate for the places you serve. Google documents how several connectors can share one charger.Google Maps Platform
Operator feed via OCPIOperator-provided Locations, EVSEs and Connectors. The OCPI Locations module defines EVSE status and update fields.Confirm partner access and keep the country, party, location and equipment IDs needed to match updates.EVRoaming Foundation

Two Ohio charging stops expose a 10× counting error

We queried AFDC for electric stations in ZIP 43140 and kept the two public locations with DC fast charging. Both sit at I-70 Exit 79. The equipment export below was captured on November 23, 2026 at 07:31 UTC. It reports equipment inventory and rated output.U.S. Department of Energy AFDCU.S. Department of Energy AFDCOhio Department of TransportationTravelCenters of America

Station and AFDC IDInstalled DC fast portsEquipment export
Pilot Travel Center 454 · 3223684Four identical rows, each listing one CCS connector rated at 350 kW. Each repeats the station count of 4.U.S. Department of Energy AFDCU.S. Department of Energy AFDC
TA US-42 · 38870812Seven rows list one CCS connector and five list one J3400 connector. All list a 400 kW rating and repeat the station count of 12.U.S. Department of Energy AFDCU.S. Department of Energy AFDC

Summing the station field over the equipment rows gives 4 × 4 + 12 × 12 = 160. Counting one station total per AFDC ID gives 4 + 12 = 16. Dropping duplicate-looking CSV rows would also lose equipment detail. The four Pilot rows are identical in the export. AFDC allows an equipment row to describe more than one port or connector, so keep the three quantities separate in your data model.U.S. Department of Energy AFDC

The Pilot stop also shows why the kW field needs its own label. Before opening, DriveOhio specified up to 350 kW for a single vehicle. At opening, the Joint Office reported up to 175 kW per vehicle when at least four vehicles were charging. Keep the equipment rating for compatibility filters and use a separately sourced power curve or measured data for charging-time estimates.DriveOhioJoint Office of Energy and Transportation

AFDC fast charging inventory audit at I-70 Exit 79 in London, Ohio

Download the Ohio station records and port-count audit JSON
Cite dataset

Invariant (2026). AFDC fast charging inventory audit at I-70 Exit 79 in London, Ohio [Data set]. https://invariant-ai.com/blog/ev-charging-station-data-apis#dataset

Screen a truck depot for charging

Test the answer a driver will see

Suppose a driver with a J3400 inlet wants to stop at TA London. The AFDC export identifies five J3400 connectors there. The station has status E and reports 24-hour public access. That is enough to show a candidate stop. To say how many compatible chargers are free, match the station to a live feed, read the status for the compatible equipment, and retain its update time.U.S. Department of Energy AFDCU.S. Department of Energy AFDCEVRoaming Foundation

What the feed returnsWhat to display
A recent observation with compatible equipment freeShow the count, when it was observed and which connector type it covers.
A recent observation with zero freeShow that no compatible chargers are free. Distinguish ones in use from ones out of service when the feed does.
An old observationShow when the status was last checked and offer another stop. Set the cutoff using observed delay on that network.
No status, an unknown value, or an unmatched stationShow that live status is unavailable. Keep the inventory and access hours visible.

For the trial, run these two station IDs and add locations from every network you expect customers to use. Compare the API with the operator’s view at the same times over a week. Log whether each station matched, whether it had a timestamp, and how old the observation was when your app received it. Include a known outage and a station with several connectors sharing one charger. Those cases reveal whether the feed can support a routing decision.

Use surrounding land and road data for expansion decisions

For network planning, this inventory can show where fast charging is concentrated. Invariant Earth supplies surrounding parcel and road context, including nearest major road name, road class and distance. A truck corridor study also needs the entrance location, usable turning geometry, and a route that fits the vehicle and trailer. Take a proposed load and operating schedule to the serving utility when evaluating a new site.InvariantU.S. Department of Energy AFDC

Questions that come up.

Does the AFDC API show current EV charger availability?

The AFDC station status describes the facility. Use the AFDC inventory to find stations and installed ports, then use a live operator or aggregator feed for occupancy.U.S. Department of Energy AFDC

What is the difference between a charging station, an EVSE and a connector?

A station is a site with charging equipment. In OCPI, one EVSE can charge one vehicle at a time. A connector is the plug or socket on that equipment. An EVSE can offer several connector types.EVRoaming Foundation

How do I count public DC fast-charging ports from AFDC?

Filter electric stations by public access and DC fast charging, then sum the installed DC fast port count once per station ID. Keep equipment rows for connector detail and use a status feed for the current free count.U.S. Department of Energy AFDCU.S. Department of Energy AFDC

Sources and references.

Primary sources checked for this guide on .

  1. U.S. Department of Energy AFDCAll Stations API field definitions and facility status codes ↗
  2. U.S. Department of Energy AFDCCharging unit export structure and connector power fields ↗
  3. Ohio Department of TransportationOhio charging infrastructure awards by highway exit ↗
  4. TravelCenters of AmericaTA London address and bp pulse charging amenity ↗
  5. DriveOhioLondon Pilot construction announcement and charger specifications ↗
  6. Joint Office of Energy and TransportationLondon Pilot opening and simultaneous charging power ↗
  7. TomTomEV Charging Stations Availability API ↗
  8. HERE TechnologiesCharging attributes in the Geocoding and Search API ↗
  9. Google Maps PlatformPlaces API EV charge options and availability timestamps ↗
  10. EVRoaming FoundationOCPI 2.3.0 Locations module ↗
  11. InvariantInvariant Earth field catalog ↗
  12. U.S. Department of Energy AFDCMedium- and heavy-duty charging infrastructure planning ↗
  13. U.S. Geological SurveyThe National Map NAIP Plus aerial imagery service ↗

Try Invariant Earth on a site you know.

Pick a US coordinate and inspect the source, dataset vintage, and status for each field.

Open the API quickstart