Query station amenities

To gat a full overview of all amenities at a charging station you can use the amenityList query. Most of them support a link towards foursquare for more information.

The available amenities can also be used as filters on our tile service. To show the amenity count you can use the station statistics query.

Query

To use the amenityList query you will need a station id. This id can be fetched by using our stationList query. After passing in this id you have access to anything from address to rating.

Arguments

  • stationId non_null
    Required

    The station ID

  • Frequently used fields

  • address object Address

    Embedded Address

  • type list

    Type of amenity. An amenity can belong to multiple categories

  • rating float

    Rating of an amenity, the value will be between 0.0 and 10.0. If no rating has been given, the value will be set to null

  • foursquareUrl string

    Full path URL to amenity foursquare page

  • Other fields

  • id id

    Unique amenity ID

  • externalId string

    ID provided by an amenity data source as the row ID

  • name string

    Name of an amenity

  • location object Point

    Geo location coordinates. This is a GeoJSON Point

  • distance int

    Computed distance between station and amenity

  • createdAt string

    Date and time when an amenity was created

  • updatedAt string

    Date and time when an amenity was last updated

  • Response

    If successful, the HTTP status code in the response header is 200 and the response body contains the attributes you requested.

    If unsuccessful, the header status code is an error code and the response body contains an error response object. The error response object can be any of the ones below.

    Errors & warnings

    • Error
      STATION_NOT_FOUND

      No station was found with the provided ID