# Observations API?

**URL:** <https://forum.inaturalist.org/t/observations-api/72102>\
**Category:** General\
**Created:** [October 29, 2025, 9:19am UTC](https://forum.inaturalist.org/t/observations-api/72102 "2025-10-29T09:19:53Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![stockslager](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/stockslager/32/33106_2.png) [@stockslager](https://forum.inaturalist.org/u/stockslager)\
**Post date:** [October 29, 2025, 9:19am UTC](https://forum.inaturalist.org/t/observations-api/72102/1 "2025-10-29T09:19:53Z")

</div>

Is there a way to limit the observations returned to only those…

1. that have an observation field called, say… “other organism” and

2. that observation field is of type taxon and

3. that observation field used names lookup and

4. that observation field has an iconic\_taxa of, say… plantae?

I can filter out the observations I’m not interested in on the client, but it messes up the paging.

---

<div class="post-metadata">

**Author:** ![rainhead](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/rainhead/32/22607_2.png) [@rainhead](https://forum.inaturalist.org/u/rainhead)\
**Post date:** [October 29, 2025, 3:11pm UTC](https://forum.inaturalist.org/t/observations-api/72102/2 "2025-10-29T15:11:34Z")

</div>

I think you can find what you’re looking for in this thread: [https://forum.inaturalist.org/t/how-to-use-inaturalists-search-urls-wiki-part-1-of-2/63](https://forum.inaturalist.org/t/how-to-use-inaturalists-search-urls-wiki-part-1-of-2/63) . The parameters for the observations endpoint are almost exactly those of the regular search/explore page.

---

<div class="post-metadata">

**Author:** ![jwidness](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jwidness](https://forum.inaturalist.org/u/jwidness)\
**Post date:** [October 29, 2025, 3:36pm UTC](https://forum.inaturalist.org/t/observations-api/72102/3 "2025-10-29T15:36:02Z")

</div>

If I understood your question correctly, then the answer is no, but see this feature request: [https://forum.inaturalist.org/t/searching-observations-with-this-field-and-value-for-fields-that-use-a-taxon-as-the-datatype-should-show-children-taxa/51902](https://forum.inaturalist.org/t/searching-observations-with-this-field-and-value-for-fields-that-use-a-taxon-as-the-datatype-should-show-children-taxa/51902)

---

<div class="post-metadata">

**Author:** ![stockslager](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/stockslager/32/33106_2.png) [@stockslager](https://forum.inaturalist.org/u/stockslager)\
**Post date:** [October 29, 2025, 3:41pm UTC](https://forum.inaturalist.org/t/observations-api/72102/4 "2025-10-29T15:41:18Z")

</div>

yah, i’m gonna mark it solved and vote for that. that’s kinda the same thing, but more complex actually. i was just wanting to filter results by iconic that’s stored with the taxon for the OBS fields of type taxon… we aren’t supposed to define OBS fields that are specific to a taxon (e.g. using “plant” in the name of the field)… but then there is also no way to use the taxon information stored with the OBS field to filter results on the server side.

---

<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:** [October 29, 2025, 7:15pm UTC](https://forum.inaturalist.org/t/observations-api/72102/5 "2025-10-29T19:15:08Z")

</div>

> [@stockslager](#):
>
> that have an observation field called, say… “other organism”

possible via parameter `&field:oother%20organism`

> [@stockslager](#):
>
> that observation field is of type taxon

sort of possible via `&ofv_datatype=taxon`. otherwise, currently only possible on the client side.

> [@stockslager](#):
>
> that observation field used names lookup

likely not possible. i don’t think how the user inputs information to that field is even tracked anywhere. at best, i think you just have to assume that if the field was always set up as a taxon type field, then the only way a user could have entered the information without selecting from a lookup would be via a custom interface or via code.

> [@stockslager](#):
>
> that observation field has an iconic\_taxa of, say… plantae?

currently only possible on the client side.

---

<div class="post-metadata">

**Author:** ![stockslager](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/stockslager/32/33106_2.png) [@stockslager](https://forum.inaturalist.org/u/stockslager)\
**Post date:** [October 29, 2025, 8:11pm UTC](https://forum.inaturalist.org/t/observations-api/72102/6 "2025-10-29T20:11:23Z")

</div>

> [@pisum](#):
>
> likely not possible.

Does it help at all that the names lookup would _seemingly_ always store a numeric as the value (corresponding to the taxon\_id) and an external interface bypassing names lookup would _seemingly_ always store a non-numeric (the name) as the obs field value?

select where is numeric() or some such

---

<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:** [October 29, 2025, 9:19pm UTC](https://forum.inaturalist.org/t/observations-api/72102/7 "2025-10-29T21:19:17Z")

</div>

if you want to delineate things that way, sure, it’s possible to filter for only observations with numeric values in that observation field, but you’d have to do that on the client side, i believe.

---

<div class="post-metadata">

**Author:** ![stockslager](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/stockslager/32/33106_2.png) [@stockslager](https://forum.inaturalist.org/u/stockslager)\
**Post date:** [November 4, 2025, 8:09pm UTC](https://forum.inaturalist.org/t/observations-api/72102/8 "2025-11-04T20:09:59Z")

</div>

Finally had time to revisit this a little. Now loading data into the session so I can filter more than one page, in theory… only loading 200 rows for now (limit on the query set to 1000). Is this closer to how you’d expect it to work?  
[new version](https://stockslager.github.io/iNat/observation_fields/observation_fields.html)

---

<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:** [November 4, 2025, 10:06pm UTC](https://forum.inaturalist.org/t/observations-api/72102/9 "2025-11-04T22:06:22Z")

</div>

> [@stockslager](#):
>
> Is this closer to how you’d expect it to work?

i’m not sure what you’re trying to build.

---

<div class="post-metadata">

**Author:** ![stockslager](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/stockslager/32/33106_2.png) [@stockslager](https://forum.inaturalist.org/u/stockslager)\
**Post date:** [November 5, 2025, 2:06am UTC](https://forum.inaturalist.org/t/observations-api/72102/10 "2025-11-05T02:06:18Z")

</div>

Mainly, it’s something that allows you to -or- observation fields together. There are many observation fields that are synonymous or nearly synonymous. This is something that comes up quite a bit on the forum (ability to -or- them together) and I thought it’d be nice if something existed to do this. When I’ve talked to people here in the past it’s been obvious that this would need to be a client side join… which is essentially what I’ve done. It’s meaningful to me because I’ve met several people in my same region who are restoring their own properties. We all met through iNat and were fairly established on iNat before we met (meaning we all made different choices about which observation field to use when wildlife is visiting a plant)…  
name of associated plant  
nectar / pollen delivering plant  
nectar plant  
plants that the organism was found on  
host plant  
etc.

This would allow all these fields to be or’d together and merged into a consolidated view… as long as the OBS fields are of the same datatype. Basically, how many times did someone in our group see something visiting plant x? It can also display multiple OBS fields of different types and allows sorting and filtering of those based on OBS field value and/or taxon.

---

<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:** [November 6, 2025, 12:42am UTC](https://forum.inaturalist.org/t/observations-api/72102/11 "2025-11-06T00:42:05Z")

</div>

ok. based on your description, i suppose the page is doing what you’re describing. without knowing what it’s supposed to do, it’s just not obvious what it’s supposed to do or how to get it to do what it’s supposed to do.

however, i _think_ i can see how you’ve incorporated #2 from your original post, and i assume you’ve done #1, too. i didn’t check #3, and i’m not sure how to do #4.

---

<div class="post-metadata">

**Author:** ![stockslager](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/stockslager/32/33106_2.png) [@stockslager](https://forum.inaturalist.org/u/stockslager)\
**Post date:** [November 6, 2025, 1:52am UTC](https://forum.inaturalist.org/t/observations-api/72102/12 "2025-11-06T01:52:19Z")

</div>

sorry, yes… it’s still pretty confusing. I added a splash page similar to one of the links jwidness shared on another thread. the splash page requires an ofv\_datatype (or you can specify “all”) and also allows any of the other parameters the obs endpoint takes to build the cache. when I set ofv\_datatype to taxon, and enter the following in the query parameters field… “project\_id=cincinnati-re-wild&term\_id=1&term\_value\_id=6”, I get a list of all observations of larva documented visiting a plant on a project within our umbrella. participants within the umbrella used a total of seven different observation fields to document the plant that the larva was found on…

plant that the organism was found on  
host plant id  
host plant  
name of associated plant  
insect host plant  
nectar / pollen delivering plant  
other organism

I can select any (or all) of these from the drop down after building the cache. I can then merge them together… effectively “or’ing” them together. And then also select a specific taxon to see the number of occurrences of that larva species and which plants it’s been observed on.

If “all” the ofv\_datatypes are chosen on the splash page, it lets you see different inter-related observation fields and allows filtration based on the observation field values. I do think it’s still a little confusing tho. Will probably think about it some more and adjust.

---

<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:** [January 5, 2026, 1:52am UTC](https://forum.inaturalist.org/t/observations-api/72102/13 "2026-01-05T01:52:38Z")

</div>

Closed on January 5, 2026, 1:52am UTC

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