Dilli IP Location (DIL)

DIL (Dilli IP Location) is a REST API that provides the country of origin for a given IP address. It returns the country name and country ISO alpha-2 code.


Request

GET https://api.dillilabs.com/dil/<API_KEY>/ip/IP_ADDRESS

Response

{
  "country_iso_alpha_2": "<ISO alpha-2 country code>",
  "country": "<country full name>"
}

Interested? Submit the form below to get an API key for a FREE trial: