Get meter quantities
Get bucketed quantities for a meter over a time period. Timestamps are UTC. Polar-compatible query names (start_timestamp, end_timestamp, interval) are required.
/meters/{id}/quantitiesGet bucketed quantities for a meter over a time period. Timestamps are UTC. Polar-compatible query names (start_timestamp, end_timestamp, interval) are required.
Related endpoints
GET /meters— List metersPOST /meters— Create a meterGET /meters/{id}— Get a meterPATCH /meters/{id}— Update a meter
Common errors
400 invalid_request— malformed payload or failed validation.401 authentication_error— missing, invalid, expired, or revoked credential. Codes:authentication_failed,invalid_api_key,expired_api_key,api_key_revoked,session_invalid,merchant_required. Carries aWWW-Authenticate: Bearerchallenge.404 resource_missing— the referenced resource does not exist or is not visible to your key.
Your RevKeen merchant API key. Create and manage keys in Dashboard → Settings → Developer. Use rk_sandbox_* for staging/test and rk_live_* for production. The same key may be sent as Authorization: Bearer <key> if that suits your HTTP client better. A missing, invalid, expired, or revoked key returns 401 with a WWW-Authenticate: Bearer challenge; a valid key without the required scope returns 403.
In: header
Scope: meters:read
Path Parameters
Meter UUID.
uuidQuery Parameters
Start timestamp (ISO 8601, UTC)
date-timeEnd timestamp (ISO 8601, UTC)
date-timeBucket width. UTC date_trunc semantics; week is ISO (Monday).
Value in
- "hour"
- "day"
- "week"
- "month"
- "year"
Filter by customer UUID
uuidFilter by the merchant's external customer ID
Filter by subscription UUID
uuidOnly UTC is supported. Omit or pass UTC.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.revkeen.com/v2/meters/11111111-1111-4111-8111-111111111111/quantities?start_timestamp=2026-03-01T00%3A00%3A00Z&end_timestamp=2026-03-08T00%3A00%3A00Z&interval=day&customer_id=11111111-1111-4111-8111-111111111111" \
-H "x-api-key: $REVKEEN_API_KEY"Synthetic documentation data, validated against the response schema; not a live API result.
{ "object": "meter_quantities", "meter_id": "7c8d9e0f-1a2b-4630-8d4e-5f6a7b8c9d01", "start_timestamp": "2026-04-16T00:00:00.000Z", "end_timestamp": "2026-04-19T00:00:00.000Z", "interval": "day", "quantities": [ { "timestamp": "2026-04-16T00:00:00.000Z", "quantity": 412 }, { "timestamp": "2026-04-17T00:00:00.000Z", "quantity": 398 }, { "timestamp": "2026-04-18T00:00:00.000Z", "quantity": 440 } ]}Put this endpoint to work
Last updated 19 Oct 2026 by David Lindblad