Hi - I’m trying to use the MusicBrainz API to autocomplete a search by recording name, using the /ws/2/recording endpoint.
I can mostly get good results just passing the text the user entered, in quotes. For example, if they’ve started typing “Jazz on the Autobahn”, I can search for “jazz on the” (including the quotes, properly URL encoded), and the correct result will appear somewhere in the results.
However, I can’t figure out how to get this to work for partial words. For example, if they’ve typed “jazz on the autobah” (not yet typed the final “n”), I don’t get any results, presumably because it’s searching for exact matches for the full word “autobah”.
I’ve tried using wildcards for this kind of search without success, either using the API or directly on the MusicBrainz search page. For example, “jazz on the autobah*” gives me 0 results.
Is there a way to do this kind of search (i.e., find recordings that start with the given text, including spaces)?