Ampr docs
Ampr is an API-first EV charging platform. Control any OCPP charger and automate financial clearing over one REST API.
Tip
Every resource ID is prefixed by type, for example chg_ for chargers and
ses_ for sessions. The prefix never changes, so you can branch on it
safely.
Get started
Start with the quickstart. Check whether the API is up before you do anything else:
curl https://api.ampr.dev/v1/health
Listing your fleet takes one call:
curl https://api.ampr.dev/v1/chargers \
-H "Authorization: Bearer $AMPR_KEY" const res = await fetch('https://api.ampr.dev/v1/chargers', {
headers: {
Authorization: `Bearer ${AMPR_KEY}`,
},
});
const { data: chargers } = await res.json();
console.log(chargers[0].id, chargers[0].status);
// chg_2kT8v9xBn4 "available" What’s next
Browse the guides in the sidebar as they land.