API Documentation
Get your IP (plain text)
curl https://ip.ssky.me/ip
Get your IP info (JSON)
curl https://ip.ssky.me/json
Lookup a specific IP
curl https://ip.ssky.me/json/8.8.8.8
Or visit in browser: https://ip.ssky.me/8.8.8.8
Specify a source
curl "https://ip.ssky.me/json?ipapi"
curl "https://ip.ssky.me/json/8.8.8.8?ipsb"
Available: ipapi ipwho keycdn ipsb ipinfo
Exclude sources
curl "https://ip.ssky.me/json?!ipwho"
curl "https://ip.ssky.me/json?!ipwho!keycdn"
Prefix source name with ! to exclude. Chain multiple without separators.
Skip cache
curl "https://ip.ssky.me/json?nocache"
curl "https://ip.ssky.me/json?ipsb&nocache"
Results are cached for 1 hour. Add nocache to force a fresh lookup.
Response fields
{
"ip", "city", "region", "country",
"loc", "isp", "asn", "org",
"timezone", "hostname", "postal",
"_source", "_cached"
}