{"uid":"cap_yY6UJ4oCrOksx0QDNO8p9","slug":"delx-time-sortable-id-generator-ksuid-style-fe5543c2","name":"Delx Time-Sortable ID Generator (KSUID-style)","description":"Time-sortable IDs. Use when you want roughly time-ordered IDs for logs or event streams without a DB sequence. Returns a compact time-sortable id (KSUID-inspired, not a full KSUID library claim). $0.001 USDC per successful call via x402 on Base—first-party JSON from Delx (fresh each call; not a deterministic transform), no API key, no subscription, and nothing is billed on structured validation errors.","url":"https://api.delx.ai/api/v1/x402/ksuid","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","required":[],"properties":{},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"type":"string","const":"json"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"id":{"type":"string"},"unix":{"type":"integer"},"schema":{"type":"string"}},"description":"Deterministic structured JSON result from first-party execution. Invalid inputs return a structured error object and are not billed.","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"id":"687a3f807d4f3c2b1a09e8d7","unix":1752501120,"schema":"delx/ksuid-ish/v1"}},"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_yBv9eppKzQik0fU6YIWBC","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":"Generates a compact, time-sortable unique ID (KSUID-inspired) suitable for log entries, event streams, and ordered records without requiring a database sequence.","exampleAgentPrompt":"Generate a time-sortable unique ID for a new log entry in my event stream — I need something KSUID-inspired that sorts chronologically without a database sequence.","exampleUseCases":[{"title":"Unique IDs for distributed event log","prompt":"I'm building a distributed event log and need a time-sortable unique ID for each event so they stay roughly chronologically ordered without relying on a database sequence — can you generate one now?"},{"title":"Message queue record tagging","prompt":"Tag the next message going into my queue with a compact time-sortable ID so I can sort and replay events in order later without a DB auto-increment."},{"title":"Audit trail entry identifier","prompt":"I need a KSUID-style ID to stamp a new audit trail entry — something that encodes the current time and stays unique across distributed services without any shared state."}],"resultDescription":"Returns a JSON object containing: `id` (the compact time-sortable string identifier), `unix` (the integer Unix timestamp embedded in the ID), and `schema` (a string identifying the ID format/version). Structured validation errors are returned as a JSON error object and are not billed.","failureModes":["Malformed request body returns a structured JSON error object (not billed)","Network or upstream service unavailability returns an HTTP error","Insufficient USDC balance or x402 payment failure prevents the call from completing","Rate limiting or quota exhaustion may return a 429 or payment-related error"],"whenToPreferThis":"Use this endpoint when you need lightweight, time-ordered unique IDs in a distributed or serverless context where you have no access to a database sequence or auto-increment, and you want IDs that sort chronologically without coordinating state across services. Prefer it over UUIDs (v4) when chronological sortability matters, and over full KSUID libraries when you don't want to ship a dependency. It costs only $0.001 USDC per call with no API key or subscription required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:33.841Z","isFirstParty":false}