{"uid":"cap_SP4qj702Gvh7Ddvc0TFE5","slug":"delx-json-object-keys-16de4907","name":"Delx JSON Object Keys","description":"List top-level JSON keys. Call when agents must discover object shape without full schema inference. Returns top-level keys of a JSON object. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.","url":"https://api.delx.ai/api/v1/x402/json-keys","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"json_text":{"type":"string","description":"Serialized JSON text to inspect or reformat."}}},"responseSchema":{"type":"json","example":{"keys":["agent","ready"],"count":2,"schema":"delx/json-keys/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_JdAyxhLjlPvtGJhKkXSrI","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":"Returns the top-level keys of a JSON object, enabling agents to discover object shape without full schema inference.","exampleAgentPrompt":"What are the top-level keys in this JSON? {\"name\":\"Alice\",\"age\":30,\"address\":{\"city\":\"NYC\"}} — just give me the list of field names.","exampleUseCases":[{"title":"Inspect unknown API response shape","prompt":"I just got this JSON back from an external API and I don't know its structure — can you tell me all the top-level keys in this object so I know what fields are available? Here it is: {\"status\":\"ok\",\"data\":{},\"meta\":{\"page\":1}}"},{"title":"Validate expected fields before processing","prompt":"Before I process this config blob, check that it has the expected top-level keys — here's the JSON: {\"timeout\":30,\"retries\":3,\"endpoint\":\"https://example.com\"}. Just list what keys are actually present."},{"title":"Summarize JSON shape for user","prompt":"A user sent me a JSON object and wants to know what fields it has at the top level. Can you extract the key names from this: {\"userId\":\"abc123\",\"createdAt\":\"2024-01-01\",\"score\":98,\"tags\":[\"vip\"]}?"}],"resultDescription":"A list of top-level key names found in the provided JSON object, allowing the agent to understand the object's shape without performing full schema inference.","failureModes":["Input is not valid JSON — endpoint returns a structured validation error and no charge is applied","Input is a JSON array or primitive rather than an object — may return an empty list or error","Empty JSON object input returns an empty key list","Malformed or truncated JSON string causes a parse error"],"whenToPreferThis":"Choose this endpoint when an agent needs to quickly enumerate the fields of an unknown or dynamic JSON object without performing full schema inference or parsing. It is ideal for preflight checks before data processing, validating expected fields, or summarizing object shape to a user. At $0.001 USDC with no API key required, it is lightweight and cost-effective for high-frequency structural inspection tasks within agentic pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:27.946Z","isFirstParty":false}