# iNaturalist on Onekey > 4 endpoints for iNaturalist (4 stable, 0 beta), 1 to 5 credits each. Category: Science & research. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/inaturalist Reference (Markdown): https://onekey.dev/docs/api/inaturalist.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 4 mapped iNaturalist endpoints return each: - `entity.id` (string): 3 - `entity.name` (string): 3 - `entity.stats.rank` (integer): 2 - `entity.url` (URL): 2 - `media.thumbnailUrl` (URL): 2 - `author.username` (string): 1 - `content.createdAt` (ISO 8601 date): 1 - `content.id` (string): 1 - `content.title` (string): 1 - `content.url` (URL): 1 - `entity.type` (string): 1 - plus 4 platform-specific fields under `ext.` ## Endpoints ### inaturalist.observations Recent iNaturalist observations of a taxon name. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/inaturalist/observations?name=Danaus%20plexippus` with header `x-api-key: YOUR_API_KEY` - Parameters: - `name` (string, required): Taxon name - Fields returned: `content.id`, `content.title`, `content.url`, `content.createdAt`, `author.username`, `ext.place`, `ext.quality` - Reference: https://onekey.dev/docs/api/inaturalist/observations.md ### inaturalist.places Autocomplete iNaturalist places. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/inaturalist/places?q=yellowstone` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.type` - Reference: https://onekey.dev/docs/api/inaturalist/places.md ### inaturalist.taxa_search Search iNaturalist taxa (species). - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/inaturalist/taxa_search?q=monarch%20butterfly` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.stats.rank`, `media.thumbnailUrl`, `entity.url`, `ext.commonName`, `ext.observations` - Reference: https://onekey.dev/docs/api/inaturalist/taxa_search.md ### inaturalist.taxon iNaturalist taxon by id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/inaturalist/taxon?id=48662` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Taxon id - Fields returned: `entity.id`, `entity.name`, `entity.stats.rank`, `media.thumbnailUrl`, `entity.url`, `ext.commonName`, `ext.observations` - Reference: https://onekey.dev/docs/api/inaturalist/taxon.md ## Sample request ```bash curl "https://api.onekey.dev/v1/inaturalist/taxon?id=48662" \ -H "x-api-key: YOUR_API_KEY" ```