Show monthly DRM delivery summary
Monthly delivery summary from DRMtoday. distinctCounts is only present for type LICENSE. totals and details only contain the status codes that actually occurred that month, and days is sparse (only days with at least one request appear).
curl -X GET "https://api.5centscdn.com/v2/drm/usage?year=2026&month=9&type=LICENSE" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY"
import requests
import json
url = "https://api.5centscdn.com/v2/drm/usage?year=2026&month=9&type=LICENSE"
headers = {
"Content-Type": "application/json",
"X-API-Key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.5centscdn.com/v2/drm/usage?year=2026&month=9&type=LICENSE", {
method: "GET",
headers: {
"Content-Type": "application/json",
"X-API-Key": "YOUR_API_KEY"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.5centscdn.com/v2/drm/usage?year=2026&month=9&type=LICENSE", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-API-Key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api.5centscdn.com/v2/drm/usage?year=2026&month=9&type=LICENSE')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['X-API-Key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.body
{
"result": "success",
"summary": {
"merchantUuid": "7095f192-f424-45d5-a43f-447e8c09449c",
"merchantName": "5centscdn_svc10001",
"resellerUuid": "3c9a1d42-6b8e-4f1a-9d27-5e0b8c4a7f13",
"type": "LICENSE",
"year": 2026,
"month": 9,
"distinctCounts": {
"users": 40,
"devices": 6,
"accountIds": 0,
"ips": 5
},
"total": 76,
"totals": {
"OK": 49,
"FAIL": 27
},
"details": {
"WIDEVINE_MODULAR": {
"OK": 49,
"FAIL": 27
}
},
"days": [
{
"day": 22,
"total": 13,
"totals": {
"OK": 12,
"FAIL": 1
},
"details": {
"WIDEVINE_MODULAR": {
"OK": 12,
"FAIL": 1
}
}
}
],
"auditCreated": "2026-09-23T18:50:14.852Z"
}
}
/drm/usage
Target server for requests. Edit to use your own host.
API key (sent in header)
Year of the summary. Defaults to the current year.
Month of the summary (1-12). Defaults to the current month.
Delivery type. LICENSE for license deliveries, RENEWAL for Concurrent Stream Limiting renewal requests, CERTIFICATE for service certificate requests. Defaults to LICENSE.
Request Preview
Response
Response will appear here after sending the request
Authentication
API Key for authentication. Provide your API key in the header.
Query Parameters
Delivery type. LICENSE for license deliveries, RENEWAL for Concurrent Stream Limiting renewal requests, CERTIFICATE for service certificate requests. Defaults to LICENSE.
LICENSERENEWALCERTIFICATEResponses
Operation outcome.
Monthly delivery summary.