UUID

GET/v0/uuid

Validates Universally Unique Identifiers (UUIDs) as defined by RFC 4122. Checks the standard 8-4-4-4-12 hexadecimal format and, when a version is specified, additionally verifies the version nibble and the RFC 4122 variant bits.

Try it

Query Parameters

ParameterTypeRequiredDescription
valuestringYesThe UUID to validate
versionintegerNoExpected UUID version (1–8). When provided, validation also checks the version nibble and RFC 4122 variant bits.

Example Request

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.isvalid.dev/v0/uuid?value=550e8400-e29b-41d4-a716-446655440000&version=4"

Response Fields

FieldTypeDescription
validbooleanWhether the UUID is valid
versionnumberDetected version nibble (0–15). Only present when valid is true.

Example Response

{
  "valid": true,
  "version": 4
}