{"uid":"cap_ziONMgrKdffOHf9C7wAHr","slug":"uuid-ulid-nanoid-generator-parser-183d9771","name":"UUID/ULID/NanoID Generator & Parser","description":"Generate UUID v4/v5/v7, ULID, or NanoID (single or batch), or parse/validate an existing id and extract its embedded timestamp.","url":"https://api.24klabs.ai/api/uuid-ulid-gen?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ids":["cfbff0d1-9375-5685-968c-48ce8b15ae17"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zC9Ex3btbKb_slp_UahIz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generate or batch-generate UUID v4/v5/v7, ULID, or NanoID identifiers, or parse and validate an existing ID to extract its embedded timestamp.","exampleAgentPrompt":"Generate a batch of 10 UUID v7 identifiers for me — I need ones with embedded timestamps for sorting records in my new database.","exampleUseCases":[{"title":"Batch IDs for new database records","prompt":"I need 50 ULIDs generated in one shot to use as primary keys for a batch insert into my database — can you get those for me?"},{"title":"Parse timestamp from existing ULID","prompt":"I have this ULID '01ARZ3NDEKTSV4RRFFQ69G5FAV' and I need to know exactly what timestamp is embedded in it — can you parse it and pull that out?"},{"title":"Validate and identify UUID version","prompt":"Can you check if this string is a valid UUID and tell me what version it is: '6ba7b810-9dad-11d1-80b4-00c04fd430c8'?"}],"resultDescription":"For generation requests: one or more generated ID strings of the requested type (uuid-v4, uuid-v5, uuid-v7, ulid, or nanoid). For parse/validate requests: structured metadata including whether the ID is valid, its type/version, and any embedded timestamp (millisecond-precision for ULID and UUID v7).","failureModes":["Invalid ID type enum returns 400 with error message","Batch count exceeding maximum limit returns 400","Malformed or non-parseable ID string returns validation failure with reason","Missing required namespace or name for UUID v5 generation returns 400","Network timeout returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need programmatic generation of standards-compliant unique identifiers (especially ULID or UUID v7 with sortable timestamps) or need to validate and decode an existing ID's embedded metadata. Prefer it over rolling your own UUID logic when correctness, compliance with RFC specs, and timestamp extraction matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:30:12.920Z","isFirstParty":false,"canonicalSlug":"uuid-ulid-nanoid-generator-parser-5cdf9035"}