API
https://ip.wesa-it.eu/api/
JSON (fancy)
Returns your IP crap as JSON. Has CORS because we're not savages.
GET https://ip.wesa-it.eu/api/?format=json
XML (ancient)
Returns your IP crap as XML. Why tho.
GET https://ip.wesa-it.eu/api/?format=xml
Plain (boring)
Just the IP. Nothing else. You happy?
GET https://ip.wesa-it.eu/api/?format=plain
PTR / rDNS (reverse nerd stuff)
Looks up what the hell the hostname is for any IP.
GET https://ip.wesa-it.eu/api/?action=ptr&ip={ip}
Dual-Stack — Force IPv4 or IPv6 like a boss
Use ip4.wesa-it.eu to force IPv4, ip6.wesa-it.eu for IPv6. Duh.
Just the IPv4, dammit
curl -4 https://ip4.wesa-it.eu/api/?format=plain
Just the IPv6, dammit
curl -6 https://ip6.wesa-it.eu/api/?format=plain
All the IPv4 crap as JSON
curl -4 https://ip4.wesa-it.eu/api/?format=json
Live Response (your actual garbage)
This is what we know about you. Scary, right?
{
"ip": "2600:1f28:365:80b0:65b8:d41b:e506:4cb3",
"version": "IPv6",
"hostname": "2600:1f28:365:80b0:65b8:d41b:e506:4cb3",
"http_version": "HTTP\/2.0",
"user_agent": "CCBot\/2.0 (https:\/\/commoncrawl.org\/faq\/)",
"os": "Unknown OS",
"browser": "Unknown Browser",
"city": "Ashburn",
"country": "USA",
"country_code": "us",
"isp": "Amazon.com, Inc. (AS14618)",
"latitude": "39.0469",
"longitude": "-77.4903"
}