# Delx Commerce — Omit Fields from Object

> Delx Commerce — Omit Fields from Object 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).

Removes specified keys from a JSON object, returning a filtered copy with only the remaining fields

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/omit-fields?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-omit-fields-from-object-026a9e55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yPoMPpoXBswMBOuU67sO5

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-omit-fields-from-object-026a9e55 -d '<json body>'
```

Example prompt: Strip the fields 'password', 'ssn', and 'token' from this JSON object before I send it to the logging service: {"user":"alice","password":"secret","ssn":"123-45-6789","token":"abc123","role":"admin"}.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use utility to programmatically strip specific fields from a JSON object without standing up your own filtering logic. It is ideal for agents that handle dynamic or untrusted payloads and need a verifiable, stateless transformation with no signup friction. Prefer it over bespoke code when operating in agent pipelines that already use x402/USDC micropayments on Base or Solana.

## Known failure modes

- Keys array is empty or null — may return the original object unchanged
- Object is null or malformed JSON — likely returns an error or empty result
- Specified keys do not exist in the object — silently ignored, full object returned
- Payment failure via x402 — 402 response with payment requirements before result is returned
- Network timeout — no result delivered, agent must retry

## 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 with the specified keys removed, along with the count of remaining fields and a schema identifier ('delx/util-omit-fields/v1'). The response confirms how many fields remain after the omission.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "size": 2,
  "object": {
   "a": 1,
   "b": 2
  },
  "schema": "delx/util-omit-fields/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-omit-fields-from-object-026a9e55/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)
