How to Model Charging Station Data
Design a charging station model that preserves locations, EVSEs, connectors, source identities, timestamps, and lifecycle changes without inventing certainty.
6 min readEV CHARGING DATA / BATTERY INTELLIGENCE / DEVELOPER RESOURCES
API field guide / 01
Build a clearer picture of where charging happens. Explore station locations, connector details, access rules, and the difference between a station directory and charger availability.
A charging station API can describe the places and equipment a driver may use. Depending on its source, a record might include geographic coordinates, an address, opening hours, network information, connector types, or charging capabilities. Start with the fields your application needs, then confirm that your chosen provider actually supplies them.
A location is a place. An EVSE is a charging unit within that place. A connector describes a physical connection offered by the equipment. Keep those identities separate in your application so one address with several charging units does not become a single misleading availability indicator. Preserve the provider’s identifiers alongside your internal IDs; names and addresses are not dependable primary keys.
A directory record can establish that a station exists without telling you whether a connector is free right now. Treat access restrictions, service status, and occupancy as different concepts. Your map can show a useful location even when current availability is unknown, provided the interface explains that uncertainty. Store source modification and ingestion times separately from any actual observation timestamp.
Work outward from the driver’s decision: can the vehicle connect, can the driver enter the site, and what should they know before arriving? Use coordinates for discovery, but retain an address and useful access instructions for the final approach. Normalize units and connector vocabulary without erasing the source values. Make source attribution and permitted reuse part of the data contract.
Define how new stations, changed equipment, and removed records move through your product. Use repeatable imports, pagination checks, and a clear missing-data policy. If a location disappears from one response, establish whether the provider is returning a filtered subset before deleting it. In the interface, avoid converting an incomplete refresh into a confident claim that equipment is unavailable.
Use this as an evaluation framework for your own data contract. Field names and actual availability remain provider-specific.
| Area | What to examine | Design consideration |
|---|---|---|
| Location identity | Provider ID, coordinates, address | Preserve stable identifiers and source provenance. |
| Equipment structure | EVSE and connector identifiers | Model the level at which status is actually supplied. |
| Charging capability | Connector standard, rated power | Keep rated capability distinct from session power. |
| Access and timing | Hours, restrictions, observation time | Represent unknown and stale information explicitly. |
Official All Stations API documentation
The All Stations reference provides a concrete example of a directory-style charging data source and its available fields.
Let’s connect