Loading...
Copied!
DE | EN
Network Analysis
Loading...
Copied!
IPv4 & IPv6 API for Developers
Fast & Secure. IPv4 & IPv6 Check. Our tool automatically detects your hostname and your current IP protocols. Would you like to use this information in your own scripts or applications?
We offer a simple **JSON interface** that you can query without authentication. This is ideal for server monitoring, DDNS updates, or network scripts.
Usage via Terminal (cURL)
To get only the IP address in your terminal, simply use our specialized subdomains:
# IPv4 Query
curl https://ipv4.myipv64.de
# IPv6 Query
curl https://ipv6.myipv64.de
curl https://ipv4.myipv64.de
# IPv6 Query
curl https://ipv6.myipv64.de
Web Project Integration (JavaScript)
You can integrate the IP data directly into your own website using fetch(). The response is provided in structured JSON format:
fetch('https://ipv4.myipv64.de')
.then(response => response.json())
.then(data => console.log("My IP: " + data.ip));
.then(response => response.json())
.then(data => console.log("My IP: " + data.ip));
By separating the endpoints into ipv4. and ipv6., we guarantee that you can always enforce the desired protocol, regardless of your system's local network settings.