Query stations

To be able to browse through all your stations inside your station database you can use the stationList query. While querying you will have access to all station properties. You can set the size property to specify how many stations you would like to receive, the default is 10. Keep your query as small as possible to improve the performance.

Query

To query your stations you only need to call the stationList alongside the properties you would like to receive. Optionally you can add pagination and filters.

Filters

To filter your station list you can use the filter argument. You can use the filter: { amenities: [restaurant], power_groups: [turbo] } to return all stations with turbo chargers and a restaurant in the proximity.

To search a station by name, station id, or EVSE id you can use the search argument.

Arguments

query StationListQuery

Deprecated

Deprecated: Replaced by filter & search params

filter StationListFilter

Filter station result

size Int

Number of elements (count) to return, default: 10

page Int

Page number to return, default: 0

Frequently used fields

id ID

Unique ID of a station

name String

Name of a charging station

address String

Street/block name and house number if available

coordinates OCPIGeoLocation

Coordinates of a location

evses EVSE

EVSEs that belong to a station

operator Operator

Information about an operator

amenities JSON

Amenities located at this location

Other fields

review ReviewStats

Review of a station

country_code String

ISO-3166 alpha-2 country code of a station

party_id String

CPO ID of a CPO that 'owns' this station (following the ISO-15118 standard)

publish Boolean

Defines if a location may be published on a website or app etc. When this is set to false, only tokens identified in the field: publish_allowed_to are allowed to show this location. When the same location has EVSEs that may be published and may not be published, two 'locations' should be created

city String

City or town

postal_code String

Postal code of a location, may only be omitted when a location has no postal code: in some countries charging locations at highways don’t have postal codes.

state String

State or province of a location, only to be used when relevant

country String

ISO 3166-1 alpha-3 code for the country of this station

parking_type OCPIParkingType

Type of parking at a charge point location

Show OCPIParkingType enum values

directions OCPIDisplayText

Human-readable directions on how to reach a station

suboperator Operator

Information about a suboperator if applicable