API reference - Keys
Verify a key
Inspect the calling key: scopes, entitlement, trading flag.
POST/api/v1/keys/self-test
Call this first whenever a route returns 403 - it tells you whether the problem is the key, the scope, or the plan.
Response
{
"success": true,
"data": { "via": "api_key", "keyId": "2e10ecae",
"scopes": ["accounts:read"],
"canTrade": false,
"entitlement": { "enabled": true, "maxKeys": 3, "rpm": 120 } }
}






