How to use the UUIDGenerator.net API

You can get generated UUIDs and GUIDs from UUIDGenerator.net via our HTTP-based API.

(You can also generate UUIDs directly in your code. Check out our Developer's Corner for how to generate UUIDs in your favorite programming language.)

If you use our API in your application or site, please credit us with a link back to our site. Thank you.

API

Use the following HTTP endpoints to generate the various types of UUIDs and GUIDs supported by UUIDGenerator.net.

By default, the generated UUIDs and GUIDs are returned as plain text (text/plain; charset=utf-8) with one value per line.

If you add the HTTP header, Accept: application/json, to the API request, the response will be in JSON format (application/json; charset=utf-8).

The API supports the HTTP GET method only. The URLs are served over https. A User-Agent header is required on each request.

Version 1 UUIDs

https://www.uuidgenerator.net/api/version1
https://www.uuidgenerator.net/api/version1/<number>

Version 4 UUIDs

https://www.uuidgenerator.net/api/version4
https://www.uuidgenerator.net/api/version4/<number>

Version 7 UUIDs

https://www.uuidgenerator.net/api/version7
https://www.uuidgenerator.net/api/version7/<number>

GUIDs

https://www.uuidgenerator.net/api/guid
https://www.uuidgenerator.net/api/guid/<number>

Nil/Empty UUIDs

https://www.uuidgenerator.net/api/version-nil
https://www.uuidgenerator.net/api/version-nil/<number>