Account Details

This guide provides an overview of the "Account Summary" endpoint, which allows ProAPIs customers to retrieve information about their account balance, usage statistics, and quotas.

Endpoint: https://api.proapis.com/internal-api/v1/account/summary

Request Method: GET

Authentication: Required (API Key)

Request Headers:

  • X-API-KEY: your-api-key

  • Content-Type: application/json

Any API key generated in the ProAPIs dashboard, regardless of the service, will work with this endpoint. Requests to this endpoint are not billed, providing customers with free access to their account summary information.

Example RequestCopied!

curl --location 'https://api.proapis.com/internal-api/v1/account/summary' \
--header 'X-API-KEY: your-api-key' \
--header 'Content-Type: application/json'

Example ResponseCopied!

{
    "first_name": "John",
    "last_name": "Doe",
    "email": "john@example.com",
    "has_api_access": true,
    "auto_top_up": true,
    "top_up_amount": 500.0,
    "top_up_threshold": 200.0,
    "usage_summary": {
        "current_balance": 123.45,
        "costs": {
            "current_month": 123.45,
            "all_time": 1234.5
        },
        "requests": {
            "current_month": 1234567890,
            "all_time": 1234567890
        }
    }
}