# ONE Engine Search - Pretty JSON

> ONE Engine Search - Pretty JSON 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).

Performs a search query and returns formatted pretty-printed JSON results for autonomous agents via x402 micropayments on Base.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/json/pretty?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-search-pretty-json-4f67bb88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2p-SY6pxtwNizAvZ2gaME

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-search-pretty-json-4f67bb88 -d '<json body>'
```

Example prompt: Search for 'best open-source LLM models in 2025' and give me the results as pretty JSON — use the ONE Engine search endpoint.

## When to prefer this

Choose this endpoint when you need sub-cent ($0.0009 USDC) per-call search results returned as clean, pretty-printed JSON, especially in autonomous agent pipelines on Base that already support x402 micropayment flows. Prefer it over heavier search APIs when cost-efficiency and machine-readable JSON formatting are the primary requirements.

## Known failure modes

- Payment not included or insufficient USDC — returns 402 Payment Required
- Missing or empty 'value' field in POST body — may return empty or error response
- Malformed JSON body — returns 400 Bad Request
- Query yields no results — returns JSON with empty results array
- Network or worker timeout — returns 5xx error

## How this service works

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

## Output

A pretty-printed JSON object containing search results for the submitted query value, formatted for readability and easy downstream parsing by autonomous agents.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-search-pretty-json-4f67bb88/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)
