-
Notifications
You must be signed in to change notification settings - Fork 0
Music API
HyperGaming99 edited this page Jul 13, 2026
·
1 revision
POST /api/music · Benutzer-API-Key erforderlich
Alias: /api/create-music
Plattform-Links werden gegen die offiziellen Domains der jeweiligen Streaming-Dienste geprüft.
curl -X POST https://0x79.one/api/music \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"title":"My Track",
"artist":"My Artist",
"domain":"0x79.one",
"custom_code":"my-track",
"links":{
"spotify":"https://open.spotify.com/track/...",
"apple_music":"https://music.apple.com/...",
"youtube_music":"https://music.youtube.com/watch?v=..."
}
}'{
"ok": true,
"type": "music",
"music_code": "Ab12CdEf",
"music_url": "https://0x79.one/music/Ab12CdEf",
"short_code": "my-track",
"short_url": "https://0x79.one/my-track",
"domain": "0x79.one",
"expires_at": null,
"max_clicks": null,
"has_password": false
}