Welcome

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: 29/07-2018. 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"
}

This site or product includes IP2Location LITE data available from http://lite.ip2location.com.



Get free Office pack


What is API?

In computer programming, an application programming interface (API) is a set of subroutine definitions, communication protocols, and tools for building software. In general terms, it is a set of clearly defined methods of communication between various components. A good API makes it easier to develop a computer program by providing all the building blocks, which are then put together by the programmer. An API may be for a web-based system, operating system, database system, computer hardware, or software library. An API specification can take many forms, but often includes specifications for routines, data structures, object classes, variables, or remote calls. POSIX, Windows API and ASPI are examples of different forms of APIs. Documentation for the API is usually provided to facilitate usage and implementation. Source: https://en.wikipedia.org/wiki/Application_programming_interface