# Json Minifier — REST API endpoint `json-minifier`

Minify JSON to a single line with no whitespace and return the compact text plus original size, minified size (bytes), and reduction percentage. The input must be valid JSON; a parse error is reported with its position.

- Category: data
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/json-minifier/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/json-minifier/
- Same tool on the other surface: https://findutils.com/mcp/json-minifier/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/json-minifier/execute \
  -H "Content-Type: application/json" \
  -d '{
    "json": "{ \"a\": 1, \"b\": [1, 2] }"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/json-minifier
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `json` | string | yes | The JSON text to minify. |

Example arguments (verified):

```json
{
  "json": "{ \"a\": 1, \"b\": [1, 2] }"
}
```

Decoded `json` argument (readability only — send it as a string):

```json
{
  "a": 1,
  "b": [
    1,
    2
  ]
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:json_minifier`. Full MCP reference: https://findutils.com/mcp/json-minifier/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
