{"uid":"cap_0rnFB25N5nSgxyX7A2F38","slug":"delx-commerce-json-type-name-utility-571ea44d","name":"Delx Commerce — JSON Type Name Utility","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-name?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"array","description":"Input field: value."}}},"responseSchema":{"type":"json","example":{"type":"array","schema":"delx/util-json-type-name/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_rJyDNmu2q5bXbYRc2JgoX","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 JSON type name (e.g. 'array', 'object', 'string', 'null') for a given JSON value via a pay-per-result API","exampleAgentPrompt":"What is the JSON type name of this value: [1, 2, 3]? I need to know whether it's classified as an array, object, or something else.","exampleUseCases":[{"title":"Dynamic JSON field type detection","prompt":"I have this JSON value coming from an API: {\"key\": \"hello\"} — can you tell me its JSON type name so I can route it correctly in my pipeline?"},{"title":"Runtime type validation in agent workflow","prompt":"Before I process this data, can you check the JSON type name of this value: null — is it null, object, or something else?"},{"title":"Schema enforcement pre-check","prompt":"I'm building a data validator and need to know the JSON type name of this value: [true, false, true] — please classify it for me."}],"resultDescription":"Returns a JSON object containing the type name of the input value according to JSON type conventions (e.g. 'array', 'object', 'string', 'number', 'boolean', 'null'), conforming to the delx/util-json-type-name/v1 schema.","failureModes":["Missing or malformed 'value' field in request body returns an error","Payment not completed via x402 (USDC on Base or Solana) results in 402 Payment Required","Invalid JSON submitted as input may cause parsing failure","Network timeout or service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call utility to programmatically determine the JSON type name of an arbitrary value without setting up an account or subscription. Ideal for agent pipelines that need dynamic type inspection at low cost ($0.001 USDC per call) with verifiable delivery.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:39:42.642Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-type-name-utility-571ea44d"}