Skip to main content
GET
https://api.scriptbase.app
/
api
/
v1
/
account
curl "https://api.scriptbase.app/api/v1/account" \
  -H "X-API-Key: sk_your_key_here"
{
  "success": true,
  "data": {
    "organizationId": "user_abc123",
    "plan": "PRO",
    "maxCredits": 10000,
    "usedCredits": 1500,
    "additionalCredits": 0,
    "totalAvailable": 8500,
    "resetDate": "2024-02-01T00:00:00.000Z"
  }
}

Overview

Get information about your account including subscription plan, credit usage, and quota limits.

Authentication

X-API-Key
string
required
Your API key

Credits

  • Cost: 0 credits (free endpoint)

Response

success
boolean
Whether the request was successful
data
object
curl "https://api.scriptbase.app/api/v1/account" \
  -H "X-API-Key: sk_your_key_here"
{
  "success": true,
  "data": {
    "organizationId": "user_abc123",
    "plan": "PRO",
    "maxCredits": 10000,
    "usedCredits": 1500,
    "additionalCredits": 0,
    "totalAvailable": 8500,
    "resetDate": "2024-02-01T00:00:00.000Z"
  }
}

Plan Limits

PlanMonthly CreditsRate Limit
FREE20010 req/min
PRO10,00060 req/min

Error Codes

StatusCodeDescription
401INVALID_API_KEYAPI key is missing or invalid
500INTERNAL_ERRORServer error