API — Kiribati (KI)

3 island groups, 36 islands.

Endpoints

GET /api/v1/countries/ki.json
Full dataset — all levels, all records
GET /api/v1/ki/island_group.json
All 3 island groups (Island Group)
GET /api/v1/ki/island.json
All 36 islands (Island)
GET /api/v1/ki/island_group/{slug}.json
Single island group with children

Quick Start

JavaScript

fetch('https://openadmindata.org/api/v1/countries/ki.json')
  .then(r => r.json())
  .then(data => {
    const levels = data.meta.levels.map(l => l.name_en);
    console.log('Kiribati:', levels.join(' → '));
    
    console.log(data.data.island_group.length, 'island groups');
  });

Python

import requests
data = requests.get('https://openadmindata.org/api/v1/countries/ki.json').json()
island_groups = data['data']['island_group']
print(f"Kiribati: {len(island_groups)} island groups")

cURL

curl -s https://openadmindata.org/api/v1/ki/island_group.json | jq '.count'

Schema

Each entity record contains:

FieldTypeDescription
idstringUnique identifier
name_localstringName in local script
name_enstringEnglish / romanized name
slugstringURL-safe slug
latnumberLatitude (WGS84)
lonnumberLongitude (WGS84)
parent_idstring?Parent entity ID (null for top level)
parent_name_localstring?Parent name in local script
parent_name_enstring?Parent English name
postal_codestring?Postal code (deepest level only, where available)