Skip to content

Current-period usage for the calling key

GET
/v1/usage
curl --request GET \
--url https://api.aptrouter.com/v1/usage \
--header 'Authorization: Bearer <token>'

Returns this key’s current-period request/credit counts plus the remaining prepaid balance. Not metered (free to call).

Usage for the current billing period.

Media type application/json
object
period
required

Current period (YYYY-MM) the request/credit counters cover.

string
requests
required

Requests served this period.

integer
credits
required

Credits consumed this period.

integer
balance
required

Remaining prepaid credit balance (1 credit = 1 search).

integer
Examples
Example ok
{
"period": "2026-06",
"requests": 4213,
"credits": 4213,
"balance": 5787
}

Missing, invalid, or revoked API key.

Media type text/plain
string
Example
invalid or revoked api key