ROAMING Active Released 2015 OCPI 2.2.1

OCPI

Roaming + Smart Grid

Open Charge Point Interface. REST-based roaming between eMSPs and CPOs. Defines location data, session management, CDRs, tariffs, and real-time token exchange. EU's de-facto roaming standard.

REST APIEU backboneLive location dataCDR exchange
28,000 sessions/day
Adoption
Primary EU public charging backbone
Capability matrix
EV roaming ✓ Supported
Location / EVSE data ✓ Supported
CDR exchange ✓ Supported
Tariff management ✓ Supported
Real-time session ✓ Supported
Token (RFID) validation ✓ Supported
Reservation ✓ Supported
Smart charging signals ◐ Partial
Migration intelligence

OCPI 2.2.1 is current production. OCPI 3.0 (draft) adds enhanced smart charging and V2G roaming. OCPI coexists with OICP — many CPOs implement both for full EU ecosystem coverage.

Security layer
Bearer token auth
HTTP Authorization: Token <credentials>. Tokens exchanged during registration handshake.
HTTPS mandatory
All OCPI communication over HTTPS. No plaintext HTTP in production.
Mutual registration
CPO and eMSP exchange credentials via /credentials endpoint before any data exchange.
Message flow 8 message types
01
GET /locations eMSP → CPO
Pull CPO location + EVSE data
02
PUSH locations CPO → eMSP
Push EVSE availability updates (webhook)
03
POST /sessions CPO → eMSP
Notify session start event
04
PATCH /sessions/:id CPO → eMSP
Update live session state and kWh
05
POST /cdrs CPO → eMSP
Submit completed Charge Detail Record
06
GET /tariffs eMSP → CPO
Pull pricing data
07
PUT /tokens/:uid eMSP → CPO
Push RFID token for whitelist sync
08
POST /commands/START eMSP → CPO
Remote start command via hub
Deployment examples illustrative · not an endorsement
Plugsurfing / Fortum
Pan-EU roaming via OCPI 2.2.1
Chargemap (France)
eMSP aggregator, OCPI backbone
EnBW mobility+
CPO + eMSP dual role, OCPI active
Shell Recharge / ubitricity
UK / EU public roaming network
Developer API
GET /v1/protocols/ocpi
GET /v1/protocols/ocpi/messages
View API docs →
← All protocols OCPI · Roaming + Smart Grid