{"uid":"cap_iziF_Dn-iiGF7lS1xdK4i","slug":"vextorium-json-inspector-b0bcf000","name":"Vextorium JSON Inspector","description":"Validate JSON (with line and column of the error), pretty-print or minify it, describe its structure (depth, keys, value types) and extract a value by path such as data.items[0].price.","url":"https://api.vextorium.com/inspeccionar-json-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["texto"],"properties":{"ruta":{"type":"string","description":"Path to extract, e.g. data.items[0].price (optional)"},"texto":{"type":"string","description":"JSON text (up to 2 MB)"},"formato":{"enum":["bonito","minificado","ninguno"],"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"ruta":{"type":["string","null"]},"bytes":{"type":["number","null"]},"valor":{"type":["number","null"]},"arrays":{"type":["number","null"]},"valido":{"type":["boolean","null"]},"objetos":{"type":["number","null"]},"tipo_raiz":{"type":["string","null"]},"formateado":{"type":["string","null"]},"profundidad":{"type":["number","null"]},"ahorro_bytes":{"type":["number","null"]},"claves_distintas":{"type":["array","null"],"items":{"type":["null","string"]}},"valores_por_tipo":{"type":["object","null"],"properties":{"number":{"type":["number","null"]},"string":{"type":["number","null"]}}}}}}}}},"responseSchema":{"type":"json","example":{"ruta":"data.items[0].price","bytes":43,"valor":3,"arrays":1,"valido":true,"objetos":3,"tipo_raiz":"object","formateado":"{\"data\":{\"items\":[{\"name\":\"A\",\"price\":3}]}}","profundidad":4,"ahorro_bytes":0,"claves_distintas":["data","items","name","price"],"valores_por_tipo":{"number":1,"string":1}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ekAET9IR5NuMYeDWDF34q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates JSON (with error line/column), pretty-prints or minifies it, describes its structure (depth, keys, value types), and extracts a value by dot-bracket path.","exampleAgentPrompt":"Can you validate this JSON for me and tell me exactly where the error is, then pretty-print it and tell me how deep it is: '{\"data\":{\"items\":[{\"name\":\"Widget\",\"price\":9.99}'?","exampleUseCases":[{"title":"Debug malformed API response","prompt":"I got this JSON back from an API and it's failing to parse — can you validate it and tell me which line and column has the syntax error? Here it is: '{\"users\":[{\"id\":1,\"name\":\"Alice\"},{\"id\":2,\"name\":\"Bob\"}'"},{"title":"Inspect nested JSON structure","prompt":"Can you analyze the structure of this JSON for me — tell me how deep it is, what distinct keys it has, how many arrays and objects, and what value types appear? JSON: '{\"store\":{\"books\":[{\"title\":\"Dune\",\"price\":12.99},{\"title\":\"Foundation\",\"price\":9.99}],\"open\":true}}'"},{"title":"Extract specific value by path","prompt":"From this JSON, extract the value at path data.items[0].price and also minify the whole thing so I can log it compactly: '{\"data\":{\"items\":[{\"name\":\"Widget\",\"price\":42.50}]}}'"}],"resultDescription":"Returns a JSON object with: 'valido' (boolean validity), error location if invalid, 'formateado' (pretty-printed or minified JSON string), 'profundidad' (nesting depth), 'claves_distintas' (array of unique keys), 'objetos' (object count), 'arrays' (array count), 'valores_por_tipo' (count of each value type), 'bytes' (size), 'ahorro_bytes' (bytes saved by minification), 'tipo_raiz' (root type), and 'valor' (extracted value at the given path if 'ruta' was provided).","failureModes":["Input JSON exceeds 2 MB limit","Invalid or non-existent dot-bracket path returns null valor","Malformed request body missing required 'texto' field","Network timeout on very large JSON documents","Invalid format enum value causes request rejection"],"whenToPreferThis":"Choose this endpoint when you need to validate JSON and pinpoint the exact error location (line and column), inspect the structural properties of a JSON document, transform formatting (pretty or minify), or extract a deeply nested value by dot-bracket path — all in a single call. It is purpose-built for JSON inspection tasks that combine validation, structural analysis, and value extraction without requiring a full JSON parsing library on the client side.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:20.190Z","isFirstParty":false,"canonicalSlug":"vextorium-json-inspector-b0bcf000"}