MY IP
Your public IP plus country, in three JSON fields.
A no-frills lookup that echoes back the caller's public IP address along with the country name and two-letter code. One GET, no key, no query params required. Handy for quick geo-gating or debugging what address the world actually sees.
GET https://api.myip.com/
{
"ip": "46.1.3.138",
"country": "Turkey",
"cc": "TR"
}curl "https://api.myip.com/"const res = await fetch("https://api.myip.com/");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.myip.com/")
print(res.json())BROWSER CALLS BLOCKED (NO CORS/HTTPS) — USE THE CURL SNIPPET
/PROBEDYour public IP plus country, in three JSON fields.
/?limit=5Paginated variant with limit parameter.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
MY IP: common questions
Is MY IP free to use?
Yes — MY IP is a free developer tools API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.
Does MY IP need an API key?
No — MY IP needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call MY IP from the browser?
Not directly — MY IP doesn't send browser-friendly CORS headers, so call it from a server or proxy instead. Copy the curl or Python snippet on this page to get started.
Is MY IP up right now?
As of our last scheduled check, MY IP is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.