Credits
Free.
Request
curl "https://api.checkanysite.com/v1/usage" \
-H "Authorization: Bearer $CHECKANYSITE_API_KEY"from checkanysite import CheckAnySite
client = CheckAnySite() # Reads the key from CHECKANYSITE_API_KEY.
usage = client.usage.retrieve()const url = 'https://api.checkanysite.com/v1/usage';
const response = await fetch(url, {
headers: {
Authorization: `Bearer ${process.env.CHECKANYSITE_API_KEY}`,
},
});
const usage = await response.json();Response
| Status | Body | When |
|---|---|---|
| 200 OK | Usage | This month’s credits. |
{
"period": {
"start": "2026-11-01T00:00:00.000Z",
"end": "2026-12-01T00:00:00.000Z"
},
"allowance": 300,
"used": 108,
"remaining": 192,
"key": {
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"name": "Production",
"monthlyCreditLimit": 120,
"used": 36,
"remaining": 84
},
"prices": {
"checks": {
"ai": {
"stored": 1,
"scan": 3
},
"readiness": {
"stored": 1,
"scan": 4
},
"popularity": {
"stored": 1,
"scan": 1
},
"tech": {
"stored": 1,
"scan": 3
},
"dns": {
"stored": 1,
"scan": 1
},
"trust": {
"stored": 2,
"scan": 6
},
"summary": {
"stored": 2,
"scan": 5
},
"history": {
"stored": 1,
"scan": 2
}
},
"allChecks": {
"stored": 3,
"scan": 15
}
},
"rateLimit": {
"requests": 60,
"periodSeconds": 60
}
}periodobjectThe calendar month (UTC) the credits count in.
period.startdate-timeWhen the month began.
period.enddate-timeWhen it ends and the credits start again.
allowanceintegerThe account’s credits this month.
usedintegerThe credits the account used this month, all keys together.
remainingintegerThe account’s credits left this month.
keyobjectThe key that made this call.
key.idstringThe key’s id.
key.namestringThe name you gave it.
key.monthlyCreditLimitinteger or nullIts own monthly limit; null when it has none.
key.usedintegerThe credits it used this month.
key.remaininginteger or nullWhat its own limit leaves; null without one.
pricesobjectWhat a call costs, in credits: each check it asks, never more than every check at once.
prices.checksobjectWhat each check costs.
prices.allChecksobjectThe most a call costs: every check at once, asked when
checksis left out.rateLimitobjectHow fast a key may call.
rateLimit.requestsintegerCalls a key may make in a period.
rateLimit.periodSecondsintegerThe period, in seconds.
Errors
| Status | Code | What happened |
|---|---|---|
| 401 | missing_api_key | No API key |
| 401 | invalid_api_key | Unknown API key |
| 401 | revoked_api_key | Revoked API key |
| 401 | expired_api_key | Expired API key |
| 429 | rate_limited | Too many requests |
| 500 | internal_error | Internal error |