# UUID Generator API

> UUID Generator is a UUID generator API that produces random RFC 4122 version 4 UUIDs on demand. Request single IDs or batches in standard lowercase, uppercase, or strings without hyphens.

**Endpoint:** `GET https://api.apiverve.com/v1/uuidgenerator`  
**Category:** Data Generation  
**Cost:** 1 credit per call  
**Canonical page:** https://apiverve.com/marketplace/uuidgenerator

## Overview

UUID Generator works by creating random 128-bit identifiers following the RFC 4122 UUID version 4 specification. Provides multiple output formats to meet different platform and application requirements.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/uuidgenerator?count=5&version=4&format=default" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `count` | integer | No | Number of UUIDs to generate. default 1. range 1-100 |
| `version` | integer | No | UUID version (only version 4 currently supported). default 4. One of: 4 |
| `format` | string | No | Output format. default default. One of: default, uppercase, nohyphens |

## Response fields

- `uuids` — array · Array of generated UUID strings in requested format
- `count` — number · Number of UUIDs generated in this request
- `version` — number · UUID version specification used (RFC 4122 v4)
- `format` — string · Output format applied to generated UUIDs
- `variant` — string · UUID variant specification identifier · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "uuids": [
      "fd874c4e-4fc2-4a65-ab1e-46c7a141c3c3",
      "59f31559-dd12-46ff-a3d1-d7bd5eddb09b",
      "f09b5f16-1b68-4082-acbc-38ce08de2fe4",
      "c8c1b3d8-e927-43a7-840c-ced3964ca95f",
      "aa3cb61e-096f-46fa-a12c-5f2b696186fb"
    ],
    "count": 5,
    "version": 4,
    "format": "default",
    "variant": "RFC 4122"
  }
}
```

## Use cases

- **API Development** — Generate unique identifiers for API resources, requests, and responses
- **Distributed Systems** — Create globally unique identifiers across microservices and distributed applications
- **Data Import** — Generate unique identifiers during data migration and import operations
- **Testing** — Create unique test data identifiers for automated testing and QA processes

## SDKs

- **npm** — `npm install @apiverve/uuidgenerator` (https://www.npmjs.com/package/@apiverve/uuidgenerator)
- **NuGet** — `dotnet add package APIVerve.API.UUIDGenerator` (https://www.nuget.org/packages/APIVerve.API.UUIDGenerator)
- **Source** — https://github.com/apiverve/uuidgenerator-api

## More

- Full reference: https://docs.apiverve.com/ref/uuidgenerator
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
