Documentation menu

Endpoint: regions

List of all countries' top-level administrative subdivisions (provinces, governorates, states, etc.)

GEThttps://airports.mimo.dev/api/regions/302830

Request

GETregions
1fetch("https://airports.mimo.dev/api/regions/302830")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "id": "302830",
3 "code": "AF-BDS",
4 "local_code": "BDS",
5 "name": "Badakhshan Province",
6 "continent": "AS",
7 "iso_country": "AF",
8 "wikipedia_link": "https://en.wikipedia.org/wiki/Badakhshan_Province",
9 "keywords": "Airports in Badakhshan Province"
10}