# GET /v3/usage/limits

Show what is left of your limits this month.

Gives requests used, the monthly allowance, and what is left, for your organization. Also gives whether prepaid credit covers requests past the allowance, and how many requests it still pays for. Also gives billable bytes used and the byte allowance, the per-second rate limit and what is left of it now, and when the month resets.

**API key:** required. See [Authentication](https://www.secblast.com/docs/authentication).

**Group:** [Coverage, usage and service](https://www.secblast.com/docs/reference#coverage-usage-and-service)

## Try it

```python
import os
import requests

r = requests.get(
    "https://api.secblast.com/v3/usage/limits",
    headers={"Authorization": f"Bearer {os.environ['SECBLAST_API_KEY']}"},
    timeout=30,
)
r.raise_for_status()
print(r.json())
```

## Parameters

This route takes no parameters.

## Response body

A successful answer (`200`) is a [UsageLimits](https://www.secblast.com/docs/reference/schemas/usage-limits) object.

| Field | Type | Always present | Description |
|---|---|---|---|
| `as_of` | date-time (RFC 3339, UTC) | yes | When these figures were read. UTC, ISO 8601. |
| `bytes` | object | yes | This month's billable response bytes, counted before compression. |
| `bytes.allowance` | integer \| null | yes | Bytes included each month. In bytes. Null when there is no byte limit. |
| `bytes.enforced` | boolean | yes | True when requests past the byte allowance get 429 quota_exceeded. False means the bytes are counted but never refused. |
| `bytes.remaining` | integer \| null | yes | Bytes left of the allowance. In bytes. Null when there is no byte limit or usage is not counted. |
| `bytes.used` | integer \| null | yes | Billable response bytes this month. In bytes. Null when usage is not counted. |
| `key` | object | yes | The key that made the request. |
| `key.fingerprint` | string | yes | The first 12 hex digits of the key's SHA-256 hash. |
| `org_id` | integer \| null | yes | Your organization's ID. Null when the key belongs to no organization. |
| `period` | object | yes | This month, as SEC Blast counts it: midnight to midnight New York time. |
| `period.end` | date-time (RFC 3339, UTC) | yes | When this month ends. UTC, ISO 8601, such as 2026-12-01T05:00:00Z. |
| `period.reset_at` | date-time (RFC 3339, UTC) | yes | When the monthly allowances start again; the same time as end. UTC, ISO 8601. |
| `period.reset_text` | string | yes | The reset in New York time, in words, such as December 1, 2026 at 00:00 ET. |
| `period.start` | date-time (RFC 3339, UTC) | yes | When this month started. UTC, ISO 8601, such as 2026-11-01T04:00:00Z. |
| `plan` | string \| null | yes | Your plan ID, such as free, builder, or business. Null when the plan cannot be read. |
| `rate` | object | yes | The per-second rate limit. |
| `rate.burst` | integer \| null | yes | Number of requests allowed at once above the per-second rate. Null when no rate limit applies to you. |
| `rate.enforced` | boolean | yes | True when requests over the rate get 429 rate_limited. |
| `rate.per_second` | integer \| null | yes | Number of requests allowed per second. Null when no rate limit applies to you. |
| `rate.remaining` | integer \| null | yes | Requests you can send right now, after this one. Null when no rate limit applies to you. |
| `requests` | object | yes | This month's requests. |
| `requests.allowance` | integer \| null | yes | Number of requests included each month. Null when there is no request limit. |
| `requests.credit_requests_remaining` | integer | yes | Number of requests past the allowance that your prepaid credit still pays for. 0 when the plan has no overage. |
| `requests.enforced` | boolean | yes | True when requests past the allowance and credit get 429 quota_exceeded. |
| `requests.overage_allowed` | boolean | yes | True when prepaid credit pays for requests past the allowance; false when the allowance is a hard stop. |
| `requests.remaining` | integer \| null | yes | Requests left of the allowance. Null when there is no request limit or usage is not counted. |
| `requests.used` | integer \| null | yes | Number of requests counted this month. 5xx and 429 responses, webhook deliveries, and this route do not count. Null when usage is not counted. |
| `scope` | string | yes | Whose monthly allowance the figures are. One of: org (shared by all keys of your organization) or key (this key's own; an older key that belongs to no organization). |

## Details

**This route is not billed**

- it never counts as a request or toward bytes.
- It is never refused for a used-up allowance.
- The per-second rate limit applies, so over it the answer is 429 rate_limited.

**Headers:** While the request allowance is enforced, the answer carries X-Quota-Used-Requests, X-Quota-Limit-Requests, X-Quota-Remaining-Requests, X-Credit-Remaining-Requests, and X-Quota-Reset, as every response to a key does. Takes no query parameters.

## Responses

| Status | Body | Meaning |
|---|---|---|
| `200` | [UsageLimits](https://www.secblast.com/docs/reference/schemas/usage-limits) (`application/json`) | OK |
| `429` | [Problem](https://www.secblast.com/docs/reference/schemas/problem) (`application/problem+json`) | Over the per-second rate limit (code rate_limited, with Retry-After). A used-up monthly allowance never refuses this route. |

Like every route, it can also answer with an error: `401`, `503`, or another status. See [Errors](https://www.secblast.com/docs/errors).

## More in Coverage, usage and service

Previous: [`GET /v3/usage`](https://www.secblast.com/docs/reference/get-usage)
