---
title: "Get aggregated statistic intervals"
method: GET
path: "/marketing/v3/emails/statistics/histogram"
tags: ["Statistics"]
---

# Get aggregated statistic intervals

`GET /marketing/v3/emails/statistics/histogram`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/marketing/v3/emails/statistics/histogram`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `content`
  - API key in header `private-app`

Get aggregated statistics in intervals for a specified time span. Each interval contains aggregated statistics of the emails that were sent in that time.

## Response `200`

successful operation

- CollectionResponseWithTotalEmailStatisticIntervalNoPaging: Response object for collections of EmailStatisticIntervals.
  - `total` integer, required: Total number of objects.
  - `results` EmailStatisticInterval[], required: Collection of objects.
    - `interval` Interval, required
      - `start` string, date-time, required
      - `end` string, date-time, required
    - `aggregations` EmailStatisticsData, required
      - `deviceBreakdown` object, required: Statistics by device.
      - `qualifierStats` object, required: Number of emails that were dropped and bounced.
      - `counters` object, required: Counters like number of `sent`, `open` or `delivered`.
      - `ratios` object, required: Ratios like `openratio` or `clickratio`

## Other responses

- `default`: An error occurred.

## Changes

- **2026-07-13** (v3) `d7f45521dbcd`: 4 warning
  - deleted the `query` request parameter `emailIds`
  - deleted the `query` request parameter `endTimestamp`
  - deleted the `query` request parameter `interval`
  - deleted the `query` request parameter `startTimestamp`
- **2025-04-25** (v3) `3cbff517f56c`: 4 info
  - the endpoint scheme security `oauth2` was added to the API
  - the endpoint scheme security `private_apps` was added to the API
  - the endpoint scheme security `oauth2_legacy` was removed from the API
  - the endpoint scheme security `private_apps_legacy` was removed from the API
- **2024-03-29** (v3) `d4ea3763a3c3`: 8 info
  - the endpoint scheme security `oauth2_legacy` was added to the API
  - the endpoint scheme security `private_apps_legacy` was added to the API
  - the endpoint scheme security `oauth2` was removed from the API
  - the endpoint scheme security `private_apps` was removed from the API
  - …4 more

[Operation history](https://skmtc.dev/hubspot/apis/marketing-marketing-emails-v3/changes/marketing/v3/emails/statistics/histogram/get.md)

---

[API](https://skmtc.dev/hubspot/apis/marketing-marketing-emails-v3.md) - [All operations](https://skmtc.dev/hubspot/apis/marketing-marketing-emails-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/marketing-marketing-emails-v3/revisions/d7f45521dbcd?raw)
