{"uid":"cap_0wV73_3bALLBAEYJ9UqpH","slug":"delx-commerce-json-type-inspector-cff1e760","name":"Delx Commerce JSON Type Inspector","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-type?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":{"size":2,"schema":"delx/json-type/v1","root_type":"dict"}},"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_4r4cv4Yk9UY42LImNd-Db","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":"Inspects and analyzes serialized JSON text to determine its root type, size, and schema structure","exampleAgentPrompt":"Can you inspect this JSON string and tell me what type it is at the root level and how large it is: '{\"name\":\"Alice\",\"age\":30}'?","exampleUseCases":[{"title":"Validate incoming webhook payload type","prompt":"I'm receiving webhook payloads from a third-party service and I need to know if the root is a dict or an array before processing — can you check this JSON string for me: '[{\"event\":\"purchase\",\"id\":42}]'?"},{"title":"Debugging unexpected API response format","prompt":"Our API is returning weird data and I'm not sure if the response is a nested dict or a list — can you inspect this JSON and tell me the root type and size: '{\"results\":{\"items\":[1,2,3]}}'?"},{"title":"Schema classification before pipeline ingestion","prompt":"Before I feed this JSON into my data pipeline I need to know its root structure and schema class — please analyze: '{\"timestamp\":\"2024-01-01\",\"value\":99.5,\"tags\":[\"sensor\",\"temp\"]}'"}],"resultDescription":"Returns a JSON object containing the size (number of top-level keys or items), the schema identifier (e.g. 'delx/json-type/v1'), and the root type of the parsed JSON (e.g. 'dict', 'list', 'string', 'number').","failureModes":["Invalid or malformed JSON text returns an error or unexpected result","Empty string input may result in a parsing error","Very large JSON payloads may be truncated or rejected","Payment failure via x402 protocol prevents request from being processed"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap, pay-per-call inspection of a JSON string to determine its root type and structure without setting up an account or subscription. Ideal for AI agents that occasionally need to classify JSON blobs as part of a larger pipeline, especially when no local JSON parsing is available or desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:36:24.808Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-type-inspector-cff1e760"}