Skip to main content

Playback Quality Analytics

Use playback-quality analytics to answer questions like:

  • Are viewers actually watching in 1080p, or mostly 720p?
  • Did a rollout change the resolution distribution?
  • Should you cap free-tier playback to reduce costs?

Resolution distribution

/analytics/resolution-distribution

This endpoint returns a breakdown of playback by resolution for a time range.

Terminal window
curl -X GET "https://api.antcdn.net/v1/analytics/resolution-distribution?startDate=2026-01-01&endDate=2026-01-31" \
-H "X-Api-Key: ${APIKEY}"

How to act on the results

  • Most traffic is 720p or lower: consider setting start-quality=sd (or capping max-quality=sd) for cost control.
  • A meaningful chunk is 1080p+: keep HD enabled for paid tiers, but use separate Edge Keys to control who gets it.

See: Configuring Players (Cost Control)

For full schemas and additional examples, see the API reference: