GET/v1/usage

Get Usage

Check your current API usage and quota.

Check your current API usage, remaining quota, and rate limit tier. This endpoint supports both API key and session cookie authentication.

This endpoint does not count toward your monthly usage quota.

Response

FieldTypeDescription
usednumberAPI calls used this month
limitnumberMonthly call limit for your tier
remainingnumberCalls remaining this month
monthstringCurrent billing month (YYYY-MM)
reset_datestringISO 8601 timestamp when the quota resets
tierstringYour subscription tier: "free" or "pro"

Quota Details

TierMonthly LimitRate Limit
Free1,000 calls10 req/sec
Pro10,000 calls30 req/sec

Quotas reset on the 1st of each month at midnight UTC.

The following endpoints do not count toward your monthly quota: GET /v1/templates, GET /v1/usage, GET /v1/documents, GET /v1/documents/:id.

curl https://api.unmarkdown.com/v1/usage \
  -H "Authorization: Bearer um_your_key"
const res = await fetch('https://api.unmarkdown.com/v1/usage', {
  headers: {
    'Authorization': 'Bearer um_your_key'
  }
});
const data = await res.json();
console.log(`${data.remaining} calls remaining this month`);
import requests

res = requests.get(
    'https://api.unmarkdown.com/v1/usage',
    headers={'Authorization': 'Bearer um_your_key'}
)
data = res.json()
print(f"{data['remaining']} calls remaining this month")

Response

{
  "used": 142,
  "limit": 1000,
  "remaining": 858,
  "month": "2026-02",
  "reset_date": "2026-03-01T00:00:00.000Z",
  "tier": "free"
}

Pro tier response

{
  "used": 3847,
  "limit": 10000,
  "remaining": 6153,
  "month": "2026-02",
  "reset_date": "2026-03-01T00:00:00.000Z",
  "tier": "pro"
}