Account Details
const url = 'https://sitechecker.pro/api/v1/account';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://sitechecker.pro/api/v1/account \ --header 'Authorization: Bearer <token>'Returns API access status for the authenticated account, including the current plan, active API key usage and limits, and the number of owned projects. It takes no parameters, which makes it the cheapest way to verify a key before calling the tool endpoints.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Account status
object
object
Always true: the endpoint is only reachable with an active API entitlement.
Current subscription plan name, null when the account has no plan recorded.
Active API keys on the account, against the limit the plan allows.
object
Keys currently active.
Keys the plan allows.
Projects owned by the account — the projects reachable through project_id.
Example
{ "data": { "api_access": true, "plan": "Free trial", "active_keys": { "used": 1, "limit": 5 }, "projects_owned": 12 }}Missing or invalid API key
Returned as INVALID_API_KEY when the key is missing or unknown, and as REVOKED_API_KEY when the key exists but was revoked — the latter needs a new key.
object
object
Example
{ "error": { "code": "INVALID_API_KEY", "message": "Invalid or missing API key." }}No active API entitlement for the account
Returned as MISSING_PUBLIC_API_ACCESS when the account has no active API entitlement, and as ACCESS_DENIED when the requested project belongs to another account.
object
object
Example
{ "error": { "code": "MISSING_PUBLIC_API_ACCESS", "message": "API access is not available: the account has no active API entitlement." }}Rate limit exceeded — retry after the interval in the Retry-After header
object
object
Example
{ "error": { "code": "RATE_LIMIT_EXCEEDED", "message": "Rate limit exceeded. Try again later." }}Internal server error
object
object
Example
{ "error": { "code": "INTERNAL_ERROR", "message": "Internal server error." }}