{"uid":"cap_zqCgONbRAufZG1XDZqeAE","slug":"generate-ulid-509f91db","name":"Generate ULID","description":"Generate ULIDs: 26-character, lexicographically sortable, timestamp-prefixed identifiers. Pure CPU, instant.","url":"https://api.gadgethumans.com/ulid?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","required":["count"],"properties":{"count":{"type":"integer","description":"How many ULIDs"}}}}},"output":{"type":"object","properties":{"example":{"ok":true}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VnbZr69qg3sTyh5mJr86U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates one or more ULIDs — 26-character, lexicographically sortable, timestamp-prefixed unique identifiers — instantly via pure CPU computation.","exampleAgentPrompt":"Generate 10 ULIDs for me — I need lexicographically sortable unique identifiers for some new database records.","exampleUseCases":[{"title":"Batch IDs for new database rows","prompt":"Generate 50 ULIDs — I'm inserting a batch of new rows into my database and need sortable unique IDs for each one."},{"title":"Single ULID for event logging","prompt":"Give me 1 ULID to use as the event ID for a log entry I'm writing right now."},{"title":"Distributed system ID generation","prompt":"I need 20 ULIDs for my microservices architecture — they need to be timestamp-prefixed and sortable so I can order events across services."}],"resultDescription":"A JSON response containing one or more ULID strings — each 26 characters long, lexicographically sortable, and prefixed with a millisecond-precision timestamp component followed by random bits for uniqueness.","failureModes":["Missing required 'count' parameter returns an error","count value of 0 or negative integer may return an error or empty list","Extremely large count values may be rejected or time out","Invalid non-integer count type returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need ULID-format identifiers specifically — especially when lexicographic sortability and embedded timestamp ordering matter (e.g. event logs, distributed systems, append-heavy databases). Prefer over UUID generators when sort order by creation time is important. Prefer over NanoID when you need the timestamp-encoded sortability that ULIDs provide.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T23:57:06.820Z","isFirstParty":false,"canonicalSlug":"generate-ulid-509f91db"}