Insights

Read Site Stats

GET
/stats.json

Returns basic site-level stats. This API call only answers with JSON responses. An XML version is not provided.

Stats Documentation

There currently is not a complimentary matching set of documentation that compliments this endpoint. However, each Site's dashboard will reflect the summary of information provided in the Stats response.

https://subdomain.chargify.com/dashboard

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Response Body

application/json

curl -X GET "https://example.com/stats.json"
{  "seller_name": "Acme, Inc.",  "site_name": "Production",  "site_id": 12345,  "site_currency": "USD",  "stats": {    "total_subscriptions": 120,    "subscriptions_today": 4,    "total_revenue": "$45,978.81",    "revenue_today": "$1,405.12",    "revenue_this_month": "$10,000.00",    "revenue_this_year": "$27,935.24"  }}