# TradepilotUSA JSON Pointer Redact

> TradepilotUSA JSON Pointer Redact is a paid API for AI agents from www.tradepilotusa.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Redacts specific fields from a JSON string using RFC 6901 JSON Pointer paths, replacing targeted values with null while preserving structure

## Facts

- Endpoint: POST https://www.tradepilotusa.com/api/agent-commerce/v1/services/json_pointer_redact/execute?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tradepilotusa-json-pointer-redact-77228ae6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eCAbSwdVzO1QYw6cly1TV

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 tradepilotusa-json-pointer-redact-77228ae6 -d '<json body>'
```

Example prompt: Redact the fields at '/customer/email' and '/payment/card_number' from this JSON string: '{"customer":{"name":"Jane Doe","email":"jane@example.com"},"payment":{"card_number":"4111111111111111","amount":99.99}}'

## When to prefer this

Choose this endpoint when you need deterministic, structure-preserving field-level redaction of a JSON document using precise RFC 6901 pointer paths, and you want no model inference or network side-effects involved. Prefer it over regex or manual scrubbing when exact pointer-based targeting is needed, array index preservation matters, and you need an audit count of what was removed. Not appropriate for automatic PII detection (it only redacts explicitly specified paths).

## Known failure modes

- Invalid JSON input returns an error — the json field must be parseable
- JSON Pointer paths must start with '/' or an error is returned
- Exceeding 50 pointers in a single call results in validation failure
- JSON string exceeding 48000 characters is rejected
- Pointer paths not present in the document are listed in missing_pointers rather than causing an error

## How this service works

Remove explicitly named RFC 6901-style JSON object paths; replace targeted array elements with null to preserve indices. Handles escaped slashes/tilde, reports missing paths, and rejects duplicate keys or lossy numbers. Does not automatically detect sensitive information.

## Output

Returns the original JSON string with targeted fields replaced by null (array elements become null to preserve indices), along with a count of removed fields and a list of any supplied pointers that were not found in the document. Also includes provenance metadata confirming the operation was performed deterministically without any model or network involvement.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json": {
   "type": "string",
   "maxLength": 48000
  },
  "pointers": {
   "type": "array",
   "items": {
    "type": "string",
    "pattern": "^/",
    "maxLength": 500
   },
   "maxItems": 50,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "json": "{\n  \"name\": \"Example\",\n  \"contact\": {}\n}",
   "scope": "Only explicitly supplied paths; no automatic sensitive-data detection",
   "array_policy": "Targeted array elements become null to preserve indices",
   "removed_count": 1,
   "missing_pointers": []
  },
  "utility": "json_pointer_redact",
  "provenance": {
   "execution": "deterministic_local",
   "model_used": false,
   "network_request_performed": false
  },
  "request_id": "example_json_pointer_redact"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tradepilotusa-json-pointer-redact-77228ae6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.tradepilotusa.com](https://www.zero.xyz/host/www.tradepilotusa.com/llms.txt)
