Server time
What this does
Returns the current time according to the API server. You get UTC ISO timestamps, Unix epoch seconds, and a formatted string in UK local time (Europe/London, including BST/GMT). Useful when you need a trustworthy “now” without configuring time zones yourself.
Who it is for
- Debugging “what time does the server think it is?”
- Signing or timestamping lightweight logs
- Sync checks between client and server
- Teaching how ISO dates and Unix time relate
Try it
https://fetch.li/v1/now
No parameters.
HTTP example
GET /v1/now HTTP/1.1
Host: fetch.li
Accept: application/json
curl
curl -sS "https://fetch.li/v1/now"
JavaScript fetch
const response = await fetch("https://fetch.li/v1/now");
const now = await response.json();
console.log(now.formatted, now.unix);
Python requests
import requests
response = requests.get("https://fetch.li/v1/now")
response.raise_for_status()
now = response.json()
print(now["formatted"], now["unix"])
Example JSON response
{
"utc": "2026-08-25T11:43:00.000Z",
"unix": 1756122180,
"iso": "2026-08-25T12:43:00+01:00",
"timezone": "Europe/London",
"formatted": "Tuesday, 25 August 2026, 12:43 BST"
}
Parameters
This endpoint accepts no query parameters.
Errors that can happen
| HTTP | error.code |
When |
|---|---|---|
| 429 | rate_limited |
Demo limit exceeded |
| 500 | internal |
Unexpected server error |
Demo
GET endpoints work without an API key on the public demo tier (60 calls per hour per IP). POST /v1/vibe/classify needs a key.