# ONE Engine JSON Type Classifier

> ONE Engine JSON Type Classifier 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).

Classifies or detects the type of a given JSON value, returning an array of type descriptors.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/json/type?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-type-classifier-c08fdc68
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q1P9IPKlLAS7XhgkzQdHT

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-type-classifier-c08fdc68 -d '<json body>'
```

Example prompt: Can you detect and classify the type of this JSON value for me: {"name": "Alice", "age": 30}?

## When to prefer this

Choose this endpoint when you need a lightweight, cheap, pay-per-call type classification for arbitrary JSON values in an autonomous agent pipeline, especially when operating on Base with x402 micropayments and want to avoid spinning up a full validation library.

## Known failure modes

- Missing or malformed 'value' field in request body returns error
- Payment not attached or insufficient USDC balance causes 402 response
- Ambiguous or deeply nested values may return multiple type descriptors
- Network timeout on Cloudflare Worker under high load

## How this service works

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

## Output

Returns a JSON object containing an array of type descriptors identifying the type(s) of the input JSON value, such as 'string', 'number', 'array', 'object', 'null', or 'boolean'.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "array"
 }
}
```

## More

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