API access status, plan and key usage for the authenticated account.
GET
/api/v1/account
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>'Takes no parameters. Use it to verify an API key and read the account entitlement, plan and active-key usage before calling the tool endpoints.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Account status
Media typeapplication/json
object
data
object
api_access
Always true: the endpoint is only reachable with an active API entitlement.
boolean
plan
Current subscription plan name, null when the account has no plan recorded.
string
active_keys
object
used
integer
limit
integer
projects_owned
Projects owned by the account — the projects reachable through project_id.
integer
Example
{ "data": { "api_access": true, "plan": "Free trial", "active_keys": { "used": 1, "limit": 5 }, "projects_owned": 12 }}Missing or invalid API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "unauthorized", "message": "Invalid or missing API key." }}No active API entitlement for the account
Media typeapplication/json
Returned as api_access_denied when the account has no active API entitlement, and as forbidden when the requested project belongs to another account.
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "api_access_denied", "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
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "rate_limit_exceeded", "message": "Rate limit exceeded. Try again later." }}Internal server error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "internal_error", "message": "Internal server error." }}