{"uid":"cap_uyqAUN4i_QxPlCjKKm0KW","slug":"delx-commerce-json-pretty-printer-be7bc6c8","name":"Delx Commerce — JSON Pretty Printer","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-pretty?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":{"text":"{\n  \"agent\": \"delx\",\n  \"ready\": true\n}","schema":"delx/json-pretty/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_xWWM2Za4TrUKUzGY9UJn5","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":"Reformats and inspects serialized JSON text into a human-readable pretty-printed format with consistent indentation.","exampleAgentPrompt":"Can you pretty-print this JSON for me so it's readable? Here's the raw text: {\"agent\":\"delx\",\"ready\":true,\"version\":3}","exampleUseCases":[{"title":"Debugging minified API response","prompt":"I got this minified JSON back from an API and can't read it — can you reformat it with proper indentation? Here it is: {\"status\":\"ok\",\"data\":{\"id\":42,\"name\":\"test\",\"active\":true}}"},{"title":"Formatting config file for review","prompt":"I have a config file that got compressed into one line. Can you pretty-print this JSON so I can review the structure? {\"env\":\"production\",\"db\":{\"host\":\"localhost\",\"port\":5432},\"debug\":false}"},{"title":"Making log output readable","prompt":"Our logging system spits out dense JSON blobs. Can you take this and format it with nice indentation so it's easier to read? {\"timestamp\":\"2024-01-15T10:30:00Z\",\"level\":\"error\",\"message\":\"connection refused\",\"retries\":3}"}],"resultDescription":"Returns the input JSON text reformatted as a pretty-printed, indented multi-line string with consistent whitespace, making nested structures and key-value pairs easy to read. The response includes the formatted text and a schema identifier (delx/json-pretty/v1).","failureModes":["Invalid or malformed JSON input — the API may return an error or unparseable result if the input string is not valid JSON","Empty input — submitting an empty json_text may result in an error response","Extremely large JSON payloads may hit size or timeout limits","Non-JSON text submitted as input will fail to parse and format correctly"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-signup, pay-per-call JSON formatting operation with USDC micropayment via x402 protocol. Ideal for AI agents that need to display JSON readably without maintaining API credentials or subscriptions. Best when the caller already operates in a USDC/Base or Solana payment context and wants verifiable delivery.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:58.931Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-pretty-printer-be7bc6c8"}