- API reference
- Billing and usage
Get unique users over time
The number of connected users that made at least one request in each period. Use granularity=daily for daily active users and monthly for monthly active users. Requires Client Secret authentication. Not billed.
Query parameters
The first day of the range (UTC), for example 2026-10-01. The day counts.
The last day of the range (UTC). The day counts, so startDate = endDate is one day. The range may hold at most 366 days, or 31 days for an hourly series.
The length of one period. A week starts on Sunday.
Count only the requests for this music service. Leave it out for every service.
Response
YYYY-MM-DD hh:mm:ss.{
"data": [
{
"period": "2026-10-01 00:00:00",
"unique_users": "string"
}
]
}
Errors
A date is missing or not valid, endDate is before startDate, or the range is too long.
The request has no credentials.
The request does not use Client Secret authentication.
Your account sent more calls this minute than its rate limit allows.