Documentation Index
Fetch the complete documentation index at: https://docs.beatpass.ca/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Insights API provides focused, domain-specific analytics endpoints for content creators. These endpoints offer comprehensive analytics data, charts, and export capabilities.Base URL:
https://open.beatpass.ca/api/v1/producer-intelligence/insightsAll Insights endpoints require authentication. Include your Bearer token in the
Authorization header.Track Insights
Get Track Analytics
Retrieve comprehensive analytics for a track including plays, engagement, and performance metrics.| Parameter | Type | Required | Description |
|---|---|---|---|
trackId | integer | Yes | Track ID |
period | string | No | Time period: 7-days, 30-days, 90-days, 1-year. Default: 30-days |
Get Track Charts
Retrieve chart data for visualizing track performance over time.| Parameter | Type | Description |
|---|---|---|
trackId | integer | Track ID |
timeframe | string | Chart timeframe: 7d, 30d, 90d, 1y |
Get Real-Time Metrics
Get live metrics for a track (active listeners, recent plays).Album Insights
Get Album Analytics
Retrieve analytics for an album including aggregate track performance.| Parameter | Type | Required | Description |
|---|---|---|---|
albumId | integer | Yes | Album ID |
period | string | No | Time period. Default: 30-days |
Get Album Charts
Artist Insights
Get Artist Analytics
Retrieve comprehensive analytics for an artist’s content.| Parameter | Type | Required | Description |
|---|---|---|---|
artistId | integer | Yes | Artist ID |
period | string | No | Time period. Default: 30-days |
Get Artist Charts
Get Collaboration Stats
Retrieve collaboration statistics and network data.Export
Get Available Formats
List available export formats.Export to CSV
Export analytics data as CSV.Export to JSON
Export analytics data as structured JSON.Generate Report
Generate a comprehensive analytics report.Export PDF
Export the report as a PDF document.Error Responses
All Insights endpoints use standardized error responses:| Status | Error | Description |
|---|---|---|
| 401 | unauthorized | Authentication required |
| 403 | forbidden | Access denied to this resource |
| 404 | not_found | Resource not found |
| 422 | validation_failed | Invalid parameters |
| 500 | server_error | Internal server error |
Related
Authentication
Learn about API authentication.
Rate Limits
Understand API rate limits and caching.