Kostenlose IP-Geolokalisierung & Risiko-API
Hohe Leistung, IPv4/IPv6 Dual-Stack, mehrsprachig. Kostenlos und ohne Registrierung.
API-Endpunkte
Parameter
| Parameter | Beschreibung | Beispiel |
|---|---|---|
ip |
Die abzufragende IP-Adresse. Wenn weggelassen, wird die IP des Aufrufers zurückgegeben. | ?ip=8.8.8.8 |
lang |
Antwortsprache. Unterstützt: en, cn, ru, ja, fr, de, es, pt. | ?lang=zh-CN |
JSON-Antwortbeispiel
Request: GET https://api.myipdns.com/?ip=8.8.8.8&lang=en
{
"ip": "8.8.8.8",
"continent": "North America",
"continent_code": "NA",
"country": "United States",
"country_code": "US",
"timezone": "America/Chicago",
"latitude": 37.751,
"longitude": -97.822,
"asn": 15169,
"as_org": "Google LLC",
"native_type": "native",
"rir_registry": "arin",
"is_hosting": true,
"usage_type": "DCH",
"query_time": "0.03",
"source": "maxmind.com"
}
Terminal-Protokollstapel- & Datenschutz-Diagnose-API (/check)
Hochpräziser, proxyfreier Endpunkt zur Prüfung des Protokollstapels und der Ausgangstopologie für curl, wget und Automatisierungsskripte.
API-Endpunkte
Parameter
| Parameter | Beschreibung | Beispiel |
|---|---|---|
format |
Ausgabeformat: json (strukturiertes JSON) oder line (KEY=VALUE-Format) | ?format=line / ?format=json |
share |
Generiert einen 30 Tage gültigen Freigabelink und SVG-Badge (auf 5 Schreibvorgänge/Stunde/IP begrenzt) | ?share=1 |
color |
ANSI-Farbcodes deaktivieren: ?color=0 oder ?plain=1 | ?color=0 / ?plain=1 |
-4 / -6 |
Explizite IPv4- oder IPv6-Prüfung: curl -4 oder curl -6 | curl -4 https://myipdns.com/check |
Vollständige JSON-Feldspezifikation
| Field | Type | Description |
|---|---|---|
ip | string | Client-Ausgangs-IP-Adresse |
ip_version | string | IP-Version (IPv4 oder IPv6) (IPv4 / IPv6) |
country | string | Ländername basierend auf Multi-Quellen-Abstimmung |
country_code | string | ISO 3166-1 Alpha-2 Ländercode |
city | string | null | Stadtname (oder null, falls nicht gemessen) |
asn | string | Autonome Systemnummer (z. B. AS15169) |
as_org | string | ASN-Organisation oder ISP-Name |
is_datacenter | boolean | Boolescher Wert für Rechenzentrums- oder Hosting-Netzwerk |
is_proxy | boolean | Boolescher Wert für Proxy- oder VPN-Ausgang |
transport | object | Transportschichtobjekt. 🔴 Nicht gemessene Metriken sind strikt null (niemals 0 oder false) |
transport.mss | string | Ermittelte TCP Maximum Segment Size (z. B. 1380 oder "n/a") |
transport.mtu | integer | null | Abgeleitete Pfad-MTU basierend auf MSS (z. B. 1420 für WireGuard oder null) |
transport.mtu_note | string | null | Heuristische Verbindungstyp-Klassifizierung (oder null) |
transport.wscale | integer | null | TCP Window Scale Exponent (oder null) |
transport.syn_win | integer | null | TCP Initiales SYN-Empfangsfenster (oder null) |
transport.syn_ttl | integer | null | Geschätzte initiale SYN-TTL (oder null) |
transport.option_order | string | null | Reihenfolge der TCP-SYN-Optionen (oder null) |
transport.ts_val | integer | null | TCP-Zeitstempelwert (oder null) |
transport.ts_hz | integer | null | Abgeleitete TCP-Zeitstempelfrequenz in Hz (oder null) |
transport.ecn_enabled | boolean | null | ECN-Status (oder null, falls nicht gemessen) |
crypto | object | Anwendungs- und Krypto-Objekt (HTTP-Version, TLS-Version, JA4, JA3, ALPN) |
verdict | object | Topologie-Urteil, Bewertungsgrundlage und Zusammenfassung |
share_url | string (optional) | 30 Tage gültiger Freigabelink bei ?share=1 innerhalb des Kontingents |
badge_url | string (optional) | SVG-Status-Badge-URL bei ?share=1 innerhalb des Kontingents |
Zeilenformat (KEY=VALUE für Shell- und Skript-Parsing) Example:
ip=35.212.190.31
ip_version=IPv4
country=United States
country_code=US
city=San Jose
asn=AS15169
as_org=Google LLC
is_datacenter=true
is_proxy=false
mss=1380
mtu=1420
mtu_note=Encapsulated Tunnel (WireGuard / Tailscale / CDN)
wscale=7
syn_win=65535
syn_ttl=64
option_order=MSS,SACK_PERM,TS,NOP,WS
ts_val=987654
ts_hz=1000
ecn_enabled=true
http_proto=HTTP/2.0
tls_version=TLS 1.3
ja4=t13d1516h2_8daaf6152771_000000000000
verdict=topo_terminated_remote_protocol
verdict_basis=reputation
verdict_summary=Data Center / Proxy Egress (Hosting Network)
Strukturierte JSON-Ausgabe Example:
{
"ip": "35.212.190.31",
"ip_version": "IPv4",
"country": "United States",
"country_code": "US",
"city": "San Jose",
"asn": "AS15169",
"as_org": "Google LLC",
"is_datacenter": true,
"is_proxy": false,
"transport": {
"mss": "1380",
"mtu": 1420,
"mtu_note": "Encapsulated Tunnel (WireGuard / Tailscale / CDN)",
"wscale": 7,
"syn_win": 65535,
"syn_ttl": 64,
"option_order": "MSS,SACK_PERM,TS,NOP,WS",
"ts_val": 987654,
"ts_hz": 1000,
"ecn_enabled": true
},
"crypto": {
"http_proto": "HTTP/2.0",
"tls_version": "TLS 1.3",
"ja4": "t13d1516h2_8daaf6152771_000000000000"
},
"verdict": {
"key": "topo_terminated_remote_protocol",
"basis": "reputation",
"summary": "Data Center / Proxy Egress (Hosting Network)"
}
}
Befehlszeilenschnittstelle (CLI / curl)
Keine komplexe API-Integration erforderlich. Führen Sie Befehle direkt im Terminal aus, um IP-Daten oder Klartext-IPs abzurufen. CLI-Anfragen sind auf 1 Anfrage pro Sekunde begrenzt.
1. Standard-JSON-Profil der eigenen IP abrufen:
curl https://myipdns.com
2. Standard-JSON-Profil einer Ziel-IP abrufen (z. B. 8.8.8.8):
curl https://myipdns.com/ip/8.8.8.8
3. Reine IP-Zeichenkette abrufen (ideal für Shell-Skripte):
curl https://myipdns.com/ip
Häufig gestellte Fragen zur API
Details zur Protokollstapelmessung, Null-Sicherheit und Skriptintegration.
Danksagung & Anerkennung
Wir verwenden die folgenden Drittanbieter-APIs, um Netzwerkausgangspunkte zu überprüfen.
-
www.cloudflare.com
-
api.vore.top
-
myip.ipip.net
-
data.video.iqiyi.com
-
api.ipify.org
-
api6.ipify.org
-
ipv4.agi.li
-
ipv6.agi.li
-
netlify-ip.html.zone
-
ip.011102.xyz
-
api.ip.sb
-
api.ipapi.is
-
api.db-ip.com
-
free.freeipapi.com
-
api.ipquery.io
-
api.ipbase.com
-
wtfismyip.com
-
geolocation-db.com
-
ipv6.my.ipinfo.app
-
myexternalip.com
-
ifconfig.me
-
checkip.amazonaws.com
-
icanhazip.com
-
ipecho.net
-
4.ident.me
-
6.ident.me
-
cloudflare-ip.html.zone
-
ipmax.vercel.app
-
ipv4.jsonip.com
-
ipv6.jsonip.com
-
api.kieng.cn
-
v4.api.ipinfo.io
-
v6.api.ipinfo.io
-
v4.api.myipdns.com
-
v6.api.myipdns.com
-
my.ipinfo.app
-
www.cloudflare-cn.com
-
x.com
-
my.ip.cn
-
api.myip.la