# iNaturalist places search API

Search iNaturalist places by name or coordinates 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 place identifier, source place display label, source place hierarchy references, and source representative location string for place resolution, and geographic links.

Documentation: https://openany.si/inaturalist/inaturalist-places-search-api/30ac2cbc-2528-4849-9fa1-fab396f160f8/
API ID: 30ac2cbc-2528-4849-9fa1-fab396f160f8
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/inaturalist/v1/places
Page update time: 2026-12-03T02:48:12.094Z
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.336Z. 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 Search API

Use q for a place name or lat/lng for places around a point. limit is 1–100, default 20. No page or radius input is exposed by this place-search operation.

## What You Can Build

- **Place resolution**: Choose the intended place before filtering observations.
- **Geographic links**: Keep source place IDs and hierarchy metadata together.

## Returned Data

| Field | Meaning |
| --- | --- |
| `items[].id` | Source place identifier |
| `items[].display_name` | Source place display label |
| `items[].ancestor_place_ids` | Source place hierarchy references |
| `items[].location` | Source representative location string |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "iNaturalist places 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": "Place name."
        },
        "lat": {
          "type": "number",
          "description": "Latitude (places around a point)."
        },
        "lng": {
          "type": "number",
          "description": "Longitude."
        },
        "limit": {
          "type": "integer",
          "description": "Places, 1-100 (default 20)."
        },
        "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": {
          "admin_level": {
            "type": "integer"
          },
          "ancestor_place_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "bbox_area": {
            "type": "number"
          },
          "display_name": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "location": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "place_type": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "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/places?limit=1&output=json&q=yosemite&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.936Z",
  "items": [
    {
      "admin_level": 100,
      "ancestor_place_ids": [
        97394,
        1,
        14,
        68542
      ],
      "bbox_area": 0.47630637002023085,
      "display_name": "Yosemite National Park, US, CA",
      "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"
    }
  ],
  "total": 8
}
```

## 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
### Can I search around coordinates?
Use lat and lng together to find source places around a point.

### Does this operation expose radius or page?
No. The exposed controls are q, lat, lng and limit.

### Does a returned point define a place’s full extent?
No. Use Place Details with geometry=true when a source boundary is needed.

### How many places can I request?
limit is 1–100, default 20; keep the returned count separate from total metadata.

### 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-places-search-api/30ac2cbc-2528-4849-9fa1-fab396f160f8/

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