Documentation menu

Endpoint: countries

List of the world's countries

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

Request

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

Response

response.json
1{
2 "id": "302723",
3 "code": "AI",
4 "name": "Anguilla",
5 "continent": "NA",
6 "wikipedia_link": "https://en.wikipedia.org/wiki/Anguilla",
7 "keywords": null
8}