# Delx Commerce Data Classification API

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

Classifies a list of data fields to detect sensitive or restricted data types such as PII and credentials

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/data-classification?utm_source=zero.xyz
- Price: $0.003/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-data-classification-api-01c28938
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lahYR1K5oESgIwHUu5j2f

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-data-classification-api-01c28938 -d '<json body>'
```

Example prompt: Can you classify these field names for sensitive or restricted data: ['email', 'user_id', 'api_token', 'first_name', 'purchase_amount']? I want to know which ones are sensitive before I log them.

## When to prefer this

Choose this endpoint when you need a lightweight, per-call sensitive data classification that requires no signup or API key — particularly useful in agent workflows that need on-demand PII/credential detection before logging, sharing, or storing data. Prefer it over heavier compliance platforms when you want pay-per-use pricing and verifiable USDC micropayments via x402.

## Known failure modes

- Empty or missing 'fields' array returns an error or empty classification
- Malformed input (non-array value) may result in a validation error
- Network or payment failure via x402 protocol prevents API access
- Fields with ambiguous or non-standard names may not be correctly classified
- Rate limiting or micropayment issues may block repeated rapid calls

## 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 classification label (e.g. 'restricted'), a count of sensitive fields detected, the names of those sensitive fields, and a flag indicating whether field values were processed — all in a structured JSON response.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-data-classification/v1",
  "classification": "restricted",
  "sensitive_count": 2,
  "values_processed": false,
  "sensitive_field_names": [
   "email",
   "api_token"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-data-classification-api-01c28938/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)
