---
title: "bird email stats by-brand"
description: "Get statistics by Brand"
canonical: "https://bird.com/docs/cli/reference/email-stats-by-brand"
---

# `bird email stats by-brand`

## Usage

```bash
bird email stats by-brand [flags]
```

## Description

Email delivery, engagement, and latency stats grouped by the send-time Brand ID (`bnd_…`). Archived Brands remain keyed by their ID, and historical unbranded messages appear in a separate `brand_id: null` row distinct from the default Brand. Reads retained reporting events directly (last 180 days, on or after `2026-09-23T00:00:00Z`; `data_as_of` is `null`). Brand listing is dashboard-only, so this breakdown discovers Brand IDs with activity in the requested period; to map a Brand name to its ID or inspect a Brand with no activity, ask the caller for the Brand ID (copyable from Brands > More actions > Copy brand ID). For a single Brand's time series, period comparisons, or combined filters (such as Brand + template or category), use `bird email stats query` with `filters.brand_id`.

Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

## Examples

```bash
bird email stats by-brand
bird email stats by-brand | jq -r '.data[].brand_id'
bird email stats by-brand --limit 50 --starting-after <cursor>
```

## Options

#### Filters

| Name                | Description                                                                                                                                                                                                                                                                                                                                                                                                   |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--category`        | Not supported on breakdown endpoints. Supplying it returns 422. To compare categories, use GET /v1/email/stats/categories, or use POST /v1/email/stats/query to combine brand\_id and category.                                                                                                                                                                                                               |
| `--from`            | Inclusive start of the window: a calendar day (YYYY-MM-DD) or an RFC 3339 instant (rounded down to a local quarter-hour). Use the same form for from and to, and use Z UTC instants when timezone is supplied. Defaults to 30 calendar days before to when both are omitted. Must fall within retained reporting history (last 180 days, on or after 2026-09-23T00:00:00Z).                                   |
| `--response-schema` | Print the fields this command returns, then exit                                                                                                                                                                                                                                                                                                                                                              |
| `--timezone`        | IANA timezone identifier used to group statistics, for example Asia/Kathmandu. The default is UTC. Day and hour boundaries, including the default window when from and to are omitted, follow this timezone. When this parameter is set, pass from and to as calendar days or Z instants instead of timestamps with explicit UTC offsets.                                                                     |
| `--to`              | Inclusive end of the window: a calendar day (YYYY-MM-DD, including the whole local day) or an RFC 3339 instant (rounded down to a local quarter-hour and including that quarter-hour). Must use the same form as from and not lie in the future for instant windows. Calendar windows allow up to 365 local days; instant windows allow up to 720 hours. Defaults to today in timezone when both are omitted. |

#### Pagination

| Name               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--ending-before`  | Cursor from the prev\_cursor or refresh\_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order. prev\_cursor returns the preceding page. refresh\_cursor anchors at the first row of that response, which on a newest-first sort is how to fetch the items that have appeared since.                                                                                                                                                                                                                                                                                                                                                 |
| `--limit <n>`      | Maximum number of Brand rows to return, ranked by the sort field descending. Allowed range: 1 to 200.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `--sort`           | Metric to rank rows by, applied descending. Supports every count and rate defined by EmailStatsSortMetric; rows whose rate is undefined (zero denominator) sort last. Defaults to processed. Possible values: processed, delivered, bounced, complained, deferred, rejected, oob\_bounces, bounces.hard, bounces.soft, bounces.admin, bounces.block, bounces.undetermined, opens, opens\_non\_prefetched, unique\_opens, unique\_opens\_non\_prefetched, clicks, unique\_clicks, unsubscribes, delivery\_rate, bounce\_rate, complaint\_rate, open\_rate, click\_rate, unsubscribe\_rate, bounces.hard\_rate, bounces.soft\_rate, bounces.admin\_rate, bounces.block\_rate, bounces.undetermined\_rate. |
| `--starting-after` | Cursor from the next\_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |

## Related

| Name                                                                                                        | Description                                 |
| ----------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
| [`bird email stats by-bounce-code`](/docs/cli/reference/email-stats-by-bounce-code)                         | Get bounces by SMTP error code              |
| [`bird email stats by-broadcast`](/docs/cli/reference/email-stats-by-broadcast)                             | Get statistics by broadcast                 |
| [`bird email stats by-category`](/docs/cli/reference/email-stats-by-category)                               | Get statistics by category                  |
| [`bird email stats by-client`](/docs/cli/reference/email-stats-by-client)                                   | Get engagement by email client              |
| [`bird email stats by-complaint-type`](/docs/cli/reference/email-stats-by-complaint-type)                   | Get complaints by type                      |
| [`bird email stats by-location`](/docs/cli/reference/email-stats-by-location)                               | Get engagement by location                  |
| [`bird email stats by-mailbox-provider`](/docs/cli/reference/email-stats-by-mailbox-provider)               | Get statistics by mailbox provider          |
| [`bird email stats by-mailbox-provider-region`](/docs/cli/reference/email-stats-by-mailbox-provider-region) | Get statistics by mailbox provider region   |
| [`bird email stats by-recipient-domain`](/docs/cli/reference/email-stats-by-recipient-domain)               | Get statistics by recipient domain          |
| [`bird email stats by-sending-domain`](/docs/cli/reference/email-stats-by-sending-domain)                   | Get statistics by sending domain            |
| [`bird email stats by-sending-ip`](/docs/cli/reference/email-stats-by-sending-ip)                           | Get statistics by sending IP                |
| [`bird email stats by-tag`](/docs/cli/reference/email-stats-by-tag)                                         | Get statistics by tag                       |
| [`bird email stats by-template`](/docs/cli/reference/email-stats-by-template)                               | Get statistics by template                  |
| [`bird email stats daily`](/docs/cli/reference/email-stats-daily)                                           | Get daily sending statistics                |
| [`bird email stats hourly`](/docs/cli/reference/email-stats-hourly)                                         | Get hourly sending statistics               |
| [`bird email stats query`](/docs/cli/reference/email-stats-query)                                           | Query email delivery and engagement metrics |
| [`bird email stats summary`](/docs/cli/reference/email-stats-summary)                                       | Get aggregate email statistics              |

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
