# Searching for songs using the API returns bizzare results

**URL:** <https://community.metabrainz.org/t/searching-for-songs-using-the-api-returns-bizzare-results/815596>\
**Category:** Development\
**Tags:** api, python, musicbrainz\
**Created:** [September 6, 2026, 8:19pm UTC](https://community.metabrainz.org/t/searching-for-songs-using-the-api-returns-bizzare-results/815596 "2026-09-06T20:19:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JasperFomx](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/j/838e76/32.png) [@JasperFomx](https://community.metabrainz.org/u/JasperFomx)\
**Post date:** [September 6, 2026, 8:19pm UTC](https://community.metabrainz.org/t/searching-for-songs-using-the-api-returns-bizzare-results/815596/1 "2026-09-06T20:19:19Z")

</div>

Searching the API for “Incubus - Wish You Were Here” does not bring up the original version (Morning View) or the rerecorded version (Morning View XXIII)

parameters:  
inc = “recordings+releases”,  
query = “Incubus - Wish You Were Here”,  
limit = 100

I cleaned up the search results using code but there has been NO sorting applied. Of these results “(Morning View XXIII) Incubus - Wish You Were Here” should be at the top, I have no clue why this is happening. And how can I fix it?

 ![image](https://community.metabrainz.org/uploads/default/original/3X/f/f/ffab1ad25c84e3087e3de6c1701afcbc6c0f0a91.png)

I have also searched up Hybrid Theory songs and gotten versions from compilation albums, the original Hybrid Theory version was buried for some reason
