{"uid":"cap_DjVVLyfAIeBVJwYZSEYSH","slug":"delx-commerce-object-key-existence-check-obj-has-c973260e","name":"Delx Commerce — Object Key Existence Check (obj-has)","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-has?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","description":"Input field: key."},"object":{"type":"object","description":"Input field: object."}}},"responseSchema":{"type":"json","example":{"has":true,"key":"a","schema":"delx/util-obj-has/v1"}},"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_sm6Z9YFH1Ubxik4AHC-47","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 specified key exists in a given JSON object, returning a boolean result","exampleAgentPrompt":"Check if the key 'email' exists in this object: {\"name\": \"Alice\", \"email\": \"alice@example.com\", \"age\": 30}.","exampleUseCases":[{"title":"API response field validation","prompt":"I'm getting a JSON response from a third-party API and need to know if the key 'user_id' is present in it before I try to use it — can you check this object for me: {\"status\": \"ok\", \"user_id\": 42}?"},{"title":"Pre-processing data pipeline guard","prompt":"Before my agent processes this record, I need to confirm that the key 'price' exists in the payload {\"item\": \"widget\", \"price\": 9.99, \"stock\": 5} — can you verify that for me?"},{"title":"Schema compliance spot-check","prompt":"Does the object {\"id\": \"abc123\", \"created_at\": \"2024-01-01\"} have the key 'updated_at'? I need to know before I try to read that field."}],"resultDescription":"Returns a JSON object with a boolean 'has' field (true/false indicating key presence), the 'key' that was checked, and a 'schema' identifier ('delx/util-obj-has/v1') confirming the result format.","failureModes":["Missing 'key' field in request body — likely returns an error or undefined behavior","Missing 'object' field in request body — likely returns an error","Payment failure via x402 protocol — endpoint returns 402 Payment Required if USDC payment is not attached","Malformed JSON object input — may return an error or unexpected result","Key is nested deeply — this endpoint likely only checks top-level keys"],"whenToPreferThis":"Use this endpoint when an AI agent needs a quick, cheap, pay-per-use check for key existence in a JSON object without setting up any account or subscription. Ideal for lightweight data validation steps in an automated pipeline where the agent pays per result via USDC. Prefer over in-code checks when you need verifiable, auditable delivery proof of the validation result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:55.427Z","isFirstParty":false,"canonicalSlug":"delx-commerce-object-key-existence-check-obj-has-c973260e"}