# Delx Commerce Score Clip

> Delx Commerce Score Clip 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).

Clips a numeric score to a specified [min, max] range and returns the clamped value along with whether clipping occurred

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/score-clip?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-score-clip-12774f72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UZPyyqdL753goBdzFR1rt

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-score-clip-12774f72 -d '<json body>'
```

Example prompt: Clip the score 120 to be within the range 0 to 100 — tell me the clamped result and whether it was actually clipped.

## When to prefer this

Use this endpoint when you need a verifiable, pay-per-result clamping operation for a single numeric score with explicit min/max bounds, particularly in agent workflows where auditability of the clipping operation matters and no signup or API key is desired.

## Known failure modes

- Missing required fields (score, min, or max) result in a validation error
- Non-numeric values for score/min/max cause a type error
- min greater than max may result in an error or undefined behavior
- Payment failure via x402 protocol prevents execution

## 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 the clipped score value, a boolean indicating whether clipping occurred, the original input score, and the min/max bounds that were applied. Schema version is included as 'delx/util-score-clip/v1'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "max": {
   "type": "number",
   "description": "Inclusive upper clip bound."
  },
  "min": {
   "type": "number",
   "description": "Inclusive lower clip bound."
  },
  "score": {
   "type": "number",
   "description": "Numeric score to clip."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "max": 100,
  "min": 0,
  "score": 120,
  "schema": "delx/util-score-clip/v1",
  "clipped": 100,
  "was_clipped": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-score-clip-12774f72/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)
