Routescope APIRoutescope API
RouteScope Self-Service

Get my balance subscription

🔑 Requires token authentication (TokenAuth)

Returns the quota limits of the current token in OpenAI style (soft limit / hard limit / system hard limit) along with the account access deadline, so clients can build their own usage alerts.

GET
/api/token/self/subscription
curl -X GET "https://webapi.routescope.ai/api/token/self/subscription"
{
  "object": "billing_subscription",
  "has_payment_method": true,
  "soft_limit_usd": 1.2,
  "hard_limit_usd": 1.2,
  "system_hard_limit_usd": 1.2,
  "access_until": 0
}

Authorization

BearerAuth

AuthorizationBearer <token>

Use Bearer Token for authentication. Format: Authorization: Bearer sk-xxxxxx

In: header

Response Body

application/json

How is this guide?

Last updated on