# JSON Minify Tool (x402 Micropayment)

> JSON Minify Tool (x402 Micropayment) is a paid API for AI agents from gpt55.558686.xyz, paid per call via x402, $0.0001/call, status unknown (last checked 2026-09-16).

Removes whitespace and compresses a JSON value into its minified form via a micropayment-gated GET endpoint.

## Facts

- Endpoint: GET https://gpt55.558686.xyz/v1/tools/json-minify
- Price: $0.0001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-minify-tool-x402-micropayment-c84b72b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YwaFW2nLJBamcL-1pIoln

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability json-minify-tool-x402-micropayment-c84b72b4
```

Example prompt: Can you minify this JSON for me so it has no extra whitespace or newlines? Here it is: { "name": "Alice", "age": 30, "active": true }

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Example request

```json
{
 "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"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "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
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-minify-tool-x402-micropayment-c84b72b4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gpt55.558686.xyz](https://www.zero.xyz/host/gpt55.558686.xyz/llms.txt)
