Update to Webcast Metrics API

Anterior Siguiente

As of December 22, 2025, Triton Digital has updated the API for Webcast Metrics (WCM).

To see full details in the Webcast Metrics API User Guide, please contact Triton.

Authentication

Authenticate with an authorization token only. You can create an authorization token with the Triton Login API.

To create a token, use the API user name and password that was provided to you by your Triton Digital Client Relations Manager.

tiempo promedio de escucha

When Average Time Spent Listening (atsl) is not calculated, its value is now null, not NaN.

The responses to these endpoints include the atsl member:

  • /audience/{broadcasterEntityType}/{broadcasterEntityID}/{audienceMetricsType}

  • /audience/{broadcasterEntityType}/{broadcasterEntityID}/hours

Error Output

Error output has changed. Along with more details, "errorCode" has been replaced with a boolean member, "isValid".

Ejemplo:

{
    "isValid": false,
    "message": "publisher 54546 was not found.",
    "details": [],
    "stack": []
}

Changes to Parameters in Audience Endpoints

Los módulos /audience endpoints have these changes:

  • The parameters platformID y broadcasterEntityID are now platformId y broadcasterEntityId, respectively.

  • The parameters platformId y datepart are now required, they no longer have a default ALL value. To keep the previous default behavior, requests that require these parameters must now add &platformId=ALL&datepart=ALL.