# JSON Pointer Escape Utility

> JSON Pointer Escape Utility is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Escapes a value as a valid JSON Pointer token by encoding special characters per RFC 6901

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/json-pointer-escape?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-pointer-escape-utility-f6fa356c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BIkWXgoedtGqyZGtr3FNb

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 json-pointer-escape-utility-f6fa356c -d '<json body>'
```

Example prompt: Escape the string 'user/profile~name' so it's safe to use as a JSON Pointer token — I need the RFC 6901-encoded version.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use micro-utility to escape JSON Pointer tokens without standing up your own RFC 6901 encoding library. Useful in autonomous agent workflows that dynamically construct JSON Pointer or JSON Patch expressions from user-supplied or external data containing special characters like '~' and '/'.

## Known failure modes

- Missing or invalid 'value' field returns an error response
- Malformed options object may cause unexpected behavior or rejection
- Service unavailability on Render free-tier cold starts may cause timeout delays
- Non-string values passed as 'value' may not be handled consistently

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

Returns a JSON object containing the escaped JSON Pointer token in the 'result' field and the operation name 'json_pointer_escape' in the 'operation' field.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "example",
  "operation": "json_pointer_escape"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-pointer-escape-utility-f6fa356c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
