{"uid":"cap_GyyOT-3dcYxnaItoJ9qi6","slug":"one-engine-json-minify-54111709","name":"ONE Engine JSON Minify","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/json/minify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{}}},"responseSchema":{"type":"json","example":{"text":"{\"hello\":\"world\",\"count\":2}"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0009","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.0009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZA9WOhKKeEHLWT5ordS6o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Minifies a JSON value by removing whitespace and returning a compact string representation.","exampleAgentPrompt":"Take this JSON object and minify it into a single compact string with no extra whitespace: {\"hello\": \"world\", \"count\": 2}.","exampleUseCases":[{"title":"Compact payload before API forwarding","prompt":"I need to send this JSON config to another service but it's too bulky — can you strip all the whitespace and give me a minified version? Here's the object: {\"user\": \"alice\", \"role\": \"admin\", \"active\": true}."},{"title":"Reduce prompt token usage","prompt":"This JSON is pretty-printed and taking up too many tokens in my prompt. Minify it into one line for me: {\"items\": [1, 2, 3], \"total\": 3, \"page\": 1}."},{"title":"Normalize JSON for hashing or comparison","prompt":"I want to compare two JSON blobs for equality after minifying them both — start by minifying this one: {\"key\": \"value\",   \"nested\": {\"a\": 1}}."}],"resultDescription":"A JSON response containing a 'text' field with the input value serialized as a compact, whitespace-stripped JSON string (e.g. '{\"hello\":\"world\",\"count\":2}').","failureModes":["Invalid or malformed JSON input may result in an error response or unexpected output","Missing 'value' field in the request body may return an error","Non-serializable inputs may cause processing failures","Network or worker errors may return 5xx responses"],"whenToPreferThis":"Choose this endpoint when you need a cheap, pay-per-call JSON minification utility with no setup, especially within an agent workflow on Base using x402 micropayments. Ideal when you want deterministic, lossless whitespace removal without spinning up a local parser or depending on a free-tier API with rate limits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:46.426Z","isFirstParty":false,"canonicalSlug":"one-engine-json-minify-54111709"}