Meter API
The Meter API provides energy metering data ingestion, querying, and aggregation services for charging sessions and devices.
Features
- Meter Samples - Ingest and query individual meter readings
- Time Series - Retrieve meter data over time periods
- Aggregations - Calculate energy consumed, average power by connector/transaction
- Latest Values - Get the most recent meter readings for devices
- Real-time Streaming - Subscribe to live meter updates via SSE
Base URL
API Reference
Explore the full API specification using the interactive Swagger UI below:
Quick Examples
Get Latest Meter Values
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://api.ampnexus.app/meter/v1/tenants/{tenant_slug}/latest?device_serial=PS-0001
Get Time Series Data
curl -H "Authorization: Bearer YOUR_TOKEN" \
"https://api.ampnexus.app/meter/v1/tenants/{tenant_slug}/series?device_serial=PS-0001&from=2025-01-01T00:00:00Z&to=2025-01-31T23:59:59Z"
Get Energy Aggregations
curl -H "Authorization: Bearer YOUR_TOKEN" \
"https://api.ampnexus.app/meter/v1/tenants/{tenant_slug}/energy/aggregates?device_serial=PS-0001"