GETAPI requests. Ip to country official name.
This Public API does not use authentication.
All requests use the application/json content type and go over https.
Documentation:
Public API
Get country name by ip
This endpoint retrieves country info from ip address.
HTTP Request
GET https://1stbitco.in/api/?ip=126.0.0.1
Return:
{
"ip":"126.0.0.1",
"country_code":"JP",
"country_name":"Japan",
"official_ar":"اليابان",
"official_cn":"日本",
"official_es":"Japón",
"official_fr":"Japon",
"official_ru":"Japan",
"currency":"Yen",
"CLDR":"Japan",
"Capital":"Tokyo",
"Continent":"AS",
"Developed / Developing Countries":"Developed",
"Dial":"81",
"TLD":".jp",
"is_independent":"Yes",
"Sources of informations listed 0":"Updated: April 2020. This site or product includes IP2Location LITE data available from: https://lite.ip2location.com",
"Sources of informations listed 1":"Updated: 29/07-2018. https://github.com/datasets/country-codes"
}