REST Countries

FREE
By ajayakv
Updated 7 months ago
8.8/10
Popularity Score
146ms
Latency
100%
Success Rate

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" ]

View API Details
GET/rest/v1/all
GET/rest/v1/all
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
Install SDK
Response Example

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication