ID generator: UUID v4, UUID v7, ULID, NanoID
Generate unique IDs of every common kind in one call: UUID v4 (random), UUID v7 and ULID (time-ordered, sort by creation), NanoID (21 URL-safe characters) and random base62 and hex strings, up to 20 of each, from the platform's cryptographic random source; and decode the creation time hidden in a ULID or UUID v7. Use for database keys, request and trace IDs, file names or test data.
Inputs
| Name | Type | Description |
|---|---|---|
count | integer | How many of each kind, 1-20 (default 3) |
length | integer | Length of the random strings, 8-128 (default 24) |
decode | string | Optional ULID or UUID to read the timestamp from |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/pack/id-toolbox?count=3"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/pack/id-toolbox?count=3&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"uuidV4": [
"0f8f3c4e-1a2b-4c3d-9e8f-1a2b3c4d5e6f"
],
"uuidV7": [
"01929d3c-4b5a-7c6d-8e9f-0a1b2c3d4e5f"
],
"ulid": [
"01JB8ZQ3N4X6Q2W8E5R7T9Y1VZ"
],
"nanoid": [
"V1StGXR8_Z5jdHi6B-myT"
],
"base62": [
"4fRz8Q2mXc1LpK9vT3aWbN7e"
],
"hex": [
"9f86d081884c7d659a2feaa0"
],
"decoded": {
"input": "01JB8ZQ3N4X6Q2W8E5R7T9Y1VZ",
"kind": "ulid",
"timestamp": "2024-10-25T09:30:00.000Z",
"ms": 1729848600000
}
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is pack_id_toolbox, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp