# ProRanked API documentation Developer documentation for the ProRanked EV-charging platform API. Send your key as the `X-API-Key` header to `https://api.proranked.com`. Public paths are `/cpms/v1`, `/emsp/v1`, and `/ocpi` — do not prefix them with `/api`. ## Docs - [ProRanked eMSP API](/specs/emsp.llm.json): full eMSP API reference (operations, parameters, schemas). - [ProRanked CPMS API](/specs/cpms.llm.json): full CPMS API reference (operations, parameters, schemas). - [ProRanked OCPI Roaming](/specs/ocpi.llm.json): full OCPI API reference (operations, parameters, schemas). - [OpenAPI (all families)](https://api.proranked.com/openapi/v1.json): machine-readable OpenAPI 3.1 spec. ## Guides - [Authentication](/docs/authentication): API keys (`X-API-Key`) and operator OAuth (ProRanked Connect). - [Build with an AI agent](/docs/build-with-ai): starting prompt for a coding agent, the two fork-ready starter repos (proranked-emsp-starter, proranked-cpms-starter), and the four things agents get wrong (empty lists are a success; eMSP needs a driver JWT for driver actions; CPMS scopes are intersected with the operator's role and cpms:command:* is elevated; webhook events are charging.session.*). - [Connect a ProRanked account (OAuth)](/docs/connect-oauth): confidential authorization-code + PKCE flow for a platform (ERP/CRM) to connect an operator account and mint network-pinned API keys on their behalf. Authorize `https://id.proranked.com/connect/authorize`, token `/connect/token`, scopes `cpms:read:networks` + `cpms:write:apikeys`. ## Human-readable reference - [CPMS reference](/cpms): operator control plane — chargers, sessions, tariffs. - [eMSP reference](/emsp): driver & roaming — discovery, start/stop, payments. - [OCPI reference](/ocpi): open roaming protocol endpoints.