{"uid":"cap_ZpOQX6IJ_ia_ml9PaKQoV","slug":"docparse-json-utility-27e9877b","name":"DocParse JSON Utility","description":"Pay-per-call tools for AI agents: any document to clean Markdown (PDF, Word, Excel, PowerPoint, web pages); US company fundamentals, SEC filings and insider trades; Treasury yields; FRED macro data; official FX rates (ECB, Bank of Russia); hash, base64, JWT, UUID and JSON utilities. x402 USDC micropayments, no account or API key. Charged only on success.","url":"https://72-56-90-243.sslip.io/v1/util/json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["validate","pretty","minify"],"type":"string","description":"validate (default), pretty or minify"},"input":{"type":"string","description":"JSON text"},"indent":{"type":"integer","maximum":8,"minimum":0,"description":"Indent for pretty (default 2)"}}},"responseSchema":{"type":"json","example":{"line":1,"error":"Expected double-quoted property name in JSON at position 7","valid":false,"column":8}},"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_3Qy5v6K5dkMFcMLRF5bFw","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":"Validates, pretty-prints, or minifies a JSON string, returning parse errors with line/column info on failure","exampleAgentPrompt":"Can you validate this JSON for me and tell me if there are any syntax errors — if it's valid, pretty-print it with 4 spaces of indentation: {\"name\":\"Alice\",\"age\":30}","exampleUseCases":[{"title":"Debugging malformed API payload","prompt":"I'm getting a JSON parse error somewhere in this blob — can you validate it and tell me exactly which line and column the problem is on? Here's the text: {name: 'Alice', age: 30}"},{"title":"Formatting config file for readability","prompt":"Take this minified JSON config and pretty-print it with 2 spaces of indentation so my team can read it more easily: {\"host\":\"localhost\",\"port\":8080,\"debug\":true}"},{"title":"Compressing JSON before transmission","prompt":"Minify this JSON so I can include it as a compact payload — strip all the whitespace: { \"user\": { \"id\": 42, \"name\": \"Bob\" } }"}],"resultDescription":"Returns a JSON object with a 'valid' boolean field. On success (valid JSON), returns the processed text (pretty-printed or minified if requested). On failure, returns 'valid: false' plus an 'error' string describing the syntax problem along with 'line' and 'column' integers pinpointing where the error occurred.","failureModes":["Malformed input that is not JSON returns valid:false with line/column error location","Empty input string may return a validation error","Payment failure (x402) if USDC micropayment cannot be processed — no charge on failure","Indent value out of range (0–8) may be rejected","Mode enum value not matching validate/pretty/minify returns an error"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, no-account JSON utility — especially useful for AI agents that occasionally need to validate or reformat JSON as part of a larger workflow without setting up an API key. Ideal for lightweight, one-off validation or formatting tasks where the $0.001 USDC micropayment model fits better than integrating a heavier library or service. Prefer alternatives if you need bulk processing of many JSON documents simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:35:08.387Z","isFirstParty":false,"canonicalSlug":"docparse-json-utility-27e9877b"}