Documentation menu

Endpoint: countries

List of the world's countries

GEThttps://airports.mimo.dev/api/countries/302674

Request

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

Response

response.json
1{
2 "id": "302674",
3 "code": "AT",
4 "name": "Austria",
5 "continent": "EU",
6 "wikipedia_link": "https://en.wikipedia.org/wiki/Austria",
7 "keywords": "Flughäfen in Österreich"
8}