# ONE Engine Object Keys Extractor

> ONE Engine Object Keys Extractor 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).

Extracts all keys from a given JSON object and returns them as an array with a count.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/object/keys?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-object-keys-extractor-d38416e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hW_7YR_Vc0fumGRAnRpzV

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-object-keys-extractor-d38416e2 -d '<json body>'
```

Example prompt: What are all the keys in this JSON object — { "name": "Alice", "age": 30, "city": "NYC" }? List every property name and how many there are.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call utility to quickly enumerate the top-level keys of a JSON object without spinning up local code execution. Ideal for AI agents operating in environments where running arbitrary code is restricted, or when inspecting unfamiliar API response shapes on-the-fly at minimal cost ($0.0009 USDC per call).

## Known failure modes

- Missing or non-object 'value' field causes validation error
- Deeply nested objects only have top-level keys extracted — nested keys are not recursively enumerated
- Empty object returns keys:[] and count:0
- Malformed JSON input returns parse error
- Payment failure via x402 returns 402 status before processing

## How this service works

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

## Output

Returns a JSON object containing a 'keys' array listing all top-level property names of the input object, and a 'count' integer indicating how many keys were found. Example: {"keys":["a","b"],"count":2}.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "keys": [
   "a",
   "b"
  ],
  "count": 2
 }
}
```

## More

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