# Delx Commerce Signal Threshold Classifier

> Delx Commerce Signal Threshold Classifier 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 numeric value against optional lower and upper thresholds, returning whether the value is below, within, or above the defined range.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/signal-threshold?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-signal-threshold-classifier-089819c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WmcKeCReIDoM-JGcWx8Qc

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-signal-threshold-classifier-089819c2 -d '<json body>'
```

Example prompt: Check if the value 12 is within the range of 0 to 10 and tell me whether it's triggered and what state it's in.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call numeric range classification without standing up your own logic — ideal for agent workflows that need to gate decisions on whether a metric is in, above, or below a defined band. Prefer this over custom code when you want verifiable, on-chain-paid, stateless threshold checks at $0.003 per call.

## Known failure modes

- Missing required 'value' field returns a validation error
- Non-numeric input for value/lower/upper results in a type error
- If neither lower nor upper are provided, classification may be trivial or undefined
- Payment failure via x402 prevents call 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 input value, the lower and upper thresholds, a state string indicating whether the value is 'below_lower', 'within_range', or 'above_upper', and a boolean 'triggered' flag indicating whether the value fell outside the defined bounds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lower": {
   "type": "number",
   "description": "Optional lower threshold."
  },
  "upper": {
   "type": "number",
   "description": "Optional upper threshold."
  },
  "value": {
   "type": "number",
   "description": "Numeric signal to classify against optional lower/upper thresholds."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lower": 0,
  "state": "above_upper",
  "upper": 10,
  "value": 12,
  "schema": "delx/util-signal-threshold/v1",
  "triggered": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-signal-threshold-classifier-089819c2/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)
