Skip to main content
GET
Account Reporter V2
Use Account Reporter to review usage for the authenticated API key and the full account. Choose a calendar month or a custom UTC date range. This is useful for comparing usage across your teams, environments, or integrations.
This call is free and does not count against your rate limit.

Choose a reporting period

The two modes are mutually exclusive. Do not combine month with start_date or end_date. A date range requires both dates, with the end after the start. The start must be within the past 12 months, the interval cannot exceed 12 months, and the interval cannot be entirely in the future.

Read the response

  • key_usage contains counters for the authenticated key.
  • account_usage contains counters across the account’s keys.
  • balance_remaining_usd is the current account balance at the top level of the response.
  • price contains unit prices from the latest payment and is returned only for master API keys.
The counters include requests and returned results for the supported services. Use the generated response reference for the full field list. Request counts and returned-result counts measure different things; do not assume one request equals one returned contact or one billable unit.
balance_remaining_usd and price are current values. They are not historical values for the requested reporting period.

Reporting boundaries

Usage is grouped by the UTC date it was recorded. This endpoint does not provide reporting within a day or guarantee that usage is assigned to the original request’s start time. For an individual job’s cost, use inline usage. To create separate keys for teams or integrations, see API key management.

Authorizations

x-api-key
string
header
required

To access the API, provide your API key in x-api-key.

Query Parameters

month
string

Optional month in YYYY-MM format used to scope usage counters. Mutually exclusive with start_date and end_date. The month's start must not be more than 12 months in the past, and must not be entirely in the future.

Required string length: 7
Pattern: ^\d{4}-\d{2}$
start_date
string<date>

Optional interval start date in YYYY-MM-DD format, UTC, inclusive. Must be provided together with end_date, and is mutually exclusive with month. Must not be more than 12 months before the current UTC date, and must not be entirely in the future (at least one day of the interval must be today or earlier).

Required string length: 10
Pattern: ^\d{4}-\d{2}-\d{2}$
end_date
string<date>

Optional interval end date in YYYY-MM-DD format, UTC, exclusive. Must be provided together with start_date, must be strictly after start_date, and the interval cannot exceed 12 months. Mutually exclusive with month.

Required string length: 10
Pattern: ^\d{4}-\d{2}-\d{2}$

Response

Success. Returns usage for the authenticated key and account. Master API keys also receive unit prices in price.

Account reporter response containing key-level and account-level usage metrics. The optional price object is included only for master API keys.

key_usage
object

Usage counters for a given time window.

account_usage
object

Usage counters for a given time window.

balance_remaining_usd
number<float>

The current account balance. This is a present-moment value, not a balance as of or within the requested month or start_date/end_date interval.

Example:

23.34

price
object

Unit prices in USD keyed by their corresponding Account Reporter usage field, derived from the latest payment row. Present only when the request is authenticated with a master API key. May be an empty object when no payment row exists. These are current prices, not the actual historical prices in effect during the requested month or start_date/end_date interval.