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.
2 Likes
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
3 Likes