Music GET / Returns: 200 text/plain (this documentation) GET /v3/songs/search?q=&t=<1..25>&p= q is required (2..256 characters) q accepts text plus music URLs/URIs: spotify:track:, https://open.spotify.com/track/ spotify:album:, https://open.spotify.com/album/ spotify:artist:, https://open.spotify.com/artist/ deezer:track:, https://www.deezer.com/track/ qobuz:track:, https://open.qobuz.com/track/ t is optional (default 10) p is optional (default 1) p is only used for Spotify album/artist URLs p is ignored for text and track URL/URI queries Returns (text + track URL/URI): { "query": string, "total": number, "items": Song[] } Returns (album/artist/playlist URL): { "query": string, "total": number, "details": CollectionDetails, "page": number, "totalPages": number, "items": Song[] } GET /v3/songs/library?p= p is optional (default 1) Returns: { "page": number, "total": number, "totalPages": number, "items": Song[] } GET /v3/songs/:songId Returns song sources, details, imageUrl, and synchronized lyrics when available Errors: 404 { "error": "not_found" } GET /v3/songs/:songId/download?f= format: mp3 (default), flac, or m4a GET /v3/songs/:songId/stream?f= format: mp3 (default), flac, or m4a Global errors 400 { "error": "invalid_request" } 404 { "error": "not_found" } 416 { "error": "range_not_satisfiable" } 429 { "error": "rate_limited" } 500 { "error": "internal_error" } Examples curl "https://music.gloss.moe/v3/songs/search?q=Feel%20Good%20Inc&t=5" curl "https://music.gloss.moe/v3/songs/search?q=https%3A%2F%2Fopen.spotify.com%2Ftrack%2F4uLU6hMCjMI75M1A2tKUQC&t=5" curl "https://music.gloss.moe/v3/songs/search?q=https%3A%2F%2Fwww.deezer.com%2Ftrack%2F124603270&t=5" curl -L "https://music.gloss.moe/v3/songs//stream?f=mp3" -o song.mp3 curl -L "https://music.gloss.moe/v3/songs//download?f=flac" -o song.flac