{"uid":"cap_-TOB0LJUypN8-xpYxKJOP","slug":"signaldesk-ai-json-minify-c312279d","name":"SignalDesk AI – JSON Minify","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/json/minify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"JSON value; bounded structure."}}},"responseSchema":{"type":"json","example":{"text":"{\"a\":1,\"b\":[2,3]}"}},"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_fnI9_bVBZuX55C61yDtnh","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":"Removes whitespace and formatting from a JSON value to produce a compact minified string representation.","exampleAgentPrompt":"Can you minify this JSON for me — strip all the whitespace and formatting so it's as compact as possible: {\"name\": \"Alice\", \"scores\": [10, 20, 30]}?","exampleUseCases":[{"title":"Compact JSON for API payload","prompt":"I need to minify this JSON object before sending it as a query parameter — can you strip all the whitespace? {\"user\": \"bob\", \"filters\": {\"active\": true, \"limit\": 50}}"},{"title":"Reduce config file size","prompt":"Take this pretty-printed config JSON and compress it down to a single line with no extra spaces: {\"host\": \"localhost\", \"port\": 8080, \"debug\": false}"},{"title":"Minify before storing in database","prompt":"Before I store this JSON blob in my database, can you minify it to save space? The data is: {\"id\": 42, \"tags\": [\"alpha\", \"beta\"], \"meta\": {\"created\": \"2024-01-01\"}}"}],"resultDescription":"Returns a JSON object containing a `text` field with the fully minified (whitespace-stripped) JSON as a compact string, e.g. {\"text\":\"{\\\"a\\\":1,\\\"b\\\":[2,3]}\"}","failureModes":["Invalid or malformed JSON input may cause a parsing error or unexpected output","Overly large or deeply nested JSON structures may exceed bounded execution limits and be rejected","Network or Cloudflare Worker errors may return non-200 HTTP status codes","Payment failure via x402 protocol may block the request before processing"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.001 USDC) serverless call to strip whitespace and compact a JSON value — especially useful in automated pipelines where payload size matters. Prefer it for bounded, small-to-medium JSON structures where a simple minification is all that's needed, rather than full JSON schema validation or transformation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:07.359Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-json-minify-c312279d"}