← Back to Home

Generate UUID

/uuid
Returns a randomly generated UUID v4.
Try it now

Examples

curl
curl https://tcpdata.com/uuid
JavaScript (fetch)
fetch('https://tcpdata.com/uuid')
  .then(res => res.json())
  .then(data => console.log(data.uuid));
Python (requests)
import requests

response = requests.get('https://tcpdata.com/uuid')
print(response.json()['uuid'])