Generate a v6 UUID
GET
/uuid/v6Parameters
Query Parameters
timestamp
An optional timestamp to use for the UUID. If not provided, the current time will be used.
Typeinteger
counter
An optional counter to use for the UUID. If not provided, 0 will be used.
Typeinteger
node_id*
The node ID to use for the UUID. The length must be 6.
Typearray
Requiredformat
An optional format to use for the UUID. If not provided, the default format (hyphenated) will be used.
Typestring
Enumhyphenated, simple, urn, braced
Responses
The generated UUID
string
GET
/uuid/v6Samples
cURL
curl -X GET https://httpbin.rs/uuid/v6
JavaScript
fetch("https://httpbin.rs/uuid/v6")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://httpbin.rs/uuid/v6");
Python
import requests
response = requests.get("https://httpbin.rs/uuid/v6")
print(response.json())