Guide
Station pricing
Charging prices can be shown at two levels: directly on a map through the tile service, or in full detail through a connector’s pricing.
Tile service
The tile service supports pricing both as filters and as selectors.
- As a filter, pass
minimum_energy_priceandmaximum_energy_price, along withcurrencyto convert the range to the correct currency, to dynamically include or exclude stations whose price falls within that range. - As a selector, request
connector_minimum_energy_price,connector_maximum_energy_price,price_vat,price_valid_until,price_original_currencyandprice_conversion_rateto show price details. They are returned in the station feature properties (properties.count == 1). The price is always the station price, and you can useprice_original_currencyandprice_conversion_rateto adjust for your own conversion.
Station pricing
Where pricing details come from depends on the station database behind a station.
- If Ecomovement is used, pricing can be found on the pricing object of a station’s connectors, at
evses[].connectors[].prices. - For any other station database, use the dedicated tariffList and tariff queries instead.
A connector can have several price elements active at different times. Work through them in order to render the correct price.
- Find the active price elementEach price element has
restrictions, such asday_of_week,start_time/end_time, or minimum and maximum kWh, power, or duration. Use these to determine which price element applies right now. - Display all price componentsA price element can combine several components at once. An
energycomponent gives you the price per kWh. Atimecomponent gives you the price per interval, billed in blocks defined by itsstep_size. For example, astep_sizeof300on atimecomponent bills in blocks of 5 minutes. Aflatcomponent adds a fixed amount to the session, independent of energy used or time spent. - Account for the overstay feeA
parking_timecomponent charges an idle fee for staying connected after charging has finished, since nobody else can use the connector in the meantime. It applies once the connector’s overstay restrictions, such asoverstay_timeoroverstay_battery_percentage, are met.
Each connector can have its own price, and prices can be changed dynamically by the operator at any time.
Was this content helpful?