---
title: "Your credits and usage"
method: GET
path: "/v2/account/usage"
tags: ["platform"]
---

# Your credits and usage

`GET /v2/account/usage`

## Request

- Base URL: `https://api.cardog.app`
- URL: `https://api.cardog.app/v2/account/usage`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Your plan, credits used this billing cycle, what is left of your monthly allowance, usage over the last `days` days by day, by endpoint group and by key, and the next plan up.

A signed-in session reads its own account and a personal API key reads its owner's; you cannot read anyone else's. An organization API key or a server token has no personal account (403). Costs 0 credits.

## Query parameters

- `days` integer

## Response `200`

Your plan, this cycle's credits and your usage

- AccountUsage
  - `plan` object, required: Your plan
    - `id` string, required: The plan ID, as on `GET /v2/pricing`, e.g. "free" or "starter"
    - `name` string, required: Name to show, e.g. "Starter"
    - `monthlyPrice` number, nullable, required: USD per month. Null when the price is set with our sales team.
    - `allowance` integer, nullable, required: Credits included each month. Null when set with our sales team.
    - `overageBilled` boolean, required: True: use past the allowance is billed, never blocked. False: requests stop at the allowance.
    - `overagePricePerCredit` number, nullable, required: USD per credit past the allowance. Null when overage is not billed.
  - `cycle` object, required: The current billing cycle
    - `start` string, required: When this billing cycle started, ISO 8601. Cycles are calendar months, UTC.
    - `reset` string, required: When the allowance resets, ISO 8601. The same as the `X-Credits-Reset` header.
  - `credits` object, required: Your credits this cycle
    - `spent` integer, required: Credits used this cycle, from the allowance, packs and overage together
    - `allowanceRemaining` integer, nullable, required: Allowance left. The same as the `X-Credits-Remaining` header. Null on a custom plan.
    - `percentUsed` integer, nullable, required: Share of the allowance used this cycle, in percent. Can go past 100. Null on a custom plan.
    - `packs` integer, required: Credits left from packs you bought
  - `window` object, required: The period `daily`, `families` and `keys` cover
    - `start` string, required: Start, ISO 8601
    - `end` string, required: End, ISO 8601
    - `days` integer, required: Days covered, 1 to 90. Default 14.
  - `daily` object[], required: One entry per UTC day in the window, oldest first. A day with no calls shows 0.
    - `date` string, required: The day, YYYY-MM-DD (UTC)
    - `credits` integer, required: Credits spent that day
    - `requests` integer, required: Requests charged that day
  - `families` object[], required: Use in the window per group of endpoints, most credits first
    - `family` string, required: The group of endpoints, as on `GET /v2/pricing`, e.g. "vin" or "recalls"
    - `credits` integer, required: Credits spent on it
    - `requests` integer, required: Requests charged to it
  - `keys` object[], required: Use in the window per API key, most credits first
    - `id` string, nullable, required: The API key's ID. Null for a deleted key or for use while signed in.
    - `name` string, nullable, required: The name given to the key, e.g. "Production"
    - `start` string, nullable, required: The key's first characters, e.g. "crdg_a". Never the whole key.
    - `credits` integer, required: Credits spent with it
  - `nextPlan` object, nullable, required: The next plan up on `GET /v2/pricing`. Null on the top plan.
    - `id` string, required: The plan ID, e.g. "pro"
    - `name` string, required: Name to show, e.g. "Pro"
    - `monthlyPrice` number, nullable, required: USD per month. Null when set with our sales team.
    - `allowance` integer, nullable, required: Credits included each month. Null when set with our sales team.
  - `links` object, required: `self`: this endpoint. `pricing`: the price list.

## Other responses

- `400`: The request is invalid. The error response names each bad value in `refs` or `details` and, where it can, suggests the nearest valid ref in `suggestions`. We never fall back to a fuzzy match.
- `401`: No valid API key or session
- `403`: Your credential cannot use this endpoint (`forbidden`)
- `429`: Per-minute rate limit exceeded
- `500`: Internal error
- `503`: Temporarily unavailable (`unavailable`); retry with backoff

## Changes

- **2026-11-20** `d7a9494f5c04`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cardog/apis/cardog-api-v2/changes/v2/account/usage/get.md)

---

[API](https://skmtc.dev/cardog/apis/cardog-api-v2.md) - [All operations](https://skmtc.dev/cardog/apis/cardog-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/cardog/apis/cardog-api-v2/revisions/016058226dc5?raw)
