Skip to content
Utilerio
All endpoints

Nano ID / ULID Generator

POST/api/v1/tools/nanoid-ulid-generator

Generate URL-safe Nano IDs or sortable, timestamp-based ULIDs in bulk.

Authentication

Requires an API key in the X-API-Key header.

Try it

POST/api/v1/tools/nanoid-ulid-generator

Parameters

kindstringoptional

ID type. Default nanoid.

nanoidulid
countintegeroptional

How many to generate (1–100). Default 1.

lengthintegeroptional

Nano ID length (2–64). Ignored for ulid. Default 21.

Request body

{
  "kind": "nanoid",
  "count": 3,
  "length": 21
}

Response codes

  • 200Success.
  • 400Invalid request — check your body or parameters.
  • 401Missing or invalid API key.
  • 403The API key is not scoped to this endpoint.
  • 429Rate limit exceeded — retry after a short wait.

Language

cURL

Request

curl -X POST https://utilerio.com/api/v1/tools/nanoid-ulid-generator \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"nanoid","count":3,"length":21}'

Response

{ "values": ["V1StGXR8_Z5jdHi6B-myT", "…", "…"] }