Stream

What every station plays now

GET
https://api.tunio.ai/v1/streams/now-playing

One request for the current track of all the stations of the token's location, instead of polling each station's history. The answer is the same for every caller of the location for 5 seconds. It carries an ETag: send it back as If-None-Match and an unchanged answer is 304 with no body. track_finishing_at is when the track ends — the earliest moment the answer can change for that station. At most 60 requests a minute per user; beyond that 429 with Retry-After.

Headers

NameTypeDescription
If-None-MatchstringETag of the previous answer

Responses

NameTypeDescription
itemsarray
Stations of the token's location.
[item]Requiredobject
-
successboolean
Always true.

No schema details were provided for this payload.

NameTypeDescription
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
NameTypeDescription
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
NameTypeDescription
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
NameTypeDescription
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.