How to use iNaturalist's Search URLs - wiki

Excellent.

1 Like

It worked well. I’ve just added a simple observation field search.

2 Likes

This is excellent, I just used to it to focus on my local area and things of interest to me.

I was also interested in using the IDENTIFY pop up window, and using your method I adjusted the URL and IT WORKED… Really great, thanks…

My example URL (notice the adjustment for IDENTIFY)
https://www.inaturalist.org/observations/identify?place_id=130874,30464,30479,30481&quality_grade=needs_id&iconic_taxa=Plantae,Fungi,Insecta

2 Likes

Is there a way to exclude certain taxa? Say I want to see all the plant species that are NOT mosses or algae?

2 Likes

without_taxon_id parameter

multiple entries separated by comma, you just need to know the id

This does all plants in Ontario excluding mosses and cacti (Ontario has way too many cacti it gets boring looking at them all)
For instance https://www.inaturalist.org/observations?place_id=6883&subview=table&taxon_id=47126&view=species&without_taxon_id=311249,47903

5 Likes

Ontario has lots of cacti??

4 Likes

Nearly every windowsill you look at has one.

But amazingly we do have some native growing ones.

9 Likes

That’s exactly what I needed, thank you!

1 Like

This is very useful thanks…previously I have always “glazed over” when any sort of code or URL has been mentioned but atf least the first one or two examples sound feasible even to me…assuming the Url changes in the browser header with each filter.

Am i correct in my impression that it is not possible to bulk edit the results of such searches even using the filter to producd only kne’s own obs?

3 Likes

@kaipatiki_naturewatc Yes, the URL updates in the search box with each filter change. Anything you can filter through the user interface, you can copy/save/bookmark a URL that re-creates that filter each time you go there. After playing with the filter and seeing the resulting URL changes for a while, you should get a pretty good idea of how it works.

And then there are some other filter parameters NOT available through the regular user interface, such as the without_taxon_id= parameter mentioned earlier. This wiki will be especially helpful for documenting those, and I hope will eventually include a complete list of them. (I’ve been collecting a list as I learn about them, but it’s probably missing some things…)

If by “bulk edit” you mean edit the contents of your own observations, I think you would be limited to the capabilities of the Batch Edit functionality at https://www.inaturalist.org/observations/{{username}}, after applying an appropriate Search filter. And that search filter could include manually adding other URL parameters not available through the standard Search filter.

1 Like

Is there a parameter such as without_place_ID. I’m aiming to exclude certain locations from my search. I tried <> and - but this did not work.

To create the opposite search of my URL
https://www.inaturalist.org/observations/identify?place_id=130874,30464,30479,30481&quality_grade=needs_id&iconic_taxa=Plantae,Fungi,Insecta

1 Like

try not_in_place

1 Like

That appears to have worked.

https://www.inaturalist.org/observations/identify?page=5&iconic_taxa=Plantae%2CFungi%2CInsecta&not_in_place=130874%2C30464%2C30479%2C30481

So perhaps the wiki needs a few criteria ideas for IS and IS NOT. With that in place, I think this is a very powerful method to manage views in Inat. It is perhaps not for everyone, but for some, this would certainly give much greater flexibility.

3 Likes

Thank you jdmore. Very useful.
Re bulk editing search results, I am not sure if I understand, but in Edit my observations there are not the same filter options I think?

1 Like

Is there a way to search for an obs that has comments, or even better, comments by a particular member?

1 Like

I think I did not absorb this fully. I eill try using that url and see where I find myself. Thanks again.

1 Like

So in the case of my observations, I would go to https://www.inaturalist.org/observations/jdmore, then use Search to filter the set of observations I want to edit (including any manual additions to the filter URL, if necessary). Then when I have the desired set, I would click “Batch Edit.” Empty check boxes will appear next to each observation, along with several batch options along the top, including “Select All” which will check all the check boxes. Then click “Edit Selected.” There will be further batch options at the top, but for some kinds of edits you may have to visit each observation individually. Hope that helps…

I’m not aware of a way to filter observations by comment presence or comment author, but maybe someone above my “pay grade” is…?

3 Likes

You can search using the URL for comments on all observation like this (for “robin”): https://www.inaturalist.org/comments?commit=Search&q=robin

I feel like that’s not what you’re asking for though.

5 Likes

Good to know though, thanks

1 Like

Thank you jdmore that’s very clear. Will experiment as soon as time permits

1 Like