---
search:
  tags:
    - meters
    - GET
seo:
  description: >-
    Reference for the GET /v1/meters/{meterId}/aggregate endpoint in the Vortex
    Payments API.
sidebar:
  label: GET /v1/meters/{meterId}/aggregate
  badge: GET
title: GET /v1/meters/{meterId}/aggregate
type: openapi-operation
---
`GET /v1/meters/{meterId}/aggregate`

**curl**

```bash
curl "https://api.vortex.nyc/v1/meters/{meterId}/aggregate?customerId=...&at=...&environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
```

**TypeScript**

```ts
import { getMeterAggregate, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await getMeterAggregate({
  client: vortex,
  path: { meterId: "..." },
  query: { customerId: "...", at: "...", environment: "sandbox", merchantAccountId: "..." },
});
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "meterId": "string",
    "eventName": "string",
    "aggregationType": "sum",
    "windowGrain": "day",
    "windowStartAt": "string",
    "windowEndAt": "string",
    "aggregatedQuantity": 0,
    "customers": {
      "items": [
        {
          "customerId": "string",
          "aggregatedQuantity": 0
        }
      ],
      "hasMore": true,
      "total": 0,
      "nextCursor": "string"
    }
  },
  "requestId": "string"
}
```
