{"uid":"cap_YwaFW2nLJBamcL-1pIoln","slug":"json-minify-tool-x402-micropayment-c84b72b4","name":"JSON Minify Tool (x402 Micropayment)","description":"Parse and minify JSON text or a JSON value without calling an upstream model. Pay up to $0.001 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.","url":"https://gpt55.558686.xyz/v1/tools/json-minify","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","additionalProperties":true},"queryParams":{"type":"object","properties":{"json":{"oneOf":[{"type":"string"},{"type":"object","additionalProperties":true},{"type":"array"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"text":{"type":"string"},"value":{"description":"Any JSON value"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"fetchedAt":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"json":{"age":30,"name":"Alice","tags":["user","verified"],"active":true}}},"output":{"type":"object","example":{"ok":true,"tool":"json-minify","fetchedAt":"2024-01-15T10:30:00Z"}}},"response":{"ok":true,"tool":"jsonMinify","bytes":66,"chars":66,"valid":true,"minified":"{\"name\":\"Alice\",\"age\":30,\"active\":true,\"tags\":[\"user\",\"verified\"]}","fetchedAt":"2026-06-18T06:21:36.156Z"}},"exampleRequest":{"json":{"age":30,"name":"Alice","tags":["user","verified"],"active":true}},"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0001/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_nsaQ_elMeGdZjN_Zr2Ci5","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":"Removes whitespace and compresses a JSON value into its minified form via a micropayment-gated GET endpoint.","exampleAgentPrompt":"Can you minify this JSON for me so it has no extra whitespace or newlines? Here it is: { \"name\": \"Alice\", \"age\": 30, \"active\": true }","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok=true, the tool name 'jsonMinify', a minified version of the input JSON, and a fetchedAt timestamp. Costs $0.0001 USDC per call via x402 on Base.","failureModes":["Invalid or malformed JSON input returns an error response","Missing required 'json', 'text', or 'value' query param causes a 400-level error","Payment failure or insufficient USDC balance causes a 402 Payment Required response","Network or gateway timeout on the x402 infrastructure"],"whenToPreferThis":"Use this endpoint when you need a cheap, stateless, pay-per-use JSON minification tool without a subscription, especially in x402-enabled USDC micropayment workflows on Base. Prefer it when the caller already has x402 payment infrastructure set up and wants a simple GET-based utility.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:38:13.736Z","isFirstParty":false}