{"uid":"cap_K6hdfnw28Wg-t5iT8e6dP","slug":"delx-commerce-json-unique-fields-check-4376b655","name":"Delx Commerce — JSON Unique Fields Check","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/json-unique-fields-check?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 JSON Unique Fields Check; used only for this bounded calculation and processed in memory without retention."},"fields":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Fields supplied to JSON Unique Fields Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"unique":true,"duplicate_indices":[]},"schema":"delx/util-json-unique-fields-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"9add83ab55b011d3994b700af703d6cc08072afb22cf6873ea05add8e1af633e","external_calls":0},"operation":"data_batch:json_unique_fields_check"}},"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_hLVf3y5iW6-ruypniqGBB","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":"Checks whether a list of JSON objects are unique across specified fields, returning duplicate indices and a pass/fail result","exampleAgentPrompt":"Check whether these 50 user records are all unique by their 'email' and 'username' fields — I want to know if any duplicates exist and which indices they appear at.","exampleUseCases":[{"title":"Pre-insert duplicate check for user records","prompt":"Before I add these new user sign-up records to the database, check if any of them share the same email or phone number — give me the indices of any duplicates."},{"title":"Validate uniqueness of product SKU batch","prompt":"I have a list of product JSON objects and I need to confirm every one has a unique 'sku' and 'barcode' combination — flag any duplicates with their positions in the list."},{"title":"Audit event log for repeated transaction IDs","prompt":"Here's a batch of transaction event objects — check whether any share the same 'transaction_id' field and tell me which ones are duplicates."}],"resultDescription":"Returns a JSON object indicating whether all items are unique across the specified fields (`unique: true/false`), an array of duplicate indices if any exist, a pass/fail status, the operation name, and an evidence object containing whether data was retained (always false), a SHA-256 hash of the input, and the number of external calls made (always 0).","failureModes":["Items array exceeds 256 items — request rejected","Individual object exceeds 128 properties — validation error","Field name string exceeds 8192 characters — rejected","Malformed JSON body — parse error","Missing required fields in request body — 400 error","Payment not provided or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, verifiable, pay-per-use uniqueness check on JSON arrays without setting up infrastructure or accounts. It is ideal for agents performing one-off data quality checks before database writes, ETL pipelines, or deduplication audits where privacy matters (no data retained, evidenced by SHA-256 hash). Prefer this over rolling your own deduplication logic when operating in an autonomous agent context that supports x402 micropayments on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:44.804Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-unique-fields-check-4376b655"}