Country Info API
Introduction
This API returns detailed information about countries including ISO defined names, languages and currencies. United Nations and World Bank defined region names and income levels are also provided.
Get started
This API is part of the IP Geolocation package and is available in free and paid plans. Please visit the IP Geolocation package page for limits and pricing information.
Endpoints
IPv4 only API Endpoint
Use this endpoint to force API calls routed over the IPv4 network only
Dual-Stack API Endpoint
This endpoint has native IPv6 support and backs the API calls routed over both IPv4 and IPv6 networks
Request
Responses
Example query
https://api-bdc.net/data/country-info?code=au&localityLanguage=en&key=[YOUR API KEY]
Example response
Schema
ISO 3166-1 Alpha-2 code
ISO 3166-1 Alpha-3 code
United Nations M.49 code
Country name localised to the language as defined by 'localityLanguage' request parameter
ISO 3166-1 Country name short
ISO 3166-1 Country name full
Administrative languages as defined by ISO 3166-1 standard
Region name as defined by the United Nations
currency object
wbRegion object
wbIncomeLevel object
Calling code
Country emoji
Wikidata item identifier, if available
A unique identifier as is given by GeoNames.org
The list of Continents the Country belong to