UUID
What this does
Returns a freshly generated UUID version 4 string: a random 128-bit identifier that is vanishingly unlikely to collide with another. No parameters needed. Call it whenever you need an ID for a record, session, or file.
Who it is for
- Database primary keys before insert
- Correlation IDs in logs and support tickets
- File upload names that must be unique
- Prototypes that need realistic IDs
Try it
https://fetch.li/v1/uuid
Each request returns a new value.
HTTP example
GET /v1/uuid HTTP/1.1
Host: fetch.li
Accept: application/json
curl
curl -sS "https://fetch.li/v1/uuid"
JavaScript fetch
const response = await fetch("https://fetch.li/v1/uuid");
const { uuid } = await response.json();
console.log(uuid);
Python requests
import requests
response = requests.get("https://fetch.li/v1/uuid")
response.raise_for_status()
print(response.json()["uuid"])
Example JSON response
{
"uuid": "0b3e1c2a-7d44-4f1a-9c8a-2a6f4d1e9b10",
"version": 4,
"generated_at": "2026-08-25T11:43:00.000Z"
}
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.