Generator · Generic data
Nano ID
Endpoint GET /v1/nanoid
What it covers
Returns a synthetic Nano ID — a compact URL-safe identifier. `size` sets the length (default 21); `alphabet` overrides the default URL-safe 64-character set. Output is derived from the seed, so the same seed and params always reproduce the same id.
Parameters
| Parameter | Type | Description |
|---|---|---|
| alphabet | string | Custom alphabet to draw from. Default is nanoid’s URL-safe 64-character set. |
| count | integer1–1000 | Number of records to return, 1–1000 (your plan may lower this). Omitted returns a single record; set it for a batch. |
| edge | boolean | Restrict output to valid edge cases from the rare corners of the domain. |
| extreme | boolean | Return a correct value wrapped in a hostile encoding (untrimmed whitespace, invisible/zero-width characters, BOM, or bidi/combining marks). Homoglyphs are excluded so the value stays machine-parseable; it still validates after normalisation. |
| invalid | boolean | Return a deliberately invalid value that fails validation, for testing rejection paths. |
| seed | integer | Integer seed for reproducible output: the same seed always yields the same record. |
| size | integer1–255 | Id length in characters (1–255). Default 21. |
Response fields
| Field | Type | Description |
|---|---|---|
| value | string | The generated Nano ID. |
Other generic generators
Auto-increment integer sequenceCompany name from one or more EU countriesDraw a member from a weighted enumerationDraw an object from a weighted list of candidatesEmail address from one or more EU countriesLorem ipsum textMongoDB ObjectIdPerson nameProduct or service offeringString matching a regular expressionULIDUUID
Try it