Easy way to get taxon IDs for a list of 300ish taxa?

I have a list of 200+ taxa that I would like to get iNaturalist taxon IDs for. If I create an iNaturalist list out of them and export to csv, taxon IDs are not included. Taxon IDs are included in observation exports but many of these do not have observations yet. Is there any easy way to do this?

whatever the URL of your list page is, add .json to the end of it like so: https://www.inaturalist.org/lists/{project_id}.json this will return data for 200 taxa at a time. to go beyond the first page, use the page parameter – ex. https://www.inaturalist.org/lists/{project_id}.json?page=2.

you will probably need some sort of scripting language or other tool to parse the output to get just the IDs.


You can use a web-based json to csv converter, e.g. https://www.convertcsv.com/json-to-csv.htm.

Assuming this is for your list with 288 items, I ran it through the converter and posted the results to a google sheet: https://docs.google.com/spreadsheets/d/1Ag53eaPaCrWsA3GcWuQJrvwIdFx0RCCODBURIOTkHZM/edit#gid=0


@pisum Thanks to both of you; that is exactly what I was looking for!


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.