We know of a few iOS Shortcuts via the Shortcuts app that can be handy for creating and sharing song.link URLs. If you have a unique, specific use case, these can be used as starting points to build your own.
In order to use these, you will first have to enable "untrusted" shortcuts. Head to Settings > Shortcuts and make sure "Allow Untrusted Shortcuts" is toggled on.
This one will load the song.link page in your browser.
How To Use: Streaming app song or album (e.g. Spotify) > Share > Shortcuts > Go To Songlink (this shortcut) > Songlink page opens
This one will copy the short song.link URL, e.g. https://song.link/s/1GZH9Sv6zCIse2GKihRHKy, to the clipboard and open up the share dialog so you can share it.
How To Use: Streaming app song or album (e.g. Spotify) > Share > Shortcuts > Share Short Songlink URL (this shortcut) > Share
This one queries our API in order to get the shortened version of the URL. If you have a specific use case, e.g. you want a shortcut to always open the song or album in Apple Music, you can duplicate and tweak this shortcut and parse whatever data you need from our API response. Information about the data in our API response can be found here.
This one will copy the long song.link URL, e.g. https://song.link/https://open.spotify.com/track/1GZH9Sv6zCIse2GKihRHKy, to the clipboard and open up the share dialog so you can share it. This one is faster than "Share Short Songlink URL" because it doesn't query our API, but the URL is longer and a bit uglier.
How To Use: Streaming app song or album (e.g. Spotify) > Share > Shortcuts > Share Long Songlink URL (this shortcut) > Share
<aside> ⚠️ This one doesn’t seem to be working properly on macOS, but should work on iOS.
</aside>
This one is initiated from the Shortcuts app. If there's a song playing in Apple Music, it will grab the song.link URL and share it.
How To Use: Shortcuts app > Share Songlink URL From Apple Music Now Playing (this shortcut) > Share