# Delx Values Types

> Delx Values Types is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Maps each key in a JSON object to its corresponding JSON type name (e.g. string, number, boolean, array, object, null)

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/values-types
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-values-types-258d7ff8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SPJqOcsdtMxLSuTAavw1_

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 delx-values-types-258d7ff8 -d '<json body>'
```

Example prompt: Before I run schema validation, can you check what JSON types each key in this object has: {"userId": 42, "name": "Alice", "active": true, "tags": ["admin"], "meta": null}?

## When to prefer this

Choose this endpoint when you need a fast, cheap, local type introspection on a flat or shallow JSON object before schema validation or payload routing. Ideal for agent pipelines that need to audit payload shapes without any network side effects, external dependencies, or data retention. At $0.001 USDC per call it is purpose-built for lightweight pre-flight checks within agentic workflows.

## Known failure modes

- Input is not a valid JSON object — returns an error or empty result
- Input object is deeply nested but only top-level keys are typed
- Null vs absent keys may differ in behavior depending on how the payload is serialized
- Unexpected type classifications for edge cases like NaN or Infinity in numeric fields

## How this service works

Map object keys to JSON type names. Call when you audit agent payload shapes before schema checks. Returns types map for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

A map (object) where each key from the input object is paired with a string representing its JSON type (e.g. 'string', 'number', 'boolean', 'object', 'array', 'null'). No external calls are made; processing is local and results are advisory.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "object": {
   "type": "object",
   "description": "Input field: object."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "types": {
   "a": "integer",
   "b": "string",
   "c": "boolean"
  },
  "schema": "delx/util-values-types/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-values-types-258d7ff8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
