---
title: "Per-day per-category usage for the last N days"
method: GET
path: "/v1/usage/history"
tags: ["usage"]
---

# Per-day per-category usage for the last N days

`GET /v1/usage/history`

## Request

- Base URL: `https://api.ctindex.io`
- URL: `https://api.ctindex.io/v1/usage/history`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Returns a daily breakdown of the caller's request volume across the three metered categories (single_host_per_hr, full_domain_per_hr, mcp_per_min). Powers the developer-portal dashboard's stacked-area usage chart. Not rate-limited.

## Query parameters

- `days` integer

## Cookies

- `ctix_session` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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