{"openapi":"3.1.0","info":{"title":"json-tool","version":"1.1.0","description":"JSON toolbox API for agents: validate with error line/column, pretty-print, minify, JSON↔CSV, JSON→YAML, JSON→TOON (token-compact for LLMs) and structural diff. $0.001 per call via x402 (USDC on Base). Free demo, no account.","x-guidance":"Transforms JSON. Input: op (validate, format, minify, to-csv, from-csv, to-yaml, to-toon, diff) plus JSON text. Output: result or error line/column. Call to validate, convert or compact JSON for LLMs.","contact":{"name":"Space Command Kits","email":"spacecommand+circle@mail.grokbot.com","url":"https://json-tool.restockalarm.workers.dev/"}},"externalDocs":{"description":"Docs, free demo and pricing","url":"https://json-tool.restockalarm.workers.dev/"},"servers":[{"url":"https://json-tool.restockalarm.workers.dev"}],"paths":{"/v1/json":{"post":{"operationId":"postV1Json","summary":"JSON op on the request body: validate, format, minify, to-csv, from-csv, to-yaml, to-toon, diff","description":"JSON op on the request body: validate, format, minify, to-csv, from-csv, to-yaml, to-toon, diff. $0.001 USDC per call via x402 (Base or Polygon).","x-guidance":"Transforms JSON. Input: op (validate, format, minify, to-csv, from-csv, to-yaml, to-toon, diff) plus JSON text. Output: result or error line/column. Call to validate, convert or compact JSON for LLMs.","tags":["json-tool"],"parameters":[{"name":"op","in":"query","required":true,"description":"validate|format|minify|to-csv|from-csv|to-yaml|to-toon|diff","schema":{"type":"string"}},{"name":"indent","in":"query","required":false,"description":"format indent 0–8","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{"users":[{"id":1,"name":"Ann"}]}}}},"x-payment-info":{"price":{"mode":"fixed","currency":"USDC","amount":"0.001000"},"protocols":[{"x402":{}}],"networks":["eip155:8453","eip155:137"],"payTo":"0x7B97303d62517eA9E26D1E1b199Eac42a487F430"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{"op":"to-toon","output":"users[1]{id,name}:\n  1,Ann"}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required (x402)"}}}},"/v1/json-get":{"get":{"operationId":"getV1JsonGet","summary":"Same as POST /v1/json for small inputs via ?input=","description":"Same as POST /v1/json for small inputs via ?input=. $0.001 USDC per call via x402 (Base or Polygon).","x-guidance":"Transforms JSON. Input: op (validate, format, minify, to-csv, from-csv, to-yaml, to-toon, diff) plus JSON text. Output: result or error line/column. Call to validate, convert or compact JSON for LLMs.","tags":["json-tool"],"parameters":[{"name":"op","in":"query","required":true,"description":"validate|format|minify|to-csv|from-csv|to-yaml|to-toon|diff","schema":{"type":"string"}},{"name":"input","in":"query","required":true,"description":"JSON text (URL-encoded)","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USDC","amount":"0.001000"},"protocols":[{"x402":{}}],"networks":["eip155:8453","eip155:137"],"payTo":"0x7B97303d62517eA9E26D1E1b199Eac42a487F430"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{"op":"validate","valid":true,"type":"object"}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required (x402)"}}}}}}