# iNaturalist place API

Get iNaturalist places by ID, slug or link with optional GeoJSON boundaries via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, raw, and retrieve structured data including source place identifier, source place display label, source representative location string, and source geographic ancestor identifiers for place selectors, and boundary views.

Documentation: https://openany.si/inaturalist/inaturalist-place-api/4a6b0505-6720-4c3b-8cea-e2f191f99c00/
API ID: 4a6b0505-6720-4c3b-8cea-e2f191f99c00
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/inaturalist/v1/place
Page update time: 2026-12-03T02:48:12.083Z
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.303Z. 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 Place Details API

Pass id as a place ID, slug or inaturalist.org/places link. geometry=true adds the boundary as GeoJSON; ordinary location text does not describe the full boundary. Ancestor place IDs provide separate geographic hierarchy references.

## What You Can Build

- **Place selectors**: Connect display names to place\_id filters.
- **Boundary views**: Use explicitly requested source geometry for geographic outlines.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | Source place identifier |
| `display_name` | Source place display label |
| `location` | Source representative location string |
| `ancestor_place_ids` | Source geographic ancestor identifiers |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "iNaturalist place 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": {
        "id": {
          "type": "string",
          "description": "Place id, slug or an inaturalist.org/places link."
        },
        "geometry": {
          "type": "boolean",
          "description": "Add the boundary as GeoJSON."
        },
        "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."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "admin_level": {
      "type": "integer"
    },
    "ancestor_place_ids": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "bbox_area": {
      "type": "number"
    },
    "cached": {
      "type": "boolean"
    },
    "credits_used": {
      "type": "integer"
    },
    "display_name": {
      "type": "string"
    },
    "fetched_at": {
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "location": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "place_type": {
      "type": "integer"
    },
    "slug": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/inaturalist/v1/place?id=68542&output=json&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
{
  "admin_level": 100,
  "ancestor_place_ids": [
    97394,
    1,
    14,
    68542
  ],
  "bbox_area": 0.47630637002023085,
  "cached": false,
  "credits_used": 1,
  "display_name": "Yosemite National Park, US, CA",
  "fetched_at": "2026-11-19T12:26:34.040Z",
  "id": 68542,
  "location": "37.8483345604,-119.5569911426",
  "name": "Yosemite National Park",
  "place_type": 100,
  "slug": "yosemite-national-park-ca-us",
  "url": "https://www.inaturalist.org/places/yosemite-national-park-ca-us"
}
```

## 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
### How do I request the boundary?
Set geometry=true to add the source GeoJSON boundary.

### Can location be treated as the polygon?
No. Preserve the representative location separately from optional boundary geometry.

### Is a place ID a taxon or project ID?
No. Keep the source place namespace and use its ID in place_id filters.

### Can bbox_area be relabelled as square kilometres?
Preserve the source value; the public input description does not establish that conversion or unit.

### 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-place-api/4a6b0505-6720-4c3b-8cea-e2f191f99c00/

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