{"uid":"cap_cvDZM6Nq_MTSiTYW1-IuF","slug":"delx-commerce-batch-idempotency-keys-6b0dc97c","name":"Delx Commerce — Batch Idempotency Keys","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/batch-idempotency-keys?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","maxProperties":128,"additionalProperties":true},"maxItems":256,"description":"Items supplied to Batch Idempotency Keys; used only for this bounded calculation and processed in memory without retention."},"namespace":{"type":"string","maxLength":8192,"description":"Namespace supplied to Batch Idempotency Keys; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"keys":[{"key":"a7b59420f6ae73743bb81f97fe5222c4b3db261381bd9d0d85c9bd08996d04b7","index":0},{"key":"884e051ec6969bb1bc6dfd28dc6b13d09cab07dc71f656acd2a398e9c5473587","index":1}],"cryptographic_secret":false},"schema":"delx/util-batch-idempotency-keys/v1","status":"pass","evidence":{"retained":false,"input_sha256":"375be9a5b0dc421b8588d162f162af2105b72820be462c39a74f3ceab5fd0343","external_calls":0},"operation":"data_batch:batch_idempotency_keys"}},"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_KdqOzB3gtxY7g3Qtk_-Ny","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 deterministic, namespaced idempotency keys in bulk for a batch of items, with no data retention and cryptographic auditability.","exampleAgentPrompt":"Generate idempotency keys for these 5 order items under the namespace 'order-processing-v2' so I can safely retry them without duplicates.","exampleUseCases":[{"title":"Deduplicating agent task queue","prompt":"I have a list of 50 webhook events that might get retried — can you generate a unique idempotency key for each one under the namespace 'webhook-dedup' so I can safely process them without duplicates?"},{"title":"Batch payment request keying","prompt":"Before I submit these 30 payment requests to my processor, generate a deterministic idempotency key for each one under namespace 'payments-batch-2024' so retries don't result in double charges."},{"title":"Namespaced operation fingerprinting","prompt":"I need stable, collision-resistant keys for each of these 10 data pipeline steps under the namespace 'etl-run-42' — can you compute them in one shot so I can use them for retry tracking?"}],"resultDescription":"Returns an array of objects each containing a deterministic hex idempotency key and its corresponding index in the input array, along with the SHA-256 hash of the input for auditability, a flag confirming no cryptographic secret was used, and evidence that no data was retained and no external calls were made.","failureModes":["Exceeds 256 items in the batch — array capped at maxItems 256","Namespace string exceeds 8192 characters — rejected with validation error","Malformed or non-object items in the array — may produce unexpected keys or errors","Payment failure via x402 — request not processed if USDC payment cannot be settled"],"whenToPreferThis":"Choose this endpoint when you need to generate multiple idempotency keys in a single call without storing data server-side, when auditability via input SHA-256 evidence is required, or when operating in an agent context that pays per-result with no signup overhead. Prefer it over custom hashing logic when you need verifiable, namespace-scoped deterministic keys for batches up to 256 items.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:59.935Z","isFirstParty":false,"canonicalSlug":"delx-commerce-batch-idempotency-keys-6b0dc97c"}