# ONE Engine JSON Minify

> ONE Engine JSON Minify is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0009/call, status unknown (last checked 2026-10-02).

Minifies a JSON value by removing whitespace and returning a compact string representation.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/json/minify?utm_source=zero.xyz
- Price: $0.0009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-json-minify-54111709
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GyyOT-3dcYxnaItoJ9qi6

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 one-engine-json-minify-54111709 -d '<json body>'
```

Example prompt: Take this JSON object and minify it into a single compact string with no extra whitespace: {"hello": "world", "count": 2}.

## When to prefer this

Choose this endpoint when you need a cheap, pay-per-call JSON minification utility with no setup, especially within an agent workflow on Base using x402 micropayments. Ideal when you want deterministic, lossless whitespace removal without spinning up a local parser or depending on a free-tier API with rate limits.

## Known failure modes

- Invalid or malformed JSON input may result in an error response or unexpected output
- Missing 'value' field in the request body may return an error
- Non-serializable inputs may cause processing failures
- Network or worker errors may return 5xx responses

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

A JSON response containing a 'text' field with the input value serialized as a compact, whitespace-stripped JSON string (e.g. '{"hello":"world","count":2}').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {}
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "{\"hello\":\"world\",\"count\":2}"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-json-minify-54111709/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
