GET /account/usage

Your quota and billing cycle

Your plan, quota, slots remaining and billing cycle.

What you would otherwise only learn from a 402. Reports the plan limit, active add-on slots, slots used and remaining for the CURRENT cycle, plus your per-minute rate-limit budget. Poll this instead of discovering your quota by hitting the wall: every number comes from the same helper the 402 checks use, so a value here cannot disagree with the enforcement it describes. Free — consumes no shipment slot and makes no upstream call. On a yearly plan the cycle is the YEAR and the shipment numbers are pool numbers; read period_days to tell which shape you are holding.

Request

GET https://traqocontainer.com/api/v1/account/usage

Authentication.

Your API key as a Bearer token: Authorization: Bearer YOUR_API_KEY.

Rate limit.Each API key gets 120 requests per minute by default; your key's own budget comes back in the X-RateLimit-* headers.Limits by plan.

Example request

curl "https://traqocontainer.com/api/v1/account/usage" \
  -H "Authorization: Bearer YOUR_API_KEY"

Run it in the sandbox — no key, no account: the same request answers at https://traqocontainer.com/api/v1/sandbox/account/usage with a schema-identical reply.

Responses

Example 200 body:

{
  "success": true,
  "data": {
    "plan": "professional",
    "period_days": 30,
    "cycle": {
      "start": "2026-08-01T00:00:00.000Z",
      "end": "2026-09-01T00:00:00.000Z"
    },
    "shipments": {
      "limit": 20,
      "addon_slots": 5,
      "carried_slots": 0,
      "effective_limit": 25,
      "used": 12,
      "active": 9,
      "remaining": 13
    },
    "rate_limit": {
      "per_minute": 60,
      "remaining": 60,
      "reset": 1793535018
    },
    "mode": "live"
  }
}
StatusMeaning
200

Current usage

401

Invalid or missing API key.

403

Developer mode not enabled, or the feature is not on your plan.

429

Rate limit exceeded — see the Retry-After header. The body names the plan the limit was computed from (plan, always the ORGANISATION’s plan, not the row your key hangs off) and what would raise it: upgrade with next_plan and next_limit_per_min, or contactUrl when there is no plan above yours. Exactly one of the two is present.

Error bodies and retry advice: Errors.