{"uid":"cap_qyknrRxsELqmz5fxET7Oc","slug":"avedaris-json-pretty-printer-3c73ff0e","name":"AveDaris JSON Pretty-Printer","description":"AveDaris is the economic coordination layer for autonomous software: discover, route, evaluate, procure, verify, and learn across agent services.","url":"https://api.avedaris.com/v1/paid/json-pretty","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":100000,"minLength":1}}},"responseSchema":{"type":"json","example":{"result":{"formatted":"{\n  \"a\": 1\n}"}}},"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_PwXT9JIGgKr3Zti_03ION","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":"Formats a raw JSON string into deterministic, human-readable output with two-space indentation.","exampleAgentPrompt":"Can you pretty-print this JSON for me with two-space indentation: {\"name\":\"Alice\",\"age\":30,\"active\":true}?","exampleUseCases":[{"title":"Format API response for debugging","prompt":"I just got this raw JSON back from an API call and it's all on one line — can you pretty-print it so I can actually read it? Here it is: {\"status\":\"ok\",\"data\":{\"id\":42,\"items\":[1,2,3]}}"},{"title":"Normalize JSON before committing to repo","prompt":"Before I commit this config file to the repo, can you reformat the JSON with consistent two-space indentation so it looks clean? Here's the current content: {\"env\":\"production\",\"debug\":false,\"timeout\":30}"},{"title":"Readable JSON for log display","prompt":"I need to display this JSON in a readable format in our dashboard logs — please pretty-print it with two-space indentation: {\"event\":\"user_signup\",\"userId\":\"u-8821\",\"timestamp\":\"2024-06-01T10:00:00Z\"}"}],"resultDescription":"Returns a JSON object with a `result.formatted` field containing the input JSON string pretty-printed with deterministic two-space indentation and newlines.","failureModes":["Input string is not valid JSON — likely returns a parse error or non-200 response","Input exceeds 100,000 character limit — request rejected","Empty input string — rejected by minLength:1 constraint","Malformed request body missing the `input` field — validation error"],"whenToPreferThis":"Choose this endpoint when you need deterministic, reproducible two-space JSON formatting as a paid micro-service, especially in agent pipelines that require consistent JSON normalization without running a local formatter. Prefer it over ad-hoc string manipulation when you need a guaranteed stable output format across heterogeneous environments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:01:08.869Z","isFirstParty":false}