{"uid":"cap_RT48qwetziFDcjangj90X","slug":"delx-json-minify-b99606a0","name":"Delx JSON Minify","description":"Minify JSON. Use to shrink payloads before cache, transport, or signature steps. Returns compact JSON text without changing values. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.","url":"https://api.delx.ai/api/v1/x402/json-minify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"json_text":{"type":"string","description":"Serialized JSON text to inspect or reformat."}}},"responseSchema":{"type":"json","example":{"text":"{\"agent\":\"delx\",\"ready\":true}","schema":"delx/json-minify/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_Wxewl2jAk4G6ZdP0RZjBy","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 JSON text to produce a compact, value-preserving minified string.","exampleAgentPrompt":"Can you minify this JSON for me so it's compact before I send it? Here's the text: {\"name\": \"Alice\", \"age\": 30, \"active\": true}","exampleUseCases":[{"title":"Shrink payload before API signing","prompt":"I need to minify this JSON before I hash and sign it — can you strip all the whitespace? Here's the payload: {\"order_id\": \"abc123\", \"amount\": 50, \"currency\": \"USD\"}"},{"title":"Compact JSON for cache key","prompt":"Before I store this response in my cache, can you minify the JSON so the key is as small as possible? The text is: {  \"user\": \"bob\",  \"role\": \"admin\",  \"expires\": 1720000000  }"},{"title":"Reduce webhook body size","prompt":"I want to shrink this webhook payload before sending it downstream — please minify the JSON: {\"event\": \"purchase\", \"product\": \"widget\", \"qty\": 2, \"price\": 9.99}"}],"resultDescription":"A compact JSON string with all unnecessary whitespace, indentation, and newlines removed, but with all values and structure preserved exactly. The response is plain minified JSON text ready for cache, transport, hashing, or signature steps.","failureModes":["Invalid JSON input returns a structured validation error (not billed)","Empty or missing json_text field returns a validation error","Malformed or truncated JSON returns an error without charging","Payment failure or insufficient USDC balance prevents call execution"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, value-preserving JSON minification with no API key or subscription overhead. Ideal for agents that need to shrink payloads before caching, transport, hashing, or signing, and want a pay-per-call model with no charge on input errors. Prefer over client-side minification when running in environments without a JSON library or when auditability of the transformation matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:52:50.699Z","isFirstParty":false}