← all endpoints · raw markdown
Look up your IP address and geolocation.
Free, zero-auth JSON API served by FreeForAgents. No API key, no signup. All responses include ok, the payload fields shown below, and a docs URL. CORS is fully open (Access-Control-Allow-Origin: *).
This endpoint takes no query parameters.
curl -s "https://freeforagents.dev/ip"
{
"ok": true,
"docs": "https://freeforagents.dev/docs/ip.md",
"ip": "203.0.113.42",
"country": "US",
"city": "San Francisco",
"region": "California",
"postal_code": "94102",
"latitude": 37.7749,
"longitude": -122.4194,
"timezone": "America/Los_Angeles",
"asn": 7922,
"as_organization": "Comcast Cable"
}
/uuid — Generate RFC 4122 version 4 UUIDs./ulid — Generate ULIDs (sortable unique identifiers)./hash — Hash text with SHA-1/256/384/512./base64 — Encode or decode Base64 strings./convert — Convert between units (length, mass, volume, area, data, speed, time, temperature)./time — Current time in any timezone./timestamp — Current Unix timestamp./random — Cryptographically secure random integers./dice — Roll dice./password — Generate strong random passwords./lorem — Lorem ipsum placeholder text./emoji — Random emoji./joke — Random clean programming joke./fact — Random fun fact./quote — Random inspirational quote./holidays — Public holidays by country and year./fx — Foreign exchange rates (daily, no key)./headers — Echo your request headers./json — Fetch any URL and get parsed JSON back.