To receive the response in CSV (Comma-separated values) format, send a GET request to
You can supply an IP address or domain to lookup, or none to use your current IP address.
A successful request will return, by default , the following:
success,COUNTRY,COUNTRY CODE,REGION CODE,REGION NAME,CITY,ZIP CODE,LATITUDE,LONGITUDE,TIME ZONE,ISP NAME,ORGANIZATION NAME,AS NUMBER / NAME,IP ADDRESS USED FOR QUERY
A failed request will return, by default , the following:
fail,ERROR MESSAGE,IP ADDRESS USED FOR QUERY
Our system will automatically ban any IP addresses doing over 150 requests per minute. To unban your IP click here.
You are free to use ip-api.com for non-commercial use. We do not allow commercial use without prior approval.
For commercial, unlimited use see our pro service.
success,"United States",US,CA,California,"San Francisco",94105,37.7898,-122.3942,America/Los_Angeles,"Wikimedia Foundation","Wikimedia Foundation","AS14907 Wikimedia US network",184.108.40.206