{"uid":"cap_nuc5hZHrvUFEuPDkRIADl","slug":"avedaris-json-minify-4a866095","name":"AveDaris JSON Minify","description":"Shrink JSON for transport: send valid JSON text and get the smallest equivalent form with whitespace removed and data unchanged. Use it to cut tokens or payload size. $0.001 USDC per call on Base.","url":"https://api.avedaris.com/v1/paid/json-minify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":100000,"minLength":1,"description":"JSON text to compact by removing whitespace, sent as a string. Must already be valid JSON. Up to 100,000 characters."}}},"responseSchema":{"type":"json","example":{"result":{"minified":"{\"a\":1}"}}},"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_j92aGZDKWIaU0HNXo7hNC","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":"Strips whitespace and formatting from valid JSON strings without altering the parsed data model","exampleAgentPrompt":"Can you minify this JSON for me — strip all the whitespace and formatting so it's compact but still valid: { \"name\": \"Alice\", \"age\": 30, \"active\": true }?","exampleUseCases":[{"title":"Compact API payload before sending","prompt":"I need to send this JSON config to an API but want to strip all the pretty-printing first so it's as small as possible — can you minify it: { \"host\": \"localhost\", \"port\": 8080, \"debug\": false }?"},{"title":"Reduce log storage footprint","prompt":"I'm storing a bunch of JSON log entries and they're taking up way too much space because they're all pretty-printed. Can you minify this one so I can see how compact it gets: { \"level\": \"info\", \"message\": \"user logged in\", \"timestamp\": \"2024-01-15T10:30:00Z\" }?"},{"title":"Prepare JSON for embedding in code","prompt":"I have this formatted JSON object I want to embed as a single-line string in my source code — can you strip out all the whitespace and newlines without changing the data: { \"theme\": \"dark\", \"language\": \"en\", \"notifications\": true }?"}],"resultDescription":"A compact, minified JSON string with all non-significant whitespace (spaces, tabs, newlines) removed. The parsed data model is identical to the input — only formatting characters are eliminated. The output is a valid JSON string ready for transmission or storage.","failureModes":["Invalid JSON input returns an error (input must be parseable JSON)","Input exceeding 100,000 characters is rejected due to maxLength constraint","Empty string input is rejected due to minLength constraint","Malformed JSON with syntax errors will not be processed"],"whenToPreferThis":"Use this endpoint when you need a reliable, paid API call to minify JSON without risk of data corruption — ideal for agent workflows that require guaranteed fidelity between input and output data models. Prefer over client-side minification when operating in sandboxed or restricted environments without direct code execution. Especially useful when the JSON must be validated as parseable before minification is attempted.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:40:16.448Z","isFirstParty":false,"canonicalSlug":"avedaris-json-minify-4a866095"}