{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"25f9e9a3-f92f-42f3-a222-2fd00aa847b8","catalogType":"api","categories":["search-research","data"],"dataPlatform":"inaturalist","dataPlatformLogoUrl":"https://api.sh/logos/inaturalist.png","dataPlatformTranslations":{},"dataProduct":"biodiversity","description":"Get iNaturalist observation histograms with taxon, place and date filters via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as interval, output, raw, and retrieve structured data including selected time-bucket interval and source time-bucket key for seasonal summaries, and filtered charts, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"استرجع أعداد ملاحظات iNaturalist مجمعة زمنيا مع مرشحات التصنيف والمكان والتاريخ واختيار وقت الرصد أو الرفع، وحفظ سياق الفترات. استخدم سجلات المصدر المنظمة لبناء فهرس للتنوع الحيوي أو استكشاف ملخصات الملاحظات المرشحة، مع حفظ النطاق والإسناد؛ تتوفر أمثلة الطلبات وتسعير التنفيذ الحالي في صفحة التفاصيل.","ja":"分類群・場所・日付で観察件数を時間集計し、観察日時と投稿日時の選択やバケット間隔を保持できます。 構造化された出典記録で生物多様性カタログや絞り込み済み観察集計を作り、範囲と帰属を保持できます。詳細ページにリクエスト例と実装料金があります。","zh":"查询 iNaturalist 按时间分组的观察数，可筛选分类、地点和日期，并选择观察或上传时间，比较时保留分桶周期。 可利用结构化来源记录建立生物多样性目录或查看筛选后的观察汇总，并保留范围及署名；详情页提供请求示例和当前实现价格。"},"effectContentHtml":"","executionMode":"sync","id":"8f0552b0-ab94-4d5f-9f7d-e487c971124e","includedContentHtml":"","inputs":[{"description":"Taxon id(s).","location":"query","name":"taxon_id","nullable":false,"required":false,"type":"string"},{"description":"Taxon name.","location":"query","name":"taxon_name","nullable":false,"required":false,"type":"string"},{"description":"Place id(s).","location":"query","name":"place_id","nullable":false,"required":false,"type":"string"},{"description":"Project id(s).","location":"query","name":"project_id","nullable":false,"required":false,"type":"string"},{"description":"Observer username(s).","location":"query","name":"user","nullable":false,"required":false,"type":"string"},{"description":"research, needs_id or casual.","location":"query","name":"quality_grade","nullable":false,"required":false,"type":"string"},{"description":"Observed on or after (YYYY-MM-DD).","location":"query","name":"observed_from","nullable":false,"required":false,"type":"string"},{"description":"Observed on or before.","location":"query","name":"observed_to","nullable":false,"required":false,"type":"string"},{"description":"Bucket size (default month_of_year).","enum_values":["year","month","week","day","hour","month_of_year","week_of_year"],"location":"query","name":"interval","nullable":false,"required":false,"type":"string"},{"description":"Observed or uploaded date (default observed).","enum_values":["observed","created"],"location":"query","name":"date_field","nullable":false,"required":false,"type":"string"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/inaturalist.png","method":"GET","name":"iNaturalist observation histogram API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eiNaturalist Observation Histogram API\u003c/h2\u003e\n\u003cp\u003eUse taxon, place, project, observer and date filters as needed. interval defaults to month_of_year; date_field defaults to observed or can be created for uploaded dates. Month-of-year buckets differ from consecutive calendar months.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eChoose the lookup or search inputs described below. Optional: taxon_id, taxon_name, place_id, project_id, user, quality_grade, observed_from, observed_to, interval, date_field. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · iNaturalist observation histogram API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eSeasonal summaries\u003c/strong\u003e: Compare counts using the selected bucket interval and date basis.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eFiltered charts\u003c/strong\u003e: Keep the taxon and place scope attached to every series.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003einterval\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSelected time-bucket interval\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edate_field\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eObserved or uploaded date basis\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebuckets[].key\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource time-bucket key\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebuckets[].count\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eObservation count in the source bucket\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/inaturalist/v1/histogram \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode interval=month_of_year \\\n  --data-urlencode output=json \\\n  --data-urlencode raw=0 \\\n  --data-urlencode taxon_id=48662\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/8f0552b0-ab94-4d5f-9f7d-e487c971124e\"\u003ePublished iNaturalist Observation Histogram API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eDoes month_of_year identify one specific calendar month?\u003c/h3\u003e\n\u003cp\u003eIt groups by month of the year. Use interval=month for consecutive month buckets and retain your date filters.\u003c/p\u003e\n\u003ch3\u003eHow do I group by upload date?\u003c/h3\u003e\n\u003cp\u003eSet date_field=created; observed is the default.\u003c/p\u003e\n\u003ch3\u003eWhich value gives a bucket’s observation count?\u003c/h3\u003e\n\u003cp\u003eUse buckets[].count and keep the top-level metadata separate from the bucket values.\u003c/p\u003e\n\u003ch3\u003eCan observation counts be read as numbers of organisms?\u003c/h3\u003e\n\u003cp\u003eNo. They count source observation records in the selected scope, not a population census.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass cached results?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or set output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/inaturalist/inaturalist-observation-api\"\u003eiNaturalist observation API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/inaturalist/inaturalist-observations-search-api\"\u003eiNaturalist observations search API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/inaturalist/inaturalist-top-observers-api\"\u003eiNaturalist top observers API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/inaturalist/inaturalist-observation-histogram-api?offering=8f0552b0-ab94-4d5f-9f7d-e487c971124e","providerId":"apish","publicPath":"/v1/agent-apis/apish/inaturalist/v1/histogram","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"interval":"month_of_year","output":"json","raw":"0","taxon_id":"48662"}},"response_body":{"applied_filters":{"date_field":"observed","interval":"month_of_year","taxon_id":"48662"},"buckets":[{"count":10188,"key":"1"},{"count":9671,"key":"2"},{"count":16486,"key":"3"},{"count":26579,"key":"4"},{"count":24468,"key":"5"},{"count":37062,"key":"6"},{"count":97131,"key":"7"},{"count":132151,"key":"8"},{"count":106022,"key":"9"},{"count":67244,"key":"10"},{"count":28477,"key":"11"},{"count":12478,"key":"12"}],"cached":false,"credits_used":1,"date_field":"observed","fetched_at":"2026-11-19T12:26:30.206Z","interval":"month_of_year","total":12}}],"seoDescription":"Get iNaturalist observation histograms via REST or MCP powered by Apish. Pay per call, no subscription. Built for seasonal summaries workflows.","updatedAt":"2026-12-03T02:48:11.050Z","usageInstructionsHtml":""}}