# ONE Engine JSON First-Keys Extractor (p3/t2)

> ONE Engine JSON First-Keys Extractor (p3/t2) is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0007/call, status unknown (last checked 2026-10-14).

Returns the first N keys of a JSON object with tier-2 diagnostics, where N=3 is fixed by the parameter.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v8/record-process/first-keys/p3/t2?utm_source=zero.xyz
- Price: $0.0007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-json-first-keys-extractor-p3-t2-a1da435d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bYlsi4wcmRm7uQYo6bTqC

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-first-keys-extractor-p3-t2-a1da435d -d '<json body>'
```

Example prompt: Can you pull the first 3 keys from this JSON object for me? Here it is: {"name": "Alice", "age": 30, "city": "NY", "country": "US", "zip": "10001"}

## When to prefer this

Choose this endpoint when you need a deterministic, low-cost utility to extract the first 3 keys from a JSON object, especially in agent pipelines where predictable key-slicing behavior and diagnostic metadata at tier 2 are required. It is ideal for lightweight JSON inspection tasks where you want a fixed-parameter operation without implementing custom logic.

## Known failure modes

- Invalid JSON input causes parse error and non-200 response
- Empty JSON object returns empty key list
- Payment failure via x402 returns 402 status blocking execution
- Malformed request body results in processing error
- Object with fewer than 3 keys returns only available keys

## How this service works

Deterministic JSON object processing utility: Return first object keys; parameter=3. Tier 2/10 provides progressively richer diagnostics.

## Output

Returns the first 3 keys found in the submitted JSON object, along with tier-2 diagnostic metadata such as processing status, key count, and enriched output details about the extraction operation.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-json-first-keys-extractor-p3-t2-a1da435d/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)
