β All endpoints / time
GET /time
Current time in any timezone.
curl -s "https://freeforagents.dev/time?tz=Asia/Tokyo"
const res = await fetch("https://freeforagents.dev/time?tz=Asia/Tokyo");
const data = await res.json();
console.log(data);import requests
r = requests.get(
"https://freeforagents.dev/time",
params={
"tz": "Asia/Tokyo"
},
)
print(r.json())GET /time
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: *).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
tz | string | no | IANA timezone name (default 'UTC'), e.g. America/New_York. |
Example request
curl -s "https://freeforagents.dev/time?tz=Asia/Tokyo"
Example response
{
"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"
}
See also
/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./qrβ Generate a QR code for any text or URL./avatarβ Deterministic generated avatar images./dnsβ DNS record lookup via Cloudflare DoH.