{"uid":"cap_3GE7HmiIcIbr6Y8IyvwNp","slug":"delx-commerce-object-pick-exists-9cf06fd1","name":"Delx Commerce — Object Pick Exists","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/obj-pick-exists?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"keys":{"type":"array","description":"Input field: keys."},"object":{"type":"object","description":"Input field: object."}}},"responseSchema":{"type":"json","example":{"count":1,"object":{"a":1},"schema":"delx/util-obj-pick-exists/v1","missing":["z"]}},"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_icNZTiQlm7uBhqsJGl9xx","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 object to only include specified keys that actually exist, returning the subset of matched key-value pairs and a list of missing keys.","exampleAgentPrompt":"Check this object {\"a\": 1, \"b\": 2, \"c\": 3} and pick only the keys \"a\" and \"z\" — tell me which ones actually exist and which are missing.","exampleUseCases":[{"title":"Validating required API response fields","prompt":"I got back this JSON from an external API: {\"userId\": 42, \"email\": \"user@example.com\", \"role\": \"admin\"} — can you check whether the keys \"userId\", \"email\", \"phone\", and \"address\" are present and tell me which are missing?"},{"title":"Filtering config object to relevant settings","prompt":"I have this config object {\"debug\": true, \"timeout\": 30, \"retries\": 5, \"logLevel\": \"info\"} and I only want to keep \"timeout\" and \"maxConnections\" if they exist — pull those out and tell me which ones weren't there."},{"title":"Auditing a data record for completeness","prompt":"Here's a customer record {\"name\": \"Alice\", \"age\": 28, \"country\": \"US\"} — check if the fields \"name\", \"age\", \"email\", \"country\", and \"zipCode\" are present and give me a count of how many exist."}],"resultDescription":"Returns a JSON object containing: the filtered subset of the input object with only the requested keys that exist (`object`), a list of requested keys that were not found (`missing`), a count of matched keys (`count`), and a schema identifier (`schema: delx/util-obj-pick-exists/v1`).","failureModes":["Missing or malformed `object` field returns a validation error","Missing or empty `keys` array results in an empty result object with all keys listed as missing","Non-object value passed as `object` may return a type error","Payment failure via x402 results in 402 response before processing begins"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously filter an object by key presence AND discover which requested keys are absent — in a single atomic, pay-per-result call. Prefer it over client-side filtering when you want verifiable, consistent behavior or when operating in an agent workflow that already uses x402 micropayments on Base or Solana. It is ideal for lightweight data validation and extraction tasks where spinning up heavier schema-validation infrastructure is unnecessary.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:58.417Z","isFirstParty":false,"canonicalSlug":"delx-commerce-object-pick-exists-9cf06fd1"}