---
title: "Get Usage"
method: GET
path: "/api/v1/usage"
tags: ["v1", "billing"]
---

# Get Usage

`GET /api/v1/usage`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/v1/usage`
- Auth: HTTP bearer

## Query parameters

- `start_date` string, date, required: Inclusive, UTC (YYYY-MM-DD)
- `end_date` string, date, required: Inclusive, UTC (YYYY-MM-DD)

## Response `200`

Successful Response

- UsageResponse: Days with ledger activity only -- callers treat a missing date as 0. `cost_per_credit_usd` is the blended cash rate across every credit the account actually paid for (pack checkouts + succeeded auto top-ups): total USD cents / total purchased credits. None when the account has never purchased, in which case every row's cost_usd is also None and the caller should price consumption itself.
  - `data` UsageDay[], required
    - `date` string, date, required
    - `credits_consumed` integer, required
    - `credits_refunded` integer, required
    - `envelopes_sent` integer, required
    - `cost_usd` number, nullable
  - `cost_per_credit_usd` number, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zsign/apis/zsign-api.md) · [All operations](https://skmtc.dev/zsign/apis/zsign-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zsign/apis/zsign-api/revisions/a674ac4137ba?raw)
