---
title: Generate IDs In Batch API
slug: generate-id-batch
url: https://apyhub.com/creightonnick0/service/generate-id-batch
provider: nick creighton
categories: [Developer Tools, "Security & Privacy"]
tags: [uuid, ulid, nanoid, token-generation, identifier-generation]
auth: api_key
---

# Generate IDs In Batch API

Generate batches of UUIDs, ULIDs, NanoIDs, hex strings, or short tokens. Useful for test data, fixtures, and temporary IDs.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Generates a batch of identifiers in the format you choose. You can control how many ar… | 10 |

## About

## What it does
Identifier Batch Generator creates batches of UUIDs, ULIDs, NanoIDs, hex strings, or short tokens from a single request. Send a `format`, plus optional `size` and `count`, and get back a structured JSON response suitable for fixtures, seed data, test records, or client-side temporary IDs.

Use `count` to control how many identifiers you want, from 1 to 1000. Use `size` when generating `nanoid`, `hex`, or `token` values to set the length; it defaults to 21. The `format` field accepts `uuid4`, `uuid7`, `ulid`, `nanoid`, `hex`, or `token`, so you can match the identifier style your system already expects.

This is a good fit for backend jobs, test setup scripts, and internal tooling where you need many unique values without writing your own generator. Keep your integration simple: choose the identifier type, set the batch size, and consume the JSON response in the same workflow that needs the IDs.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/creightonnick0/service/generate-id-batch
