Base information
IP address | 18.234.247.75 | |
Version | 4 | |
Class | A |
|
Mapped from IPv4 to IPv6 | ::ffff:18.234.247.75 |
IP address | 18.234.247.75 | |
Version | 4 | |
Class | A |
|
Mapped from IPv4 to IPv6 | ::ffff:18.234.247.75 |
Country | United States |
|
---|---|---|
Continent | North America |
|
GPS Coordinates | Latitude: 37.751 Longitude: -97.822 | |
Accuracy radius | 1000km | |
Time Zone | America/Chicago | Local time: 2021-01-24 03:27:45 |
This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com
AS Number | 14618 |
---|---|
AS Organization Name | AMAZON-AES |
This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com
Default, human-readable format | 18.234.247.75 |
Integer format | 317 388 619 |
Minimum Integer IP value | 0 |
Maximum Integer IP value | 4 294 967 295 |
Binary representation (Base 2) | 00010010 11101010 11110111 01001011 |
Octal representation (Base 8) | 022 352 367 113 |
Decimal representation (Base 10) | 018 234 247 075 |
Hexa-decimal representation (Base 16) | 12 EA F7 4B |
If you want to check out the API we provide, try out the following code:
$ curl https://api.kwelo.com/v1/network/ip-address/my?format=json {"data":{"ip_address":"18.234.247.75"}}
Our API provides an easy way to retrieve your public IP address and use it in your programs. See the handy examples below.
Using our API is extremely simple. Make a HTTP GET request and fetch
the results in raw text, JSON or JSONP format.
For JSONP format, add ?callback="something"
in the request URL.
Endpoint | Response Type | Sample Output |
---|---|---|
GET https://api.kwelo.com/v1/network/ip-address/my | plain text | 18.234.247.75 |
GET https://api.kwelo.com/v1/network/ip-address/my?format=json | json | {"data":{"ip_address":"18.234.247.75"}} |
GET https://api.kwelo.com/v1/network/ip-address/my?format=json&callback=test | jsonp | /**/ typeof test === 'function' && test({"data":{"ip_address":"18.234.247.75"}}); |
The requests are throttled at 1 per second which should be plenty for most use cases. If you hit the speed limit the service will return a 429 http status code.
If you need more, you can get unlimited access for a small contribution by reaching out to me at hello@kwelo.com and we'll sort things out depending on your situation and use-case.
Choose your favorite language/platform below and start creating your next amazing piece of software !
If you want to suggest another language or snippet, send me an email with it and I'll add it to the list.
try (java.util.Scanner s = new java.util.Scanner( new java.net.URL("https://api.kwelo.com/v1/network/ip-address/my").openStream(), "UTF-8").useDelimiter("\\A") ) { System.out.println("My current IP address is " + s.next()); } catch (java.io.IOException e) { e.printStackTrace(); }
# The code below uses curlpp, the C++ binding for libcurl. See http://www.curlpp.org/ #include <curlpp/cURLpp.hpp> #include <curlpp/Options.hpp> // Init libcURL curlpp::Cleanup myCleanup; // Send request and get a result. std::ostringstream os; os << curlpp::options::Url(std::string("https://api.kwelo.com/v1/network/ip-address/my")); string publicIpAddress = os.str(); std::cout << "My current IP address is " << publicIpAddress;
# The code below requires the `requests` library to be installed. # To install the library: `pip install requests` or you can lear more about # the Requests library here: http://docs.python-requests.org/en/latest/ from requests import get ip = get('https://api.kwelo.com/v1/network/ip-address/my').text print('My public IP address is: {}'.format(ip))
Dim httpClient As New System.Net.Http.HttpClient Dim ip As String = Await httpClient.GetStringAsync("https://api.kwelo.com/v1/network/ip-address/my") Console.WriteLine($"My public IP address is: {ip}")
var httpClient = new HttpClient(); var ip = await httpClient.GetStringAsync("https://api.kwelo.com/v1/network/ip-address/my"); Console.WriteLine($"My public IP address is: {ip}");
using System; using System.Net; namespace Kwelo.Example { class Program { public static void Main (string[] args) { WebClient webClient = new WebClient(); string publicIp = webClient.DownloadString("https://api.kwelo.com/v1/network/ip-address/my"); Console.WriteLine("My public IP Address is: {0}", publicIp); } } }
<?php $ip = file_get_contents('https://api.kwelo.com/v1/network/ip-address/my'); echo "My public IP address is: " . $ip; ?>
<script type="application/javascript"> function getPublicIP(json) { document.write("My public IP address is: ", json.data.ip_address); } </script> <script type="application/javascript" src="https://api.kwelo.com/v1/network/ip-address/my?format=json&callback=getPublicIP"></script>
< type="application/javascript"> $(function() { $.getJSON("https://api.kwelo.com/v1/network/ip-address/my?format=json&callback=?", function(json) { document.write("My public IP address is: ", json.data.ip_address); } ); }); </script>
var http = require('http'); http.get({'host': 'api.kwelo.com', 'port': 443, 'path': '/v1/network/ip-address/my'}, function(resp) { resp.on('data', function(ip) { console.log("My public IP address is: " + ip); }); });
NSURL *url = [NSURL URLWithString:@"https://api.kwelo.com/v1/network/ip-address/my"]; NSString *ipAddress = [NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding error:nil]; NSLog(@"My public IP address is: %@", ipAddress);
require "net/http" ip = Net::HTTP.get(URI("https://api.kwelo.com/v1/network/ip-address/my")) puts "My public IP Address is: " + ip
use strict; use warnings; use LWP::UserAgent; my $ua = new LWP::UserAgent(); my $ip = $ua->get('https://api.kwelo.com/v1/network/ip-address/my')->content; print 'My public IP address is: '. $ip;
package main import ( "io/ioutil" "net/http" "os" ) func main() { res, _ := http.Get("hhttps://api.kwelo.com/v1/network/ip-address/my") ip, _ := ioutil.ReadAll(res.Body) os.Stdout.Write(ip) }
#!/bin/bash ip=$(curl -s https://api.kwelo.com/v1/network/ip-address/my) echo "My public IP address is: $ip"
$ip = Invoke-RestMethod -Uri 'https://api.kwelo.com/v1/network/ip-address/my?format=json' "My public IP address is: $($ip.data.ip_address)"
val addr = scala.io.Source.fromURL("https://api.kwelo.com/v1/network/ip-address/my").mkString println(s"My public IP address is: $addr")
# The example below uses HTTPoiton as the http library. See https://github.com/myfreeweb/httpotion HTTPotion.start response = HTTPotion.get "https://api.kwelo.com/v1/network/ip-address/my" IO.puts("My public IP address is: #{response.body}")
;The code below uses the drakma http package. See http://www.weitz.de/drakma (let ((stream (drakma:http-request "https://api.kwelo.com/v1/network/ip-address/my" :want-stream t))) (let ((public-ip (read-line stream))) (format t "My public IP address is: ~A" public-ip)))
http.Fetch("https://api.kwelo.com/v1/network/ip-address/my", function(body) print("My public ip address is: " .. body ) end
(require net/url) (define ip (port->string (get-pure-port (string->url "https://api.kwelo.com/v1/network/ip-address/my")))) (printf "My public IP address is: ~a" ip)
Dim s As New HTTPSecureSocket Dim t As String = s.Get("https://api.kwelo.com/v1/network/ip-address/my",10) MsgBox "My public IP Address is: " + t
import HttpClient var ip = newHttpClient().getContent("https://api.kwelo.com/v1/network/ip-address/my") echo("My public IP address is: ", ip)
put "My public IP address is" && url "https://api.kwelo.com/v1/network/ip-address/my"
Public IP Address
Every machine on the Internet has one, find out what's yours
Locate IP Address
Where is this IP coming from ? Locate and identify website visitors by IP address
Example: 122.43.252.216 or ef8b:933a:e53:b1a:dbd7:edea:d14e:df2a
IP Address Details
All the information on any IP address
Example: 153.206.36.144 or fad5:f3ff:c22:bea7:8387:db7e:454f:5c48