{"uid":"cap_umAwIGWcOdPkAUbUjoZ7s","slug":"delx-commerce-seeded-derangement-e0d0ec5a","name":"Delx Commerce Seeded Derangement","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/seeded-derangement?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","maxLength":8192,"description":"Seed supplied to Seeded Derangement; used only for this bounded calculation and processed in memory without retention."},"items":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Items supplied to Seeded Derangement; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"items":["d","c","b","a"],"deranged":true},"schema":"delx/util-seeded-derangement/v1","status":"pass","evidence":{"retained":false,"input_sha256":"f561874b3e88794b12ca33fdf8a62ffe0b8f93dd08edf86088c58253e0378b49","external_calls":0},"operation":"seeded_decision:seeded_derangement"}},"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_mTwuAKzSZLTuq88SAeJ1-","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 deterministic, seed-driven derangement (permutation where no element appears in its original position) of a list of items","exampleAgentPrompt":"Can you use seeded derangement to shuffle this list — ['Alice','Bob','Carol','Dave'] — using the seed 'giftseed42', making sure no one ends up in their original position?","exampleUseCases":[{"title":"Secret Santa gift assignment","prompt":"I need to assign secret santa recipients for our group: ['Alice','Bob','Carol','Dave','Eve']. Use seed 'santa2024' to shuffle them so nobody draws themselves."},{"title":"Reproducible quiz question order","prompt":"Shuffle these quiz answers ['A','B','C','D'] using seed 'quizround7' so none of them stay in their original slot — I need it to be reproducible the same way every time."},{"title":"Round-robin task rotation","prompt":"Rotate these team tasks ['standup lead','note-taker','timekeeper','facilitator'] using seed 'sprint42' so no one keeps the same role they had last sprint."}],"resultDescription":"Returns a JSON object with a 'result' field containing the deranged item list and a boolean confirming derangement, plus an 'evidence' block with the input SHA256 hash, a flag confirming no data retention, and a count of external calls made (always 0). The 'status' field confirms pass/fail and the 'operation' field identifies the computation type.","failureModes":["Empty or missing 'items' array returns an error or trivially deranged empty list","Single-item list cannot be deranged (no valid derangement exists) and may return an error or deranged:false","Items array exceeding 256 elements is rejected","Seed string exceeding 8192 characters is rejected","Invalid JSON body returns a 400-level error","Payment not included or insufficient USDC triggers a 402 response"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, reproducible derangement — a permutation guaranteed to have no fixed points — driven by a specific seed string, with cryptographic evidence of the computation (input hash, no retention, no external calls). Ideal for scenarios like secret santa draws, role rotation, or reproducible test fixtures where auditability and repeatability both matter. Prefer it over generic shuffle APIs when you need the no-fixed-point guarantee and verifiable, pay-per-result delivery without signup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:17:57.472Z","isFirstParty":false,"canonicalSlug":"delx-commerce-seeded-derangement-e0d0ec5a"}