APImcp
GuidesMath & Time Utilities
ConsoleDocsMCP
Math & Time Utilities ⏱ 1 min read

NanoID Generator API

Generate compact NanoID unique identifiers with customizable length and alphabet.

01

What is NanoID?

NanoID is a compact URL-safe unique ID generator using a 64-character alphabet. A 21-character NanoID provides ~126 bits of entropy, comparable to UUID v4.

02

How to Use

Call GET /api/v1/nanoid?length=21&count=5. Customize the alphabet via the alphabet parameter.

Try it live Test this endpoint in the interactive console
Open Console →

Frequently Asked Questions

As unique as UUID?
21-character NanoID has ~126 bits of entropy vs UUID v4's 122 bits. Sufficient for most applications.