CSV

Usage

To receive the response in CSV (Comma-separated values) format, send a GET request to

http://ip-api.com/csv

You can supply an IP address or domain to lookup, or none to use your current IP address.

Response

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

List of returned values

A failed request will return, by default , the following:

fail,ERROR MESSAGE,IP ADDRESS USED FOR QUERY

List of error messages

Selectable return values

Usage limits

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.

Examples

http://ip-api.com/csv/208.80.152.201

success,"United States",US,CA,California,"San Francisco",94105,37.7898,-122.3942,America/Los_Angeles,"Wikimedia Foundation","Wikimedia Foundation","AS14907 Wikimedia US network",208.80.152.201