Account - Querying Account

Account / Querying Account

On this page:

The SupaRes API enables you to programmatically retrieve the account information. This endpoint will respond with information about your subscription as well as complete information about your monthly quota consumption.

Get account information

GET https://api.supares.com/1.0/account
curl -u your-api-key: https://api.supares.com/1.0/account

An example response:

HTTP/1.1 200 OK

{
    "success": true,
    "code": 200,
    "subscription": {
        "name": "Advanced"
    },
    "credits": {
        "total": 500,
        "used": 331,
        "remaining": 169
    }
}