Get photo by INaturalist users with API

Hello,
I want to automatically retrieve photos that I have posted on Inaturalist. Is it possible with the Inaturalist API to make requests to have my photos by species and only my photos. So run sort by observer and species via the API and get links to my photos.

Ty to you :)

1 Like

You can use API via this Notebook which is setup to give you the photo URLs, and sort by observer and taxon.

See also @jcook’s original explanation here on how to use with PyNaturalist as I have.

3 Likes

the short answer is yes, it is possible.

how to do it depends on what skills and tools you have. if you’re going to hit the API directly, you would make a GET request to https://api.inaturalist.org/v1/observations, whose response includes URLs for “square” versions of photos. how you actually download photos, again, depends on your tools and skills. to get different versions of the photos, you would replace “square” with the other version you’re interested in:

see https://api.inaturalist.org/v1/docs/#!/Observations/get_observations for available API parameters.

2 Likes

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