{"uid":"cap_hW_7YR_Vc0fumGRAnRpzV","slug":"one-engine-object-keys-extractor-d38416e2","name":"ONE Engine Object Keys Extractor","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/object/keys?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"object"}}},"responseSchema":{"type":"json","example":{"keys":["a","b"],"count":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0009","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.0009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R5fNOeP07uBLGZP9rhroV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all keys from a given JSON object and returns them as an array with a count.","exampleAgentPrompt":"What are all the keys in this JSON object — { \"name\": \"Alice\", \"age\": 30, \"city\": \"NYC\" }? List every property name and how many there are.","exampleUseCases":[{"title":"Inspect unknown API response structure","prompt":"I just got back a JSON blob from an external API and I have no idea what fields it contains. Can you extract all the keys from this object so I know what properties are available: { \"id\": 42, \"timestamp\": 1700000000, \"payload\": { \"x\": 1 }, \"status\": \"ok\" }?"},{"title":"Validate config file keys","prompt":"Here's a config object from our deployment — { \"env\": \"prod\", \"region\": \"us-east\", \"debug\": false, \"timeout\": 30 } — can you pull out all the key names so I can check whether the required fields are present?"},{"title":"Compare schema fields across objects","prompt":"I have a data record — { \"first_name\": \"Bob\", \"last_name\": \"Smith\", \"email\": \"bob@example.com\", \"phone\": null } — can you list all the keys in it so I can see which fields this schema exposes?"}],"resultDescription":"Returns a JSON object containing a 'keys' array listing all top-level property names of the input object, and a 'count' integer indicating how many keys were found. Example: {\"keys\":[\"a\",\"b\"],\"count\":2}.","failureModes":["Missing or non-object 'value' field causes validation error","Deeply nested objects only have top-level keys extracted — nested keys are not recursively enumerated","Empty object returns keys:[] and count:0","Malformed JSON input returns parse error","Payment failure via x402 returns 402 status before processing"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call utility to quickly enumerate the top-level keys of a JSON object without spinning up local code execution. Ideal for AI agents operating in environments where running arbitrary code is restricted, or when inspecting unfamiliar API response shapes on-the-fly at minimal cost ($0.0009 USDC per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:36.035Z","isFirstParty":false,"canonicalSlug":"one-engine-object-keys-extractor-d38416e2"}