Query stations around a GeoJSON point

With the query stationsAround you can fetch the stations around a GeoJSON point with a specific distance in meters. This can be useful when a station is busy, or when you want to provide several charging options.

Query stations around

Fetch the 20 closest stations around a GeoJSON location and plot them on a map.

Query stations around

Query

To query a station around GeoJSON point you have set various query arguments including location, distance and optionally power and amenities. To limit your results and improve the performance you can use pagination on your query.

Arguments

query input_object StationAroundQuery

Deprecated

Deprecated: Replaced by filter and search params

filter input_object StationAroundFilter

Filter station around result

size scalar Int

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

page scalar Int

Page number to return, default: 0

Frequently used fields

id non_null ID

Required

Unique ID of a station

Other fields

review object ReviewStats

Review of a station

id non_null ID

Required

Unique ID of a station

country_code scalar String

ISO-3166 alpha-2 country code of a station

party_id scalar String

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

publish scalar 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

name scalar String

Name of a charging station

address scalar String

Street/block name and house number if available

city scalar String

City or town

postal_code scalar 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 scalar String

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

country scalar String

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

coordinates object OCPIGeoLocation

Coordinates of a location

parking_type enum OCPIParkingType

Type of parking at a charge point location

evses list EVSE

EVSEs that belong to a station

directions list OCPIDisplayText

Human-readable directions on how to reach a station

operator object Operator

Information about an operator

suboperator object Operator

Information about a suboperator if applicable