DIL (Dilli IP Location) is a REST API that provides the ISO alpha-2 code of the country where a given IP address is registered.
Request
GET https://api.dillilabs.com/dil/<API_KEY>/ip/IP_ADDRESS
Response
{ "country": "<ISO alpha-2 country code>" }
Interested? Submit the form below to get an API key for a FREE trial: