If you’re looking to create an application to capture location in real time, check out IPWHOIS. The API service quickly lets you integrate visitor’s IP geolocation into your application or website. IPWHOIS runs a neural network in it’s backend by analyzing different sources and updates it’s database almost in real time.
IPWHOIS Features :
- ipwhois.io servers are distributed worldwide for speed, reliability and security.
- A self-learning neural network real-time updates the database. You always have the most accurate geolocation data for each API request.
- IP API Stack supports multi-language response including English, Russian, German, Japanese, Chinese, French, Spanish and Portuguese.
- You can use the service for free up to 10,000 requests per month.
- All data sent to and processed by our servers (excluding free rate) is secured via 256-bit SSL encryption (HTTPS).
If you want to make more than 10,000 requests per month, then there are paid plans available.
API Usage :
Using the API is pretty straightforward. If you have Postman installed, you can trigger the API like below.
You can also use curl.
$ curl http://ipwhois.app/json/8.8.4.4 | python -mjson.tool { "asn": "AS15169", "city": "Mountain View", "completed_requests": 22, "continent": "North America", "continent_code": "NA", "country": "United States", "country_capital": "Washington", "country_code": "US", "country_flag": "https://cdn.ipwhois.io/flags/us.svg", "country_neighbours": "CA,MX,CU", "country_phone": "+1", "currency": "US Dollar", "currency_code": "USD", "currency_plural": "US dollars", "currency_rates": 1, "currency_symbol": "$", "ip": "8.8.4.4", "isp": "Google LLC", "latitude": 37.3860517, "longitude": -122.0838511, "org": "Google LLC", "region": "California", "success": true, "timezone": "America/Los_Angeles", "timezone_dstOffset": 0, "timezone_gmt": "GMT -8:00", "timezone_gmtOffset": -28800, "timezone_name": "Pacific Standard Time", "type": "IPv4" }
Other than json, you also have the option getting the result in xml or csv format.
So, that’s it for this article. Thanks for reading.