Get the streamable MP3 file of a track
Changed onStream an mp3 track This endpoint accepts the Range header for streaming. https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests
Request
- Base URLhttps://api.audius.co/v1
- Auth
- none
- or OAuth 2Authorization code/v1/oauth/authorizeToken URL/v1/oauth/tokenScopesread
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
A Track ID
Query parameters
The user ID of the user making the request
Optional - true if streaming track preview
Optional - signature from the requesting user's wallet. This is needed to authenticate the user and verify access in case the track is gated.
Optional - data which was used to generate the optional signature argument.
Optional - gated content signature for this track which was previously generated by a registered DN. We perform checks on it and pass it through to CN.
Optional - boolean that disables tracking of play counts.
Optional - API key for third party apps. This is required for tracks that only allow specific API keys.
Optional - POC to skip node 'double dip' health check
Optional - If true will not return a 302 and instead will return the stream url in JSON
Response
Success
Changes
- info
the endpoint scheme security
OAuth2was added to the API
- info