Skip to main content

Usage

Answers what your plan allows and how much of it is spent, as Plan & Usage in your account panel does. This request is free: it is not counted against any quota.

Request​

GET https://api.namebeta.com/v1/usage

Free: counts no units. Answers your plan and the live hourly and daily window of every usage type; the windows are shared with MCP and the signed-in namebeta.com.

Requires an API token.

curl "https://api.namebeta.com/v1/usage" \
-H "Authorization: Bearer $NAMEBETA_API_TOKEN"

Response​

200: The live quota windows.

FieldTypeRequiredDescriptionConstraints
planstringYesOne of free, pro, business, enterprise, admin
quotasobjectYesBoth quota windows of every usage type.

The response is your plan and both windows of every bucket, the same windows the rate limit headers describe:

{
"plan": "pro",
"quotas": {
"check": {
"hourly": {
"limit": 120,
"used": 3,
"resets_at": "2026-11-13T09:00:00.000Z"
},
"daily": {
"limit": 360,
"used": 12,
"resets_at": "2026-11-14T00:00:00.000Z"
}
},
"dns": {
"hourly": {
"limit": 200,
"used": 0,
"resets_at": "2026-11-13T09:00:00.000Z"
},
"daily": {
"limit": 400,
"used": 4,
"resets_at": "2026-11-14T00:00:00.000Z"
}
}
}
}
FieldTypeDescription
planstringpro, business, enterprise or admin. The endpoint only answers paid plans: a Free account gets 403 with plan_required
quotasobjectOne entry per bucket: check, whois, query, single, chat, analyze, dns and ip
quotas.*.hourly, .dailyobjectThe window of that bucket
….limitinteger | nullUnits the window allows; null when it is unlimited
….usedintegerUnits counted in the window so far
….resets_atstringWhen the window resets, in UTC

Behavior​

  • The windows are shared: requests to /v1, to the MCP server and on namebeta.com while signed in all spend them.
  • Limits belong to the account, so every token reads the same windows.

Statuses​

StatusWhenHeaders
200The live quota windows
401Missing, invalid, revoked or expired API tokenWWW-Authenticate
403Your plan does not include the API; upgrade to Pro or above
OtherAny other error