# AveDaris JSON Minify

> AveDaris JSON Minify is a paid API for AI agents from api.avedaris.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Strips whitespace and formatting from valid JSON strings without altering the parsed data model

## Facts

- Endpoint: POST https://api.avedaris.com/v1/paid/json-minify?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avedaris-json-minify-4a866095
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nuc5hZHrvUFEuPDkRIADl

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 avedaris-json-minify-4a866095 -d '<json body>'
```

Example prompt: Can you minify this JSON for me — strip all the whitespace and formatting so it's compact but still valid: { "name": "Alice", "age": 30, "active": true }?

## When to prefer this

Use this endpoint when you need a reliable, paid API call to minify JSON without risk of data corruption — ideal for agent workflows that require guaranteed fidelity between input and output data models. Prefer over client-side minification when operating in sandboxed or restricted environments without direct code execution. Especially useful when the JSON must be validated as parseable before minification is attempted.

## Known failure modes

- Invalid JSON input returns an error (input must be parseable JSON)
- Input exceeding 100,000 characters is rejected due to maxLength constraint
- Empty string input is rejected due to minLength constraint
- Malformed JSON with syntax errors will not be processed

## How this service works

Shrink JSON for transport: send valid JSON text and get the smallest equivalent form with whitespace removed and data unchanged. Use it to cut tokens or payload size. $0.001 USDC per call on Base.

## Output

A compact, minified JSON string with all non-significant whitespace (spaces, tabs, newlines) removed. The parsed data model is identical to the input — only formatting characters are eliminated. The output is a valid JSON string ready for transmission or storage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 100000,
   "minLength": 1,
   "description": "JSON text to compact by removing whitespace, sent as a string. Must already be valid JSON. Up to 100,000 characters."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "minified": "{\"a\":1}"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avedaris-json-minify-4a866095/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.avedaris.com](https://www.zero.xyz/host/api.avedaris.com/llms.txt)
