skills/43-wentorai-research-plugins/skills/domains/ecology/inaturalist-api/SKILL.md
Citizen science platform API for biodiversity observations
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research inaturalist-apiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
iNaturalist is a citizen science platform and social network for naturalists, jointly operated by the California Academy of Sciences and the National Geographic Society. The platform enables users to record and share observations of organisms in nature, which are then identified by the community and validated by computer vision models. With over 150 million observations of more than 400,000 species, iNaturalist is one of the largest biodiversity data sources in the world.
The iNaturalist API provides programmatic access to this massive observational dataset. Researchers can query observations by taxonomy, geography, time period, observer, and data quality grade. The API also provides access to taxonomic information, place boundaries, and project data. Research-grade observations (those with community-verified identifications) are automatically shared with GBIF for integration into the global biodiversity data infrastructure.
Ecologists, conservation biologists, evolutionary biologists, and citizen science coordinators use the iNaturalist API to analyze species distributions, track phenological patterns, study urban biodiversity, monitor invasive species, and validate species distribution models. The platform's broad geographic and taxonomic coverage makes it particularly valuable for large-scale ecological analyses.
No authentication is required for read-only access to public data. The iNaturalist API v1 allows anonymous queries for observations, taxa, and places. Authentication via OAuth 2.0 is only needed for write operations such as creating observations, adding identifications, or managing projects.
For authenticated requests, register an application at https://www.inaturalist.org/oauth/applications and use the OAuth 2.0 flow to obtain an access token.
Query the iNaturalist observation database with filters for taxonomy, geography, time, and data quality.
GET https://api.inaturalist.org/v1/observations| Parameter | Type | Required | Description |
|----------------|--------|----------|---------------------------------------------------------|
| taxon_id | int | No | iNaturalist taxon ID to filter by |
| place_id | int | No | Place ID to filter by geographic area |
| lat | float | No | Latitude for geographic search |
| lng | float | No | Longitude for geographic search |
| radius | int | No | Search radius in km (used with lat/lng) |
| d1 | string | No | Start date (YYYY-MM-DD) |
| d2 | string | No | End date (YYYY-MM-DD) |
| quality_grade | string | No | research, needs_id, or casual |
| per_page | int | No | Results per page (default 30, max 200) |
| page | int | No | Page number |
| order_by | string | No | Sort field: created_at, observed_on, votes |
curl "https://api.inaturalist.org/v1/observations?taxon_id=3&quality_grade=research&place_id=1&per_page=10"
total_results, results array with id, species_guess, taxon (name, rank, ancestry), location (lat,lng), observed_on, quality_grade, photos, user, identifications_count, and geojson.Look up taxonomic information, search for species, and retrieve taxonomic hierarchies.
GET https://api.inaturalist.org/v1/taxa| Parameter | Type | Required | Description |
|-----------|--------|----------|----------------------------------------------|
| q | string | No | Name search query |
| taxon_id | int | No | Specific taxon ID |
| rank | string | No | Filter by rank: species, genus, etc. |
| is_active | bool | No | Filter for active/inactive taxa |
| per_page | int | No | Results per page (default 30, max 200) |
curl "https://api.inaturalist.org/v1/taxa?q=monarch+butterfly&rank=species"
results array with id, name, preferred_common_name, rank, observations_count, ancestors, default_photo, wikipedia_url, and conservation_status.Retrieve geographic place definitions used for filtering observations.
GET https://api.inaturalist.org/v1/places| Parameter | Type | Required | Description | |-----------|--------|----------|---------------------------------------| | q | string | No | Place name search query | | per_page | int | No | Results per page |
curl "https://api.inaturalist.org/v1/places/autocomplete?q=Yellowstone"
results with id, name, display_name, bounding_box_geojson, location, and admin_level.The iNaturalist API enforces a rate limit of 100 requests per minute. Exceeding this limit returns HTTP 429 responses. For large-scale data exports, iNaturalist recommends using their export tools at https://www.inaturalist.org/observations/export or downloading the GBIF-shared dataset. The API also supports If-Modified-Since headers for efficient polling of updated records.
Retrieve research-grade observations of a species for distribution modeling:
import requests
params = {
"taxon_id": 48484, # Danaus plexippus (Monarch Butterfly)
"quality_grade": "research",
"per_page": 200,
"order_by": "observed_on"
}
resp = requests.get("https://api.inaturalist.org/v1/observations", params=params)
data = resp.json()
for obs in data["results"]:
if obs.get("location"):
lat, lng = obs["location"].split(",")
print(f"{obs['observed_on']}: ({lat}, {lng}) - {obs['taxon']['name']}")
Monitor seasonal patterns by analyzing observation dates across years:
import requests
from collections import Counter
params = {
"taxon_id": 48484,
"quality_grade": "research",
"per_page": 200,
"place_id": 1 # United States
}
resp = requests.get("https://api.inaturalist.org/v1/observations", params=params)
months = Counter()
for obs in resp.json()["results"]:
if obs.get("observed_on"):
month = obs["observed_on"][5:7]
months[month] += 1
for month in sorted(months):
print(f"Month {month}: {months[month]} observations")
Track observations of invasive species in a specific region:
# Search for Spotted Lanternfly observations in Pennsylvania
curl "https://api.inaturalist.org/v1/observations?taxon_id=325295&place_id=46&quality_grade=research&per_page=50"
development
Conduct rigorous thematic analysis (TA) of qualitative data following Braun and Clarke's (2006) six-phase framework. Use whenever the user mentions 'thematic analysis', 'TA', 'Braun and Clarke', 'qualitative coding', 'identifying themes', or asks for help analysing interviews, focus groups, open-ended survey responses, or transcripts to identify patterns. Also trigger for questions about inductive vs theoretical coding, semantic vs latent themes, essentialist vs constructionist epistemology, building a thematic map, or writing up a qualitative findings section. Covers all six phases, the four upfront analytic decisions, the 15-point quality checklist, and the five common pitfalls. Produces a Word document write-up and an annotated thematic map. Does NOT cover IPA, grounded theory, discourse analysis, conversation analysis, or narrative analysis — use a different method for those.
development
Guide users through writing a systematic literature review (SLR) following the PRISMA 2020 framework. Use this skill whenever the user mentions 'systematic review', 'systematic literature review', 'SLR', 'PRISMA', 'PRISMA 2020', 'PRISMA flow diagram', 'PRISMA checklist', or asks for help writing, structuring, or auditing a literature review that follows reporting guidelines. Also trigger when the user asks about inclusion/exclusion criteria for a review, search strategies for databases like Scopus/WoS/PubMed, study selection processes, risk of bias assessment, or narrative synthesis for a review paper. This skill covers the full PRISMA 2020 checklist (27 items), produces a Word document manuscript in strict journal article format, generates an annotated PRISMA flow diagram, and enforces APA 7th Edition referencing throughout. It does NOT cover meta-analysis or statistical pooling. By Chuah Kee Man.
testing
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance. Use when checking model robustness, verifying lack of pre-intervention effects, or estimating study power.
data-ai
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.