Skip to content
GET /api/v1/uuid

UUID Generator

Generate UUID v4 or v7 identifiers

Parameters

name in type required description
count query number optional Number of UUIDs to generate range 1 to 50 default 1
version query string optional v4 = random, v7 = time-sorted one of v4v7 default v4

Request

Send your key in the X-API-Key header. More languages and patterns live on the code examples page.

curl -s "https://apixies.io/api/v1/uuid?count=1" \
  -H "X-API-Key: YOUR_API_KEY"

Response

The result sits under data in the standard envelope. See the response format guide for errors and status codes.

returns

data.uuids
One UUID string, or an array when count is above 1.
data.version
v4 for random or v7 for time-sorted.
data.count
How many UUIDs were generated.
example response 200
{
    "status": "success",
    "http_code": 200,
    "code": "SUCCESS",
    "message": "UUID generated",
    "data": {
        "uuids": "550e8400-e29b-41d4-a716-446655440000",
        "version": "v4",
        "count": 1,
        "generated_at": "2025-05-19T12:00:00+00:00"
    }
}

Authentication and limits

This endpoint needs an API key. Use the sandbox ("try it" above) to test it without registering. See the authentication guide for details.

Standard rate limits apply to this endpoint.

Common use cases

Database primary keys

Generate UUID v4 or v7 identifiers for use as database primary keys in distributed systems where auto-increment IDs aren't suitable.

Session and token generation

Create unique session identifiers, correlation IDs, or idempotency keys for API requests and distributed tracing.

File naming and deduplication

Generate unique filenames for uploaded files to prevent collisions in storage systems. Use UUIDs as folder names for user-specific content.

More documentation

Get a free API key

A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy