get_sub_regions
Retrieve hierarchical geographic subdivisions from the eBird database to navigate bird observation regions. Specify region type and parent code to get countries, states, or counties.
Instructions
Get sub-regions within a parent region. Examples: get_sub_regions('country', 'world') for all countries, get_sub_regions('subnational1', 'US') for US states.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_type | Yes | Type of sub-regions | |
| parent_region_code | Yes | Parent region code, or 'world' for countries | |
| fmt | No | Response format | json |