I'm developing an app to migrate songs from Spotify to YouTube (specifically YouTube Music). Since YouTube Music lacks a public API, I'm using the YouTube Data API. However, searching for songs on Youtube that appear in YouTube Music doesn't always return the auto-generated versions.
For example, searching by keywords doesn't find the auto-generated video for "Circles" by Post Malone: https://www.youtube.com/watch?v=4EQkYVtE-28
Keyword Search on Youtube