← all endpoints · raw markdown
Current time in any timezone.
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: *).
| Name | Type | Required | Description |
|---|---|---|---|
tz | string | no | IANA timezone name (default 'UTC'), e.g. America/New_York. |
curl -s "https://freeforagents.dev/time?tz=Asia/Tokyo"
{
"ok": true,
"docs": "https://freeforagents.dev/docs/time.md",
"utc_epoch_seconds": 1755892800,
"utc_iso": "2026-08-22T18:40:00.000Z",
"timezone": "Asia/Tokyo",
"local": {
"year": 2026,
"month": 8,
"day": 23,
"hour": 3,
"minute": 40,
"second": 0,
"weekday": "Sunday",
"date": "2026-08-23",
"time": "03:40:00"
},
"utc_offset": "GMT+9"
}
/ip — Look up your IP address and geolocation./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)./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.