Streams Results
Get the stream monitoring results
GET https://api-v2.acrcloud.com/api/bm-cs-projects/:pid/streams/:stream_id/results
Path Parameters
pid
number
The project id
stream_id
string
ID of the cake to get, for free of course.
Query Parameters
type
string
last: get the last results day: get the day results Default is day
date
string
Get all the results on this date. The format is YYYYmmdd (E.g. 20210201)
min_duration
number
Only return the results of played_duration greater than or equal to min_duration seconds (default: 0)
max_duration
number
Only return the results of played_duration less than or equal to max_duration seconds (default: 3600)
isrc_country
string
Only return results that match the isrc country code (E.g. DE, FR, IT, US)
with_false_positive
number
0: does not return results marked as false positive. (Default)
1: returns results marked false positive.
Headers
Authorization
string
Bearer token
Accept
string
application/json
{
"data": [
{
"status": {
"msg": "Success",
"code": 0,
"version": "1.0"
},
"result_type": 0,
"metadata": {
"type": "delay",
"timestamp_utc": "2021-01-07 10:18:45",
"played_duration": 232,
"music": [
{
"album": {
"name": "Angkara"
},
"play_offset_ms": 4780,
"sample_begin_time_offset_ms": 4940,
"title": "Angkara",
"result_from": 3,
"release_date": "2020-07-18",
"sample_end_time_offset_ms": 9580,
"label": "SEVENTEEN ELEVEN MUSIC SDN BHD",
"duration_ms": 240780,
"score": 100,
"db_begin_time_offset_ms": 0,
"artists": [
{
"name": "Siti Nordiana"
}
],
"db_end_time_offset_ms": 4640,
"external_ids": {},
"acrid": "65e0152da24e3a79935c296ca1c541bf",
"external_metadata": {}
}
]
}
}
]
}The following is a sample script that displays the results in real-time
Getting results not recognized but detected as music. (Note: This API is only available for streams with music detection enabled)
GET https://api-v2.acrcloud.com/api/bm-cs-projects/:pid/streams/:stream_id/unknown_results
Path Parameters
pid*
number
The project id
stream_id*
string
stream_id
Query Parameters
date*
string
Get all the results on this date. The format is YYYYmmdd (E.g. 20210201)
min_duration
number
Only return the results of played_duration greater than or equal to min_duration seconds (default: 0)
max_duration
number
Only return the results of played_duration less than or equal to max_duration seconds (default: 3600)
Headers
Authorization*
string
Bearer token
Accept
string
application/json
Last updated