API Method: /api/audience/metrics

Get aggregate metrics for a set of profiles.

This endpoint is designed to calculate metrics for a cohort of viewers available through /api/audience/list, and for that reason it accepts the same set parameters.

Parameters

See documentation for /api/audience/list.

Permission level

The minimum required permission level is:

read

Example JSON Response

{
  "status": "ok",
  "permission_level": "read",
  "cached": "0",
  "metrics": {
    "total_profiles": "10",
    "total_identified_profiles": "10",
    "avg_timeline_sessions": "61.5000000000000000",
    "avg_timeline_count": "132.0000000000000000",
    "avg_timeline_engagement": "11825.100000000000",
    "avg_score": "105.6000000000000000"
  },
  "site": {...},
  "endpoint": "/api/people/metrics"
}

Example XML Response

This endpoint does not support XML responses.