---
title: "UN E-Government Development Index and components, per country or ranked"
method: GET
path: "/api/egov.json"
---

# UN E-Government Development Index and components, per country or ranked

`GET /api/egov.json`

## Request

- Base URL: `https://geo-parity.com`
- URL: `https://geo-parity.com/api/egov.json`
- Auth: one of:
  - none
  - HTTP bearer
  - API key in query parameter `key`

EGDI (0–1) with its Online Service, Telecommunication Infrastructure and Human Capital components for all 41, from the biennial UN survey; the caveat names the year. `country`, `countries`, or a ranking by `index`. For information only; every response says so first.

## Query parameters

- `country` string
- `countries` string
- `index` 'egdi' | 'osi' | 'tii' | 'hci'
- `sort` 'lowest' | 'highest'
- `limit` number

## Response `200`

One country, comparison rows, or ranked rows; attribution names the UN survey

## Other responses

- `400`: A bad index (INVALID_METRIC) or fewer than two countries (TOO_FEW)
- `422`: A country outside the spine (UNKNOWN_COUNTRY)

---

[API](https://skmtc.dev/geo-parity/apis/geo-parity-api.md) · [All operations](https://skmtc.dev/geo-parity/apis/geo-parity-api/llms.txt) · [OpenAPI document](https://skmtc.dev/geo-parity/apis/geo-parity-api/revisions/8ddff47a0806?raw)
