# Identifications search using API v1

**URL:** <https://forum.inaturalist.org/t/identifications-search-using-api-v1/26794>\
**Category:** General\
**Tags:** web, question\
**Created:** [September 29, 2021, 2:46pm UTC](https://forum.inaturalist.org/t/identifications-search-using-api-v1/26794 "2021-09-29T14:46:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrtnlowr](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/mrtnlowr/32/6890_2.png) [@mrtnlowr](https://forum.inaturalist.org/u/mrtnlowr)\
**Post date:** [September 29, 2021, 2:46pm UTC](https://forum.inaturalist.org/t/identifications-search-using-api-v1/26794/1 "2021-09-29T14:46:21Z")

</div>

Hi,

How do I use the API to find the most recent of my observations to have become RG with most recent at the top?  
I’ve tried using [jumear.github.io/stirfry/iNatAPIv1\_identifications.html](http://jumear.github.io/stirfry/iNatAPIv1_identifications.html) with various parameters but never get the result I expect i,e, similar to [www.inaturalist.org/home?tab=yours](http://www.inaturalist.org/home?tab=yours)

Cheers!

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [September 29, 2021, 3:32pm UTC](https://forum.inaturalist.org/t/identifications-search-using-api-v1/26794/2 "2021-09-29T15:32:50Z")

</div>

> [@mrtnlowr](#):
>
> How do I use the API to find the most recent of my observations to have become RG

as far as i know, there’s no date or activity id captured at the moment an observation becomes research grade. so there’s no clean / perfect (+ efficient) way to get observations sorted by when they became research grade.

that said, the closest approximation would be something like this, i think: [https://jumear.github.io/stirfry/iNatAPIv1\_observations.html?user\_id=mrtnlowr&quality\_grade=research&order\_by=updated\_at&options=idextra](https://jumear.github.io/stirfry/iNatAPIv1_observations.html?user_id=mrtnlowr&quality_grade=research&order_by=updated_at&options=idextra).

that gives you your RG observations, ordered by update date (descending). it includes a few extra columns that tell you how many identifications have been made, and whether the IDs are at different taxa.

so assuming that the last update to an observation is likely an ID (and so sorting by update date is a proxy for sorting by last identification date), and knowing that it usually takes at least 2 ids at the same species to reach RG, then if you go down the list of results and find the first observation with values in the ID columns that fit that criteria, that should give you your most recent observation to have become RG.

looking at the results, the first several appear to be observations where folks are agreeing with already-RG observations (adding additional IDs beyond the needed 2 for RG). the first one that has just 2 ids at the observation taxon without any other ids is [https://www.inaturalist.org/observations/68000134:](https://www.inaturalist.org/observations/68000134:)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/3X/e/1/e1d17a3e17af8b363c8c8c8aa19fb9232f5d1348.jpeg)

(that said, if someone makes a second identification to make an observation RG, and then another person comes in immediately after and makes a third agreeing identification, there’s not a great way to see that that second identification was made at roughly the same time as the third. so that’s a limitation with this approach.)  
…

> [@mrtnlowr](#):
>
> similar to [www.inaturalist.org/home?tab=yours](http://www.inaturalist.org/home?tab=yours)

this will give you notifications of activity on your observations, but it won’t necessarily tell you when observations have become RG. that said, if you’re just looking for old notifications, you can use the thing discussed here: [https://forum.inaturalist.org/t/is-there-an-easy-way-to-open-all-notifications/25913/35](https://forum.inaturalist.org/t/is-there-an-easy-way-to-open-all-notifications/25913/35). (in the filter parameters section, set `viewed=[blank]` and `observed by=you`.)

---

<div class="post-metadata">

**Author:** ![mrtnlowr](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/mrtnlowr/32/6890_2.png) [@mrtnlowr](https://forum.inaturalist.org/u/mrtnlowr)\
**Post date:** [September 29, 2021, 4:33pm UTC](https://forum.inaturalist.org/t/identifications-search-using-api-v1/26794/3 "2021-09-29T16:33:59Z")

</div>

Hi Pisum,

Many thanks, that certainly provides what I was looking for and a little more :)  
Seems I was looking in the wrong place.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/2X/7/7831452cf7f0d653ff1ffd34176334b7ef1b6a17.png) [@system](https://forum.inaturalist.org/u/system)\
**Post date:** [November 28, 2021, 4:34pm UTC](https://forum.inaturalist.org/t/identifications-search-using-api-v1/26794/4 "2021-11-28T16:34:03Z")

</div>

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