Skip to content
POST AI agent ready /v1/uuid/validate

UUID Validate API - Check UUID Format Free

Check whether a string is a valid UUID and detect its version and variant. Returns the version number (1, 4, 5, 7, etc.) and whether the format conforms to RFC 4122.

Parameters

stringrequired

The UUID string to validate.

Code examples

curl -X POST https://api.botoi.com/v1/uuid/validate \
  -H "Content-Type: application/json" \
  -d '{"uuid":"550e8400-e29b-41d4-a716-446655440000"}'

When to use this API

Input validation in API gateways

Validate that path parameters or request body fields contain properly formatted UUIDs before forwarding to downstream services.

Debugging ID format mismatches

When two systems exchange UUIDs and records fail to match, validate both IDs to confirm they are well-formed and identify version differences.

Migration auditing

Scan a list of IDs during a database migration to confirm every row has a valid UUID and flag any malformed entries.

Frequently asked questions

Does validation require the dashes?
The API accepts UUIDs with or without dashes. Both "550e8400-e29b-41d4-a716-446655440000" and "550e8400e29b41d4a716446655440000" are recognized.
What UUID versions are detected?
The API detects versions 1 through 7, including the newer v6 and v7 time-ordered formats.
Is the nil UUID (all zeros) considered valid?
The nil UUID (00000000-0000-0000-0000-000000000000) is a valid UUID per RFC 4122. The API returns valid: true with version: 0.
Is this case-sensitive?
No. UUIDs are case-insensitive per the spec. Both uppercase and lowercase hex characters are accepted.

Get your API key

Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.