theme
REST Countries
FREE
By ajayakv
Updated a year ago

REST Countries API Documentation

Get all the countries information as :
"name": "Afghanistan",
"capital": "Kabul",
"altSpellings": [
"AF",
"Afġānistān"
],
"relevance": "0",
"region": "Asia",
"subregion": "Southern Asia",
"translations": {
"de": "Afghanistan",
"es": "Afganistán",
"fr": "Afghanistan",
"ja": "アフガニスタン",
"it": "Afghanistan"
},
"population": 26023100,
"latlng": [
33,
65
],
"demonym": "Afghan",
"area": 652230,
"gini": 27.8,
"timezones": [
"UTC+04:30"
],
"borders": [
"IRN",
"PAK",
"TKM",
"UZB",
"TJK",
"CHN"
],
"nativeName": "افغانستان",
"callingCodes": [
"93"
],
"topLevelDomain": [
".af"
],
"alpha2Code": "AF",
"alpha3Code": "AFG",
"currencies": [
"AFN"
],
"languages": [
"ps",
"uz",
"tk"
]

Learn more about this API
GET/rest/v1/all
GET/rest/v1/all
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication