How to get complete list of place_id values, one per US state or world country?

Hi all…

I’m writing my own app to fetch iNaturalist data, and I want to be able to map my own textual placenames to iNaturalist’s internal place_id values.

The only post I found about something similar was this:

https://forum.inaturalist.org/t/is-there-a-place-where-i-can-go-to-get-a-list-of-inaturalist-place-ids/4016/7

However, that didn’t answer my question. Since iNaturalist can take a place_id value for a query, it MUST have a master list it looks them up in (in its database).

If I want to get a list of all iNaturalist place_id values for all US states, and all world countries (but no finer grained than that), there must be some way to get these, right?

I mean, iNaturalist has to look up place_id’s by name, so it should be possible to get that mapping of place-name to place_id, shouldn’t it?

  • Tim

http://www.inaturalist.org/places/inaturalist-places.csv.zip

Thanks for that, @jwidness - is this a link that’s advertised on the site, or just something you know if you work at iNat? :-)

1 Like

it was posted by staff here on the forum, but I’ll admit, I sometimes have trouble finding the link myself :sweat_smile:

2 Likes

Well thanks again!

  • Tim
1 Like

FWIW, I just added a link to https://www.inaturalist.org/pages/developers

2 Likes