How to get "More Info" links for a given species from API

I am playing with the APIs to get relevant info for a given taxon, like this. In the actual page, there is a sidebar on the right side of the page which lists relevant links to study about the species further. However, in the API response for that taxon, there is no mention of those links. Any idea how to get all those links in an API call?

it’s undocumented and looks like it’s from way back in the day. so it’s unclear if it’s meant for the public: https://www.inaturalist.org/taxa/50238/links.json.

generally, you can open the network activity monitor in your browser’s developer tools while you’re running any page, and you should be able to see what requests the page is making.

4 Likes

That works like a chatm, thanks. :grin:

1 Like

You may also find Wikidata helpful - you can query for Items where the property iNaturalist taxon ID (P3151) equals the iNat taxon ID you’re dealing with. The Item should then have a list of identifiers for that taxon in different databases. GBIF seems to make use of the taxon identifiers listed in Wikidata. There’s a little bit of their code for that here. One advantage of fetching identifiers from Wikidata is that it gives you the actual identifier in the database, and doesn’t simply put you on a search page.

1 Like