Overview
Give the search centre as `lat` and `lon`, a `zip` (US ZIP or Canadian postal code), or `city` with `state`. ZIP and city searches start from the centroid of the stations listed in that place. A US ZIP with no station listed starts from the ZIP's own centroid, and a Canadian postal code with none starts from its forward sortation area (the first three characters); a city with none listed returns 404. The search is a true great-circle radius (`radius`, default 10 km, at most 80), not a bounding box, and results are sorted nearest first with `distanceKm` and `distanceMiles`. `count` reports every station in the radius that passes the filters and `limit` (default 20, at most 100) caps `stations`.
By default only open, public stations are returned; `status` and `access` widen that. `connector` takes one or more of j1772, ccs, chademo, nacs, nema515, nema520, nema1450 and mcs (tesla, j3400 and ccs1 are accepted as aliases), and a station passes when it has any of them. `level` keeps stations with ports at Level 1, Level 2 or DC fast, `fastOnly=true` keeps DC fast stations, and `network` is a substring match on the network name, so `network=tesla` matches both Tesla and Tesla Destination.
The data is the Alternative Fuels Data Center's electric station list, published through the NLR (formerly NREL) developer API and refreshed daily. Port counts are the station's EVSE counts by level; connectors and their power come from the per-unit charging detail where the station reports it, otherwise from its connector list with ports null. On the Free plan power, pricing, hours, phone, facility type, network website and the dates are null.
Live Test EV Charging Stations Source →
Formula
One function covers the whole catalog: the first argument names the source, the next are its inputs, and the field after them says which single value lands in the cell. Formulas covers the grammar that applies to all of them.
=VERVE("evchargingstations", "count")=VERVE.CALL("evchargingstations", "count")Inputs
Required inputs are positional, in the order below, followed by the field. Everything else is passed as a "name", value pair after that — the same shape as SUMIFS. Premium inputs are accepted on every plan but only take effect on plans that include them.
| Input | Type | Where it goes | Description |
|---|---|---|---|
latOptional | number | "lat", value | Latitude of the search centre. Use lat and lon, a zip, or a city and state range -90–90 |
lonOptional | number | "lon", value | Longitude of the search centre range -180–180 |
zipOptional | string | "zip", value | US ZIP code or Canadian postal code to search around length 0–10 |
cityOptional | string | "city", value | City to search around, with state length 0–60 |
stateOptional | string | "state", value | Two-letter US state or Canadian province code, with city length 0–2 |
radiusOptional | number | "radius", value | Search radius in kilometres, up to 80 default 10 · range 0.1–80 |
connectorOptional | string | "connector", value | Only stations with one of these connectors, comma-separated: j1772, ccs, chademo, nacs, nema515, nema520, nema1450, mcs length 0–60 |
networkOptional | string | "network", value | Only stations on a network whose name contains this, for example Tesla, ChargePoint or Electrify America length 0–60 |
levelOptional | string | "level", value | Only stations with ports at this charging level12dc |
fastOnlyOptional | boolean | "fastOnly", value | Only stations with DC fast charging |
accessOptional | string | "access", value | Public stations (default), private ones, or allpublicprivatealldefault public |
statusOptional | string | "status", value | Open stations (default), planned, temporarily unavailable, or allopenplannedtemporarily_unavailablealldefault open |
limitOptional | integer | "limit", value | Maximum number of stations to return, 1-100 default 20 · range 1–100 |
Passing an option
=VERVE("evchargingstations", "count", "lat", 37.7749)=VERVE.CALL("evchargingstations", "count", "lat", 37.7749)What lands in your sheet
The field — the argument after the inputs — is what makes the formula resolve to one cell. Its value is a dot-path from the table below, so swapping it is how you pull a different value — one formula per column.
Seeing everything at once
Leave the field out and the formula returns the whole response instead: two columns, field name on the left and value on the right, spilling from the cell you typed in.
=VERVE("evchargingstations")=VERVE.CALL("evchargingstations")The second row's table would land on top of the first's, and every cell after the first reads #REF! (#SPILL! in Excel). Keep one per sheet, or name a field, and leave the cells below and to the right empty.
Response fields
Paths are relative to data. Each one is exactly what the field argument accepts, so swapping it is how you pull a different value into a cell. On a plan without a Premium field the cell reads #PREMIUM(field) rather than a value, so a locked field never looks like a real answer.
| Use as the field | Type | Example cell value | Description |
|---|---|---|---|
count | number | 16 | Number of stations in the radius that pass the filters |
returned | number | 2 | Number of stations in this response |
searchCenter | object | {…} | The point searched from |
searchCenter.latitude | number | 37.7749 | Latitude of the search centre |
searchCenter.longitude | number | -122.4194 | Longitude of the search centre |
searchCenter.source | string | coordinates | coordinates, zip or city |
radiusKm | number | 2 | Search radius in kilometres |
stations | array[2] | Stations nearest first | |
stations.0.name | string | HUDSON PACIFIC 1455 LOBBY 2 | Station name |
stations.0.status | string | open | open, planned or temporarily_unavailable |
stations.0.access | string | public | public or private |
stations.0.address | object | {…} | Street address |
stations.0.address.street | string | 1455 Market St | Street |
stations.0.address.city | string | San Francisco | City |
stations.0.address.state | string | CA | State or province code |
stations.0.address.zip | string | 94103 | ZIP or postal code |
stations.0.address.country | string | US | US or CA |
stations.0.latitude | number | 37.775747 | Latitude |
stations.0.longitude | number | -122.418214 | Longitude |
stations.0.distanceKm | number | 0.14 | Distance from the search centre in kilometres |
stations.0.distanceMiles | number | 0.09 | Distance from the search centre in miles |
stations.0.network | string | ChargePoint Network | Charging network, for example Tesla, ChargePoint Network or Non-Networked |
stations.0.ports | object | {…} | Charging ports by level |
stations.0.ports.level1 | number | 0 | Level 1 ports |
stations.0.ports.level2 | number | 0 | Level 2 ports |
stations.0.ports.dcFast | number | 1 | DC fast ports |
stations.0.ports.total | number | 1 | All ports |
stations.0.fastCharging | boolean | true | Whether the station has DC fast charging |
stations.0.connectors | array[2] | Connector types at the station | |
stations.0.connectors.0.type | string | chademo | j1772, ccs, chademo, nacs, nema515, nema520, nema1450 or mcs |
stations.0.connectors.0.name | string | CHAdeMO | Connector name |
stations.0.connectors.0.level | string | dc_fast | level1, level2 or dc_fast |
stations.0.connectors.0.ports | number | 1 | Ports with this connector, when the station reports it |
stations.0.connectors.0.maxPowerKwPremium | number | 62.5 | Highest power of this connector in kW, when reported |
stations.0.maxPowerKwPremium | number | 62.5 | Highest charging power at the station in kW, when reported |
stations.0.accessHoursPremium | string | 24 hours daily | When the station is open |
stations.0.pricingPremium | object | null | Pricing as the station reports it |
stations.0.facilityTypePremium | object | null | Where the station is, for example hotel, pay_garage or car_dealer |
stations.0.phonePremium | string | 888-758-4389 | Station phone number |
stations.0.networkWebsitePremium | string | https://www.chargepoint.com | The charging network's website |
stations.0.openDatePremium | string | 2022-11-18 | Date the station opened (YYYY-MM-DD) |
stations.0.expectedOpenDatePremium | object | null | Expected opening date of a planned station |
stations.0.lastConfirmedPremium | string | 2026-11-14 | Date the station details were last confirmed |
When a cell doesn't fill
A failed lookup returns readable text starting with #ERR rather than a spreadsheet error, because Excel cannot show a custom message on a real error — you would get a bare #VALUE! with no reason. The trade-off is that IFERROR() will not catch it; test with LEFT(cell, 4) = "#ERR" instead. Error handling covers the rest.
| Cell reads | What happened |
|---|---|
#ERR Not connected | No API key saved. Open the side panel and connect your account. |
#ERR Replace <name> with a cell or value | A preview formula was copied as-is. Swap the placeholder for a cell reference. |
#ERR No "x" in evchargingstations | An option name this source does not take. The message lists the ones it does. |
#ERR No data point "…" | The field path is not in the response. Check it against the table above. |
#PREMIUM(field) | The field exists but your plan does not include it. |
#ERR Out of credits | The cycle's credits are spent. Usage resets on your billing date. |
Before the formula works
The add-in reads the API key you saved once in the side panel — the key never goes in the formula, so a shared sheet does not leak it and a collaborator without access simply sees the last calculated values.
- Install the add-in for Google Sheets or Excel.
- Open the side panel and sign in, or paste a key from your dashboard.
- Type the formula above into any cell.
Use cases
- Navigation and Trip Planning
- Find DC fast chargers with the right connector along a route or near a destination.
- EV Driver Apps
- Show the nearest chargers with ports, network, pricing and hours on a map.
- Real Estate and Hospitality
- Show how many chargers are within walking distance of a property, hotel or office.
- Fleet and Site Planning
- Measure charging coverage around depots and candidate sites by level and network.
Other ways to use EV Charging Stations
Set up EV Charging Stations on VerveSheets, or reach the same source a different way. Your VerveSheets account and credits work on all of them — one key, one balance.
Related
More in Transportation: