# Delx JSON Minify

> Delx JSON Minify is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Strips whitespace and formatting from JSON text to produce a compact, value-preserving minified string.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/json-minify
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-json-minify-b99606a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RT48qwetziFDcjangj90X

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 delx-json-minify-b99606a0 -d '<json body>'
```

Example prompt: Can you minify this JSON for me so it's compact before I send it? Here's the text: {"name": "Alice", "age": 30, "active": true}

## When to prefer this

Choose this endpoint when you need a deterministic, value-preserving JSON minification with no API key or subscription overhead. Ideal for agents that need to shrink payloads before caching, transport, hashing, or signing, and want a pay-per-call model with no charge on input errors. Prefer over client-side minification when running in environments without a JSON library or when auditability of the transformation matters.

## Known failure modes

- Invalid JSON input returns a structured validation error (not billed)
- Empty or missing json_text field returns a validation error
- Malformed or truncated JSON returns an error without charging
- Payment failure or insufficient USDC balance prevents call execution

## How this service works

Minify JSON. Use to shrink payloads before cache, transport, or signature steps. Returns compact JSON text without changing values. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

## Output

A compact JSON string with all unnecessary whitespace, indentation, and newlines removed, but with all values and structure preserved exactly. The response is plain minified JSON text ready for cache, transport, hashing, or signature steps.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json_text": {
   "type": "string",
   "description": "Serialized JSON text to inspect or reformat."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "{\"agent\":\"delx\",\"ready\":true}",
  "schema": "delx/json-minify/v1"
 }
}
```

## More

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