{"uid":"cap_93t1eqYaZjMKF3DY7c6GV","slug":"delx-commerce-json-array-filter-keys-4731a8cd","name":"Delx Commerce — JSON Array Filter 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/json-array-filter-keys?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","maxLength":8192,"description":"Key supplied to JSON Array Filter Keys; used only for this bounded calculation and processed in memory without retention."},"items":{"type":"array","items":{"type":"object","maxProperties":128,"additionalProperties":true},"maxItems":256,"description":"Items supplied to JSON Array Filter Keys; used only for this bounded calculation and processed in memory without retention."},"allowed":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Allowed supplied to JSON Array Filter Keys; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"items":[{"id":1,"status":"ok"}],"matched_count":1},"schema":"delx/util-json-array-filter-keys/v1","status":"pass","evidence":{"retained":false,"input_sha256":"c1b64d403dd4df4223045c843cca745575ec8fc78aca3b171b5d12f60601eb75","external_calls":0},"operation":"data_batch:json_array_filter_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_xyyE91kQtWZ2H7hcuMD7G","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":"Filters an array of JSON objects to only include specified keys, returning the trimmed objects and a match count, paid per-call via USDC microtransaction.","exampleAgentPrompt":"Take this list of user objects and filter each one so only the 'id' and 'status' fields are kept — there are 50 records total.","exampleUseCases":[{"title":"Sanitize API response for downstream agent","prompt":"I'm getting verbose objects back from a CRM API — each record has 40+ fields but I only need 'id', 'email', and 'account_type'. Can you strip everything else from these 120 records?"},{"title":"Prepare training data by selecting features","prompt":"I have an array of 200 product JSON objects and I only want to keep 'sku', 'price', and 'category' in each one — can you filter out all the other keys?"},{"title":"Redact sensitive fields before logging","prompt":"Before we log these transaction records, remove everything except 'transaction_id' and 'timestamp' — I don't want PII like 'name' or 'email' ending up in the logs."}],"resultDescription":"Returns a JSON object containing a filtered 'items' array where each object retains only the keys listed in 'allowed', a 'matched_count' of how many items were processed, an operation identifier, a status field ('pass'), and an evidence block with the input SHA-256 hash, a 'retained: false' flag confirming no data was stored, and a count of zero external calls made.","failureModes":["items array exceeds 256 item limit — request rejected","individual object exceeds 128 property limit — processing error","allowed list exceeds 256 entries — request rejected","key string exceeds 8192 character limit — validation failure","malformed JSON body — 400 error","payment not included or insufficient USDC — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a verifiable, no-signup, pay-per-call JSON key projection operation with cryptographic evidence of non-retention. Ideal for agents that process sensitive data and need proof the service did not store inputs, or for pipelines that want deterministic microtransaction-priced utilities without API key management. Prefer over self-hosted solutions when auditability and zero-retention evidence are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:57.456Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-array-filter-keys-4731a8cd"}