AFIR Compliance

Alternative Fuel Infrastructure Regulation (EU) - article 20

By April 14, 2025, the European Union's Alternative Fuel Infrastructure Regulation (AFIR) article 20 mandates that all operators or owners of publicly available recharging stations shall ensure availability of specified static and dynamic data concerning their charging infrastructure, unrestricted and at no cost, via an Application Programming Interface (API).

Each member state has a National Access Point (NAP) that serves as a centralised platform where the operators or owners can connect to publish their data.

Utilizing Spirii's Developer Hub, the charge point operator or owner can connect to their national access point (NAP) to provide the required static and dynamic data.

Remember to check the integration requirements of the local NAP in your member state.


Required data

The static and dynamic data specified in AFIR's article 20 is covered primarily by the GET Locations V2 endpoint.

The Locations V2 endpoint response contains data about the location, EVSEs at the location, the operator, contact information, etc.

In addition, for the Ad hoc price data (Article 20, paragraph 2, section F, point 3), the charge point operator or owner can utilize the Tariff ID in the Locations V2 endpoint in combination with the Tariffs V2 endpoint for the detailed breakdown of the ad hoc price.

Both endpoints are formatted in accordance with the OCPI 2.3.0 protocol - the first OCPI version that complies with the AFIR requirements.


Getting access

The charge point operator or owner needs to request an API key to get access to the data for their public chargers.

See the Authentication section in the API reference.