List locations
Returns locations in the selected organization. Filter and sort the results, include related data, or request aggregates before paging.
Use cases
- Populate a location selector or site inventory.
- Build location-level charger or session summaries.
Related endpoints
- POST /locations — create a location.
- GET /locations/{locationId} — inspect one location.
- GET /chargers — list chargers, including location associations.
Parameters
Header Parameters
API compatibility date in YYYY-MM-DD format. Must be a date after 2025-11-01.
"2025-11-02"^\d{4}-\d{2}-\d{2}$Routes the request to the organization named by this ID. The bearer token must be authorized for that organization.
"3b241101-e2bb-4255-8caf-4136c566a962"140If an include requests data the token cannot view, set this to true or 1 to omit that included field instead of returning 403. This does not grant the missing permission.
"1""true""true""1"Query Parameters
Filter locations by these fields: id, createdAt, lat, lon, public. Use : for equality, <> for inequality, < and > for strict comparisons, <: and >: for inclusive comparisons, and ~ for substring matching. Use semicolons to AND conditions; multiple filter entries are OR alternatives.
"public:true;lat>:47"Sort by up to 3 fields from: id, createdAt, lat, lon, public. Prefix with + for ascending or - for descending, and separate fields with commas.
"-createdAt""-createdAt"1256Related entities to include in the response. Allowed fields: chargers Use comma-separated selectors: a bare field includes all of its values, while field.subfield selects only that nested value.
"chargers.id"1512Aggregation functions to apply. Supported functions: count, sum, avg, min, max. Format: function:field.subfield (e.g. count:sessions.energy)
"count:sessions.energy"1512Time bucket interval (e.g. 1m, 2h, 1d). Required when aggregate is set. Use a positive integer followed by s, m, h, d, or w for seconds, minutes, hours, days, or weeks. Example: 1h.
"1h"2161-based page number; defaults to 1.
2104294967295Maximum records returned per page. Defaults to 10 and cannot exceed 100.
25100100Responses
success.location.list
Number of locations matching the filters before pagination.
09007199254740991