{"uid":"cap_TtM4_v0zFPsHsZRn-HPQh","slug":"delx-commerce-json-minify-d13e854a","name":"Delx Commerce JSON Minify","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-minify?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":"{\"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_zW_-rTctde6NJVCxLAuVK","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 minifies a JSON string to its most compact form, paid per-call via USDC on Base or Solana.","exampleAgentPrompt":"Can you minify this JSON for me? Take '{  \"agent\":  \"delx\",  \"ready\":  true  }' and strip all the whitespace so it's as compact as possible.","exampleUseCases":[{"title":"Compact payload before API call","prompt":"I have this pretty-printed JSON config I need to send in a request body — can you minify it so there's no extra whitespace? Here it is: { \"env\": \"prod\",  \"timeout\": 30,  \"debug\": false }"},{"title":"Reduce log file JSON size","prompt":"I'm storing a bunch of JSON objects in a log and want to save space. Can you minify this entry: { \"user_id\": 42,  \"action\": \"login\",  \"timestamp\": \"2024-01-15T10:00:00Z\" }?"},{"title":"Normalize JSON for hashing","prompt":"I need to canonicalize this JSON before I hash it — please minify it to remove any formatting differences: { \"order\": 1,  \"status\": \"pending\",  \"amount\": 99.99 }"}],"resultDescription":"Returns a compact, whitespace-stripped JSON string in the 'text' field of the response, along with a schema identifier ('delx/json-minify/v1'). The output is semantically equivalent to the input but with all unnecessary whitespace removed.","failureModes":["Invalid or malformed JSON input returns an error — the endpoint may reject non-parseable text","Empty or missing json_text field may result in a 400-level error","Payment failure or insufficient USDC balance will result in a 402 Payment Required response","Extremely large JSON payloads may be rejected or time out"],"whenToPreferThis":"Choose this endpoint when you need a simple, no-signup, pay-per-use JSON minification with verifiable delivery and micropayment billing via USDC. It is ideal for AI agents that need to process occasional JSON compaction tasks without committing to a subscription or managing API keys. It is less suited for bulk batch processing of thousands of JSON documents where a local library would be more cost-effective.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:50.005Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-minify-d13e854a"}