- API reference
- Billing and usage
Get API requests over time
The number of requests of your account in each period, split into succeeded and failed requests. Every request that the meter bills is here, failed requests included. 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",
"total_requests": "string",
"success_requests": "string",
"error_requests": "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.