OverviewQuickstart

Quickstart

Make your first 5centsCDN API call. By the end of this guide you will have made your first authenticated API call and listed your CDN zones.

Step-by-step

Get your API key

Log in to your dashboardSettingsAPI Keys → copy your key.

Never paste your API key into public code, browser consoles, or Git repositories.

Verify your key works

Make a test call to the account endpoint. A 200 response means your key is valid.

curl -X GET https://api.5centscdn.com/v2/account \
  -H "X-API-KEY: YOUR_API_KEY"

List your zones

Fetch all CDN zones on your account.

curl -X GET https://api.5centscdn.com/v2/zones \
  -H "X-API-KEY: YOUR_API_KEY"

Expected response:

{
  "status": "success",
  "data": [
    {
      "id": 12345,
      "name": "my-zone",
      "type": "HTTP",
      "status": "active"
    }
  ]
}

Explore the API reference

You are ready. Browse the full reference in the sidebar — every endpoint includes request/response schemas and a live playground to test calls directly.


What's next

GuideDescription
AuthenticationHow API key auth works and best practices
ZonesCreate and configure delivery zones
Live StreamsSet up live stream ingest and playback
Edge RulesDefine path-based routing and caching rules