ACRCloud
Visit WebsiteConsole
  • Introduction
  • Get Started
  • Console Tutorials
    • Recognize Music
    • Recognize Custom Content
    • Broadcast Monitoring for Music
    • Broadcast Monitoring for Custom Content
    • Detect Live & Timeshift TV Channels
    • Recognize Custom Content Offline
    • Recognize Live Channels and Custom Content
    • Find Potential Detections in Unknown Content Filter
  • SDK REFERENCE
    • Mobile SDK
      • iOS
      • Android
      • Unity
    • Backend SDK
      • Python
      • PHP
      • Go
      • Java
      • C/C++
      • C#
    • Error Codes
  • API Reference
    • Identification API
    • Console API
      • Access Token
      • Buckets
        • Audio Files
        • Live Channels
        • Dedup Files
      • Base Projects
      • OfflineDBs
      • BM Projects
        • Custom Streams Projects
          • Streams
          • Streams Results
          • Streams State
          • Recordings
          • Analytics
          • User Reports
        • Broadcast Database Projects
          • Channels
          • Channels Results
          • Channels State
          • Recordings
          • Analytics
          • User Reports
      • File Scanning
        • FsFiles
      • UCF Projects
        • BM Streams
        • UCF Results
    • Metadata API
  • Tools
    • Audio File Fingerprinting Tool
    • Local Monitoring Tool
    • Live Channel Fingerprinting Tool
    • File Scan Tool
  • Metadata
    • Music
    • Music (Broadcast Monitoring with Broadcast Database)
    • Custom Files
    • Live Channels
    • Humming
  • FAQ
    • Definition of Terms
  • Service Usage
Powered by GitBook
On this page
  1. API Reference
  2. Console API
  3. BM Projects
  4. Broadcast Database Projects

Analytics

This api is only applicable to projects bound to ACRCloud Music

Get analytics data for the last 7 days

GET https://api-v2.acrcloud.com/api/bm-bd-projects/:project_id/analytics/results

Path Parameters

Name
Type
Description

project_id*

Number

The project id

Query Parameters

Name
Type
Description

stats_type*

String

Type of data, including date, track, artists, label, channel.

If result_type is custom, then only include date, track, channel.

result_type*

String

Type of result, including music, custom

Headers

Name
Type
Description

Authorization*

String

Bearer token

Accept*

String

application/json

{
    "data": {
        "id": "ddddcbffeccc2daf603dddde4ed0dddd",
        "project_id": 1234,
        "stats_type": "date",
        "result_type": "music",
        "start_timestamp_utc": "2022-07-27 00:00:00",
        "end_timestamp_utc": "2022-08-02 23:59:59",
        "results": [
            {
                "date": "2022-07-27",
                "play_time": 461059,
                "plays": 4249,
                "rank": 1
            },
            {
                "date": "2022-07-28",
                "play_time": 479187,
                "plays": 4434,
                "rank": 2
            },
            {
                "date": "2022-07-29",
                "play_time": 466170,
                "plays": 4211,
                "rank": 3
            },
            {
                "date": "2022-07-30",
                "play_time": 451512,
                "plays": 3863,
                "rank": 4
            },
            {
                "date": "2022-07-31",
                "play_time": 479693,
                "plays": 4174,
                "rank": 5
            },
            {
                "date": "2022-08-01",
                "play_time": 468885,
                "plays": 4256,
                "rank": 6
            },
            {
                "date": "2022-08-02",
                "play_time": 466158,
                "plays": 4091,
                "rank": 7
            }
        ]
    }
}
curl --location --request GET 'https://api-v2.acrcloud.com/api/bm-bd-projects/1234/analytics/results?result_type=music&stats_type=date' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your token}' \

Last updated 1 year ago