API Taxon Search returns excess taxa for code names

Platform: NA

App version number, if a mobile app issue: NA

Browser, if a website issue:NA

URLs (aka web addresses) of any relevant observations or pages:

Screenshots of what you are seeing: NA

Description of problem: API search for names beginning “Melanoleuca sp. ‘IN01’” returns names beginning with Melanoleuca and ending with IN01

Step 1: https://api.inaturalist.org/v1/taxa?q=Melanoleuca%20sp.%20‘IN01’&only_id=true&order=desc&order_by=observations_count

Result: {“total_results”:2,“page”:1,“per_page”:30,“results”:[{“id”:1699907},{“id”:1699911}]}

Hi Joe,
The current iNaturalist API only allows for fuzzy searches for taxa. I actually submitted some code to address this problem a few months ago. The idea is to add a new API parameter called ‘exact’ that tells the API you only want exact matches. However, no one has responded to the code submission yet. @pleary - Any chance this pull request could be looked at: https://github.com/inaturalist/iNaturalistAPI/pull/626.