I’m curious if there is a good way to get the family name of any get observation result through API calls. results[I].taxon.rank gives the name of the rank, species, tribe, family, etc. ancestor_ids or ancestry gives the ancestry ids, parent_id gives the immediate parent id, but if I would like to display the family name of the retrieved observations, what else in response I could use to request for family name? Any related info appreciated!
In addition to your observation call you could used the API /taxa endpoint or download and search/query the taxa file in the latest DWCA archive, see Using SQL to query iNat’s DWCA taxonomy export
1 Like
1 Like
Thank you! Info. in the second link is exactly what I was looking for!
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.