Network & DNS
GET
/api/v1/what-is-my-ipWhat Is My IP Address
Your public IP, ASN, ISP, and country — detected automatically.
Example request
curl "https://netsh.io/api/v1/what-is-my-ip?api_key=YOUR_API_KEY"
Example response
{ "ok": true, "data": { "ip": "203.0.113.42", "asn": "AS7922", "asName": "Comcast Cable Communications, LLC", "countryCode": "US", "country": "United States" }, "meta": { "tool": "what-is-my-ip", "version": "v1" } }