{"uid":"cap_T8TLu3MD6e-NV9FcKKNp6","slug":"uuid-generator-15554e14","name":"UUID Generator","description":"Random UUID generator — returns time-ordered UUIDv7 (RFC 9562, sortable, database-key friendly) or fully random UUIDv4, 1 to 100 per call, as lowercase canonical strings. Use for unique IDs, primary keys, request and correlation IDs, idempotency keys.","url":"https://uuid.use.x402atlas.com/generate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"count":{"type":"integer","default":1,"maximum":100,"minimum":1,"description":"Number of UUIDs to return."},"version":{"enum":[4,7],"type":"integer","default":7,"description":"7 = time-ordered RFC 9562 UUIDv7 (sortable); 4 = fully random UUIDv4."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","count","uuids","generated_at"],"properties":{"count":{"type":"integer","description":"Length of uuids."},"uuids":{"type":"array","items":{"type":"string","format":"uuid","description":"Lowercase canonical 8-4-4-4-12 form."},"description":"Freshly generated UUIDs; version 7 values are in creation order."},"version":{"enum":[4,7],"type":"integer","description":"UUID version of every value in uuids."},"generated_at":{"type":"string","format":"date-time","description":"Server UTC time of generation."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QQaZJ5vemn6mIDKREjH2z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates 1–100 UUIDs per call in either time-ordered UUIDv7 (sortable, database-key friendly) or fully random UUIDv4 format, returned as lowercase canonical strings.","exampleAgentPrompt":"Generate 10 time-ordered UUIDv7s I can use as primary keys for a batch of new database records I'm inserting.","exampleUseCases":[{"title":"Idempotency keys for payment requests","prompt":"I need 5 fresh idempotency keys to attach to payment API calls I'm about to make — give me random UUIDv4s so there's no timing pattern."},{"title":"Sortable IDs for event log inserts","prompt":"Generate 50 UUIDv7s for me to use as primary keys on a batch of event log rows — I need them time-ordered so the table stays sorted."},{"title":"Single correlation ID for a distributed request","prompt":"Can you get me one UUIDv7 to use as a correlation ID for a new API request I'm tracing across microservices?"}],"resultDescription":"A JSON object containing the UUID version used, the count of UUIDs generated, an array of freshly generated lowercase canonical UUID strings (8-4-4-4-12 format), and the server UTC timestamp of generation. UUIDv7 values are returned in creation order (sortable).","failureModes":["count out of range (must be 1–100) returns an error","version not 4 or 7 returns an error","network timeout on slow connections","payment failure if USDC balance insufficient for the $0.005 fee"],"whenToPreferThis":"Choose this endpoint when you need deterministic, RFC-compliant UUID generation without running your own UUID library — especially when you want sortable UUIDv7 keys for database primary keys or event ordering, or when you need a batch of up to 100 UUIDs in a single call. Prefer it over local generation when the agent environment lacks a UUID library or when you want server-authoritative timestamps embedded in UUIDv7.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:11.826Z","isFirstParty":false,"canonicalSlug":"uuid-generator-15554e14"}