# Filter by annotations?

**URL:** https://forum.inaturalist.org/t/filter-by-annotations/59591
**Category:** General
**Created:** [December 20, 2024, 9:32pm UTC](https://forum.inaturalist.org/t/filter-by-annotations/59591 "2024-12-20T21:32:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![stefadrian](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/stefadrian/32/21641_2.png) [@stefadrian](https://forum.inaturalist.org/u/stefadrian)
#### Post date: [December 20, 2024, 9:32pm UTC](https://forum.inaturalist.org/t/filter-by-annotations/59591/1 "2024-12-20T21:32:36Z")

</div>

… how?  
The iconic mediterranean bivalve_Pinna nobilis_ got hit by a plague a few years ago, almost leading to its extinction. Now, in a few places it is coming back respcetively it survived, as we see from iNat obs. So I wanted to check the overall situation: went through the recent observations, entered the missing annotations for “alive or dead”, and then I wanted to filter for living specimens after the plague to get an overview on the map.  
Is there really no possibility for filtering observations by annotations?  
Or am I just too stupid to see it?

---

<div class="post-metadata">

### Author: ![thebeachcomber](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/thebeachcomber/32/12748_2.png) [@thebeachcomber](https://forum.inaturalist.org/u/thebeachcomber)
#### Post date: [December 20, 2024, 9:40pm UTC](https://forum.inaturalist.org/t/filter-by-annotations/59591/2 "2024-12-20T21:40:18Z")

</div>

see below

> [@How to use iNaturalist's Search URLs - wiki - part 2 of 2](https://forum.inaturalist.org/t/how-to-use-inaturalists-search-urls-wiki-part-2-of-2/18792/1):
>
> # Search for Annotations
> 
> `&term_id=` - the annotation group
> 
> - **1** =Life Stage, **9** =Sex, **12** =Plant Phenology, **17** =Alive or Dead, **22** =Evidence of Presence
> 
> `&term_value_id=` - the value within the group
> 
> - **Life Stage:**  **2** =Adult, **3** =Teneral, **4** =Pupa, **5** =Nymph, **6** =Larva, **7** =Egg, **8** =Juvenile, **16** =Subimago
> - **Sex:**  **10** =Female, **11** =Male
> - **Plant Phenology:**  **13** =Flowering, **14** =Fruiting, **15** =Flower Budding, **21** =No Evidence of Flowering
> - **Alive or Dead:**  **18** =Alive, **19** =Dead, **20** =Cannot Be Determined
> - **Evidence of Presence:**  **23** =Feather, **24** =Organism, **25** =Scat, **26** =Track, **27** =Bone, **28** =Molt, **29** =Gall, **30** =Egg, **31** = Hair, **32** =Leafmine, **35** =Construction
> 
> Both the group parameter and value parameter should be included in the URL. And **term\_value\_id** should be able to accept a comma-separated list of more than one value.
> 
> Here are all verifiable Lepidoptera observations with a Life Stage of Larva: [https://www.inaturalist.org/observations?place\_id=any&taxon\_id=47157&term\_id=1&term\_value\_id=6](https://www.inaturalist.org/observations?place_id=any&taxon_id=47157&term_id=1&term_value_id=6)
> 
> And here are all verifiable Lepidoptera observations with a Life Stage of Larva or Adult: [https://www.inaturalist.org/observations?page=2&place\_id=any&taxon\_id=47157&term\_id=1&term\_value\_id=2,6](https://www.inaturalist.org/observations?page=2&place_id=any&taxon_id=47157&term_id=1&term_value_id=2,6)
> 
> To **exclude** observations with particular annotations, use the following similar to the above:
> 
> - `&without_term_id=` to exclude observations with any annotation in this group
> - `&term_id=xx&without_term_value_id=` to exclude observations with a specific annotation value
> 
> For example, to see observations NOT marked as alive, dead, or undetermined use [https://www.inaturalist.org/observations/identify?without\_term\_id=17](https://www.inaturalist.org/observations/identify?without_term_id=17)
> 
> For observations that are marked as alive or undetermined but NOT dead, use [https://www.inaturalist.org/observations/identify?term\_id=17&without\_term\_value\_id=19](https://www.inaturalist.org/observations/identify?term_id=17&without_term_value_id=19)

---

<div class="post-metadata">

### Author: ![bouteloua](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/bouteloua/32/1180_2.png) [@bouteloua](https://forum.inaturalist.org/u/bouteloua)
#### Post date: [December 20, 2024, 9:50pm UTC](https://forum.inaturalist.org/t/filter-by-annotations/59591/3 "2024-12-20T21:50:52Z")

</div>

You can also go to the More Filters section of Identify and filter them there, then remove `/identify` from the URL for it to display on the Explore page.

---

<div class="post-metadata">

### Author: ![t\_e\_d](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/t_e_d/32/21669_2.png) [@t\_e\_d](https://forum.inaturalist.org/u/t_e_d)
#### Post date: [December 21, 2024, 5:25am UTC](https://forum.inaturalist.org/t/filter-by-annotations/59591/4 "2024-12-21T05:25:49Z")

</div>

[https://www.inaturalist.org/pages/search+urls#annotations](https://www.inaturalist.org/pages/search+urls#annotations)

## Annotations

`term_id=` - the annotation group, for example "Life Stage" = 1

`term_value_id=` - the value within the group, for example "Adult" = 2 for the Life Stage annotation

A full list of annotations, their definitions, and to which taxa they apply [can be found on this page](https://www.inaturalist.org/pages/annotationvalues).

- Life Stage = 1

  - Adult = 2
  - Teneral = 3
  - Juvenile = 8
  - Subimago = 16
  - Nymph = 5
  - Pupa = 4
  - Larva = 6
  - Egg = 7

- Sex = 9

  - Female = 10
  - Male = 11
  - Cannot Be Determined = 20

- Flowers and Fruits = 12

  - Flower Buds = 15
  - Flowers = 13
  - Fruits or Seeds = 14
  - No Flowers or Fruits = 21

- Leaves = 36

  - Breaking Leaf Buds = 37
  - Green Leaves = 38
  - Colored Leaves = 39
  - No Live Leaves = 40

- Alive or Dead = 17

  - Alive = 18
  - Dead = 19
  - Cannot Be Determined = 20

- Evidence of Presence = 22

  - Bone = 27
  - Construction = 35
  - Feather = 23
  - Egg = 30
  - Gall = 29
  - Hair = 31
  - Leafmine = 32
  - Molt = 28
  - Organism = 24
  - Scat = 25
  - Track = 26

- Established = 33 (as of 2024, this is still a pilot effort in reptiles/amphibians and the answer "established" is not included, only "not established")

  - Not Established = 34

Both the group parameter and value parameter should be included in the URL. And term\_value\_id can accept a comma-separated list of more than one value.

Here are all verifiable Lepidoptera observations with a Life Stage of Larva: [https://www.inaturalist.org/observations?place\_id=any&taxon\_id=47157&term\_id=1&term\_value\_id=6](https://www.inaturalist.org/observations?place_id=any&taxon_id=47157&term_id=1&term_value_id=6)

And here are all verifiable Lepidoptera observations with a LIfe Stage of Larva or Adult: [https://www.inaturalist.org/observations?page=2&place\_id=any&taxon\_id=47157&term\_id=1&term\_value\_id=2,6](https://www.inaturalist.org/observations?page=2&place_id=any&taxon_id=47157&term_id=1&term_value_id=2,6)

To _exclude_ observations with particular annotations, use the following similar to the above:

- `without_term_id=` the annotation group
- `without_term_value_id=` the value within the group

---

<div class="post-metadata">

### Author: ![stefadrian](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/stefadrian/32/21641_2.png) [@stefadrian](https://forum.inaturalist.org/u/stefadrian)
#### Post date: [December 21, 2024, 6:25pm UTC](https://forum.inaturalist.org/t/filter-by-annotations/59591/5 "2024-12-21T18:25:10Z")

</div>

Thanks a lot, y’all!

---

<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: [February 19, 2025, 6:25pm UTC](https://forum.inaturalist.org/t/filter-by-annotations/59591/6 "2025-02-19T18:25:18Z")

</div>

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