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
| Parameter | Type | Required | Description |
|---|---|---|---|
| value | string | Yes | The UUID to validate |
| version | integer | No | Expected 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
| Field | Type | Description |
|---|---|---|
| valid | boolean | Whether the UUID is valid |
| version | number | Detected version nibble (0–15). Only present when valid is true. |
Example Response
{
"valid": true,
"version": 4
}