{"uid":"cap_DMw_28yNM9vKd5GhZUBe6","slug":"delx-commerce-json-keys-extractor-b43fab89","name":"Delx Commerce JSON Keys Extractor","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-keys?utm_source=zero.xyz","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_kjXwnVfspGJ4_rW5ZJ4yC","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":"Extracts and lists the top-level keys from a serialized JSON text string, returning their names and count.","exampleAgentPrompt":"Can you pull out all the top-level keys from this JSON for me: {\"agent\":\"ready\",\"status\":\"ok\",\"count\":5}?","exampleUseCases":[{"title":"Inspect unknown API response structure","prompt":"I got this JSON back from an API and I have no idea what fields are in it — can you extract all the top-level keys so I know what I'm working with? Here's the payload: {\"user_id\":\"abc123\",\"created_at\":\"2024-01-01\",\"roles\":[\"admin\"],\"verified\":true}"},{"title":"Validate expected JSON schema keys","prompt":"I need to check what keys are present in this JSON before processing it downstream — can you list all the top-level field names and how many there are? The JSON is: {\"order_id\":\"X99\",\"amount\":42.5,\"currency\":\"USD\",\"items\":[]}"},{"title":"Summarize dynamic config file keys","prompt":"I have a config JSON from a user submission and I just need to know what top-level properties it defines — can you enumerate the keys? Here it is: {\"theme\":\"dark\",\"locale\":\"en-US\",\"notifications\":true,\"max_retries\":3}"}],"resultDescription":"Returns a JSON object containing an array of top-level key names found in the input JSON text, the count of those keys, and a schema identifier string (e.g. 'delx/json-keys/v1').","failureModes":["Invalid or malformed JSON input causes a parse error response","Empty string input returns zero keys or an error","Deeply nested JSON returns only top-level keys, not nested keys — users expecting full recursive key extraction may be surprised","Payment failure or insufficient USDC balance results in HTTP 402 rejection before processing"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use, no-signup solution for extracting top-level key names from a JSON string — especially in agent workflows where USDC micropayment via x402 is already integrated and you want verifiable, per-call billing without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:00.404Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-keys-extractor-b43fab89"}