TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Generate one or more UUIDs

GEThttps://api.testingapis.com/api/utils/uuidSign in to see this endpoint's URL

Parameters 2

NameTypeDescription
countquery · integer (int32)How many to generate, 1–100, default 1. One returns uuid; more return a uuids array. Default: 1.
versionquery · integer (int32)4 (random, default) or 7 (time-ordered). Default: 4.

Responses

200
Success.
400
count or version is out of range.

Example

Request
curl -X GET "https://api.testingapis.com/api/utils/uuid?count=2" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{
  "uuids": ["f8e5186a-b7b9-4e90-88ad-c76c10869ed1", "97495a2e-cedf-4fc4-82ca-64215987ba5f"],
  "version": 4,
  "count": 2
}

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.