---
title: "/account/usage"
method: GET
path: "/v1/account/usage"
tags: ["Account"]
---

# /account/usage

`GET /v1/account/usage`

## Request

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

Get usage statistics for the current API key.

`requests_this_month` is this key's own count. The monthly limit is
enforced on the organisation's pooled counter, so `requests_remaining`
is computed from that live counter plus the org's unspent credits;
without the credits a client at the plan limit would read 0 while
hundreds of paid requests sit unused.

## Response `200`

Successful Response

- AppRoutersAccountUsageResponse
  - `data` UsageStats, required
    - `requests_this_month` integer, required: Number of requests made this month with this API key
    - `requests_limit` integer, required: Monthly request limit of the plan
    - `credits_remaining` integer: Purchased credits still unspent. Credits are pooled per organisation and are drawn on automatically once the monthly limit is reached.
    - `requests_remaining` integer: Requests the organisation can still make this month: what is left of the plan limit plus every unspent credit.
    - `last_request_at` string, date-time, nullable: Timestamp of last request
  - `meta` object: Response metadata

---

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