# iNaturalist taxa search API

Search iNaturalist taxa by name, parent or ID via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, q, and retrieve structured data including source taxon identifier, source scientific name, source taxonomic rank, and source current-taxonomy status for taxon resolution, and hierarchy browsing.

Documentation: https://openany.si/inaturalist/inaturalist-taxa-search-api/6b451fbd-283f-48fc-9eca-19cf65471db1/
API ID: 6b451fbd-283f-48fc-9eca-19cf65471db1
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/inaturalist/v1/taxa
Page update time: 2026-12-03T02:48:12.140Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:48:11.495Z. This is not a price-change timestamp.
```json
{
  "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": []
  }
}
```

## Usage and limits
## iNaturalist Taxa Search API

Use q, parent\_id or taxon\_id with optional rank, is\_active and common-name language/place preferences. autocomplete is one page. Normal search uses page with limit 1–200, default 30.

## What You Can Build

- **Taxon resolution**: Match scientific or common names to source taxon IDs.
- **Hierarchy browsing**: Retrieve children of the selected parent taxon.

## Returned Data

| Field | Meaning |
| --- | --- |
| `items[].id` | Source taxon identifier |
| `items[].name` | Source scientific name |
| `items[].rank` | Source taxonomic rank |
| `items[].is_active` | Source current-taxonomy status |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "iNaturalist taxa search API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Name to search."
        },
        "autocomplete": {
          "type": "boolean",
          "description": "Type-ahead matching (one page)."
        },
        "parent_id": {
          "type": "string",
          "description": "Children of this taxon."
        },
        "taxon_id": {
          "type": "string",
          "description": "These taxon ids."
        },
        "rank": {
          "type": "string",
          "description": "Rank(s), e.g. species,genus."
        },
        "is_active": {
          "type": "boolean",
          "description": "Only active (current) taxa."
        },
        "language": {
          "type": "string",
          "description": "Common names in this language (e.g. es)."
        },
        "place_id": {
          "type": "string",
          "description": "Common names preferred in this place."
        },
        "sort": {
          "type": "string",
          "description": "Sort field.",
          "enum": [
            "observations_count",
            "name",
            "id",
            "created_at"
          ]
        },
        "limit": {
          "type": "integer",
          "description": "Taxa per page, 1-200 (default 30)."
        },
        "page": {
          "type": "integer",
          "description": "Page number."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "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."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ancestor_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "common_name": {
            "type": "string"
          },
          "conservation_status": {
            "type": "null"
          },
          "endemic": {
            "type": "null"
          },
          "establishment": {
            "type": "null"
          },
          "extinct": {
            "type": "boolean"
          },
          "iconic_taxon": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "introduced": {
            "type": "null"
          },
          "is_active": {
            "type": "boolean"
          },
          "matched_term": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "native": {
            "type": "null"
          },
          "observations_count": {
            "type": "integer"
          },
          "parent_id": {
            "type": "integer"
          },
          "photo": {
            "type": "string"
          },
          "rank": {
            "type": "string"
          },
          "threatened": {
            "type": "null"
          },
          "url": {
            "type": "string"
          },
          "wikipedia_url": {
            "type": "string"
          }
        }
      }
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/inaturalist/v1/taxa?limit=1&output=json&q=monarch&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 1,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:26:34.663Z",
  "items": [
    {
      "ancestor_ids": [
        48460,
        1,
        47120,
        372739,
        47158,
        184884,
        47157,
        47224,
        47922,
        61244,
        134169,
        522900
      ],
      "common_name": "Tiger Butterflies",
      "conservation_status": null,
      "endemic": null,
      "establishment": null,
      "extinct": false,
      "iconic_taxon": "Insecta",
      "id": 522900,
      "introduced": null,
      "is_active": true,
      "matched_term": "Tiger and Monarch Butterflies",
      "name": "Danaina",
      "native": null,
      "observations_count": 784481,
      "parent_id": 134169,
      "photo": "https://inaturalist-open-data.s3.amazonaws.com/photos/222153446/medium.jpg",
      "rank": "subtribe",
      "threatened": null,
      "url": "https://www.inaturalist.org/taxa/522900",
      "wikipedia_url": "http://en.wikipedia.org/wiki/Danaini"
    }
  ],
  "next_page": 2,
  "page": 1,
  "total": 197
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Does autocomplete support normal multi-page traversal?
It is documented as one page. Use ordinary search for paged results.

### Does language change the scientific taxonomy?
It selects common-name language; keep the scientific name, rank and ID separate.

### Does parent_id select an observation’s parent location?
No. It selects children of a taxon, within the taxonomic hierarchy.

### What are the normal result limits?
limit is 1–200, default 30; use the returned continuation for the same query.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/inaturalist/inaturalist-taxa-search-api/6b451fbd-283f-48fc-9eca-19cf65471db1/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
