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

Batch UUID API - Generate Up to 100 UUIDs

Generate a batch of v4 UUIDs in one request. Specify the count (up to 100). Returns an array of UUID strings.

Parameters

number

Number of UUIDs to generate (1-100).

Code examples

curl -X POST https://api.botoi.com/v1/uuid/batch \
  -H "Content-Type: application/json" \
  -d '{"count":3}'

When to use this API

Seeding test databases

Generate 50-100 UUIDs in one call to populate staging or test environments with realistic primary keys.

Pre-allocating IDs for bulk inserts

Fetch a batch of IDs before a bulk insert so you can reference parent and child rows in a single transaction.

Frequently asked questions

What is the maximum number of UUIDs per request?
You can generate up to 100 UUIDs in a single request.
Which UUID version does batch generate?
The batch endpoint generates v4 (random) UUIDs. Use the /v1/uuid/v7 endpoint for time-ordered UUIDs.
Are the UUIDs returned in any particular order?
No. UUID v4 values are random and have no guaranteed order.
Does the count parameter affect rate limits?
No. Each API call counts as one request toward your rate limit regardless of the count value.

Get your API key

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