Statistics

Key, domain and account counts for dashboards and alerts.

Counts are computed live from your software.

Keep in mind

Overview
get-overview-stats adds up keys, domains and client accounts.
Per software
get-soft-stats splits keys into active, paused, blocked and expired.

Get overview statistics

POST https://dev.mod.wtf/api/v2/action

methodget-overview-stats

Software totals: keys, domains and client accounts.

Body

  • soft_id integer optional

    ID of a software you own; your main software when omitted

Errors it can return

POST /api/v2/action HTTP/1.1
Host: dev.mod.wtf
Content-Type: application/json
Accept: application/json

{
    "api_key": "YOUR_API_KEY",
    "method": "get-overview-stats"
}

Get software statistics

POST https://dev.mod.wtf/api/v2/action

methodget-soft-stats

Software key counts: total, active, paused, blocked and expired.

Body

  • soft_id integer required

    ID of a software you own

Errors it can return

POST /api/v2/action HTTP/1.1
Host: dev.mod.wtf
Content-Type: application/json
Accept: application/json

{
    "api_key": "YOUR_API_KEY",
    "method": "get-soft-stats",
    "soft_id": 123
}
Esc