Resources
Accounts
Inspect the workspace, plan, limits, usage and credit balance associated with the API key.
GET
/api/v1/accountRead keyWorkspace, plan, limits, usage and credits
Authentication: Bearer API key in the Authorization header.
Request
curl "https://rankspire.tech/api/v1/account" \
-H "Authorization: Bearer $RANKSPIRE_KEY"Response
{
"data": {
"workspace": { "id": "cm1ws…", "name": "Northpeak Digital", "slug": "northpeak" },
"plan": { "key": "autoseo", "name": "Auto SEO" },
"limits": { "websites": 10, "keywords": 1000, "apiRequestsPerDay": 5000 },
"usage": { "websites": 4, "keywords": 376, "apiRequests": 112 },
"credits": { "indexing": 4620 },
"apiKey": { "id": "cm1key…", "scopes": "read" }
}
}