Guides

Retrieve CDN Stats

Retrieve CDN usage stats

Response

The response JSON provides the traffic that the CDN received for the period.

{
    "type": "traffic",
    "period": 24,
    "cdn": "cdn.filespin.io",
    "data": {
        "sum": 5564923752
    }
}

Where

  • period is the usage period (defaults to 24, for past 24 hours)
  • cdn is the user CDN for which data is returned
  • sum is total traffic in bytes for the given period
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!