Generate a v1 UUID
GET
/uuid/v1Parameters
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/v1Samples
cURL
curl -X GET https://httpbin.rs/uuid/v1
JavaScript
fetch("https://httpbin.rs/uuid/v1")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://httpbin.rs/uuid/v1");
Python
import requests
response = requests.get("https://httpbin.rs/uuid/v1")
print(response.json())