Exchange EV charging location and tariff data between parties using OCPI 2.2

domain: evroaming.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Complete the OCPI credentials handshake: both parties exchange their versions endpoint URL; each calls the other's /ocpi/versions endpoint, selects a mutual version (2.2), then calls /ocpi/2.2/credentials with a POST containing their own credentials object to register
  2. After handshake, retrieve the other party's module endpoints from their /ocpi/2.2/ details response; locate the locations, tariffs, sessions, and cdrs module URLs
  3. To share your location data, implement a GET handler on your Locations module endpoint and respond with a paginated list of Location objects containing EVSE and connector details; use the X-Limit and X-Total-Count headers for pagination
  4. To pull another party's locations, send GET requests to their Locations endpoint using the Link header for pagination; store the data locally for display or routing
  5. For tariff exchange, push Tariff objects via PUT to the other party's Tariffs endpoint (if push model) or expose your own Tariffs endpoint for them to pull; tariff IDs must be unique per CPO

Known gotchas

Related routes

Implement the OCPI Locations module to publish or consume EV charging site data between a CPO and eMSP
github.com/ocpi · 5 steps · unrated
Exchange charging session and CDR (Charge Detail Record) data between a CPO and eMSP via OCPI 2.2.1
evroaming.org · 5 steps · unrated
Reconcile immutable Charge Detail Records against Sessions and model tariff step_size billing rounding using OCPI 2.2.1's CDRs and Tariffs modules
evroaming.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans