{"uid":"cap__RGxRP9tAYebnoxsuoHiD","slug":"x402-toolbox-json-minify-48df412e","name":"x402-toolbox JSON Minify","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/util/json-minify?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IWp6k2IArSutlhxR0BUYb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Minifies a JSON string by removing whitespace and formatting to produce a compact representation","exampleAgentPrompt":"Can you minify this JSON for me? { \"name\": \"Alice\", \"age\": 30, \"city\": \"New York\" } — strip all the whitespace and indentation so it's as compact as possible.","exampleUseCases":[{"title":"Compact API payload before transmission","prompt":"I need to minify this JSON before sending it as an API payload — can you strip all the whitespace out of it? { \"user\": { \"id\": 42, \"name\": \"Bob\" }, \"action\": \"login\" }"},{"title":"Reduce config file size for storage","prompt":"Can you compress this JSON config by removing all indentation and whitespace so it takes up less space? Here it is: { \"debug\": false, \"timeout\": 3000, \"retries\": 5 }"},{"title":"Normalize JSON for comparison or hashing","prompt":"I want to compare two JSON objects — can you minify this one first to strip all formatting so I can hash it? { \"key\": \"value\", \"list\": [1, 2, 3] }"}],"resultDescription":"Returns a JSON object with ok: true, paid: true, and the minified (whitespace-stripped, compact) version of the input JSON string.","failureModes":["Invalid or malformed JSON input returns an error response","Empty or missing schema parameter may return an error","Network timeouts if the Cloudflare Worker is cold-starting","Payment failure via x402 protocol if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a simple, no-signup, pay-per-call JSON minification utility that works within the x402 micropayment ecosystem on Base/USDC. Ideal for AI agents that already handle x402 payments and need deterministic JSON compression without managing API keys or accounts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:39.008Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-json-minify-48df412e"}