Get Stream Counts of an Album

Request

GET /album/v1/analysis/{album_id}

Parameter

HEADER PARAMETER VALUE
Content-Type Required Set to application/json
Accept-Language Such as zh-CN,en-US... default en
app_id Required The app ID provided to you by Boomplay when you register your application.
Authorization Required Access Token
REQUEST PARAMETER VALUE
album_id Required integer
The Boomplay ID for the album. Example value: 123

Responses Body

Body

code (integer) required
desc (string)
data (object)

album_id (integer) The Boomplay ID for the album.
album_title (string) The Boomplay title for the album.

segments array of objects.

date (string) The Data collection date

valid_plays array of objects.

country_code (string) The Data from country
plays (integer) Number of plays

invalid_plays array of objects.

country_code (string) The Data from country
plays (integer) Number of plays

Request Sample

GET /album/v1/analysis/123 HTTP/1.1
Authorization: ${authorization}
app_id: ${app_id}
Host: openapi.boomplay.com

Response Example

{
  "desc": null,
  "code": 0,
  "data": {
    "album_id": 332879,
    "album_title": "Mother Goose Club Sings Nursery Rhymes, Vol. 7: Kids Sing & Learn",
    "segments": [
      {
        "date": "2022-02-22",
        "valid_plays": [
          {
            "country_code": "Global",
            "plays": 12
          },
          {
            "country_code": "PH",
            "plays": 9
          },
          {
            "country_code": "KE",
            "plays": 2
          },
          {
            "country_code": "EG",
            "plays": 1
          },
          {
            "country_code": "TZ",
            "plays": 0
          }
        ],
        "invalid_plays": [
          {
            "country_code": "Global",
            "plays": 5
          },
          {
            "country_code": "TZ",
            "plays": 3
          },
          {
            "country_code": "PH",
            "plays": 2
          },
          {
            "country_code": "KE",
            "plays": 0
          },
          {
            "country_code": "EG",
            "plays": 0
          }
        ]
      }
    ]
  }
}

results matching ""

    No results matching ""