# Delx Commerce — JSON Pointer Get

> Delx Commerce — JSON Pointer Get is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Evaluates a RFC 6901 JSON Pointer expression against a supplied JSON document and returns the value at that path, with verifiable delivery proof.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-pointer-get?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-json-pointer-get-07900dbb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tLjlKymEa0Qu9Hj6-ihe9

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-commerce-json-pointer-get-07900dbb -d '<json body>'
```

Example prompt: Extract the value at the JSON Pointer path '/age' from this document: {"name": "Alice", "age": 30, "city": "Berlin"}.

## When to prefer this

Choose this endpoint when you need a verifiable, auditable, pay-per-use JSON Pointer resolution without standing up infrastructure. Ideal for AI agents that need to extract values from arbitrary JSON payloads on the fly with cryptographic proof of non-retention. Prefer it over writing inline code when the audit trail or cost predictability ($0.001 USDC flat) matters, or when operating in a trust-minimized environment that benefits from the x402 payment protocol.

## Known failure modes

- Invalid JSON Pointer syntax returns an error or found:false
- Document exceeds 128 top-level properties and is rejected
- Pointer references a non-existent path — returns found:false with null value
- Malformed JSON document causes a parse error
- Request body missing required 'pointer' or 'document' fields

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing a 'result' field with 'found' (boolean) and 'value' (the extracted value or null), a 'status' field ('pass' or 'fail'), an 'operation' identifier, and an 'evidence' block that includes the SHA-256 hash of the input, a flag confirming no data was retained, and a count of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pointer": {
   "type": "string",
   "maxLength": 8192,
   "description": "Pointer supplied to JSON Pointer Get; used only for this bounded calculation and processed in memory without retention."
  },
  "document": {
   "type": "object",
   "description": "Document supplied to JSON Pointer Get; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "found": true,
   "value": 20
  },
  "schema": "delx/util-json-pointer-get/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "a8554f4490fa0d37d839c66b35536a95b03da8fcb88043be9adfe44b8653d900",
   "external_calls": 0
  },
  "operation": "data_batch:json_pointer_get"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-pointer-get-07900dbb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
