# Delx Commerce — Saturation Ratio Calculator

> Delx Commerce — Saturation Ratio Calculator 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-02).

Computes the saturation ratio of a system by dividing current in-flight work units by maximum capacity, returning a normalized load metric.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/saturation-ratio?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-saturation-ratio-calculator-b14c4d85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tbzdb0QMlaPAHumqZC17d

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-saturation-ratio-calculator-b14c4d85 -d '<json body>'
```

Example prompt: I have a worker pool with a max capacity of 10 and currently 9 jobs in flight — can you calculate the saturation ratio and tell me if the system is saturated?

## When to prefer this

Use this endpoint when you need a fast, cheap ($0.003 USDC), pay-per-call computation of system saturation without standing up your own arithmetic logic — especially in agent pipelines where verifiable, on-chain micropayment delivery is required. Ideal for stateless load checks inside agentic workflows on Base or Solana via x402.

## Known failure modes

- Missing or non-numeric 'capacity' or 'in_flight' fields result in a validation error
- Zero capacity value may cause division-by-zero or undefined ratio
- Payment failure via x402 protocol returns 402 with pricing details
- in_flight exceeding capacity may return a ratio above 1.0 depending on implementation
- Network timeout if the service is temporarily unavailable

## 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 schema identifier 'delx/util-saturation-ratio/v1', the original capacity and in_flight values, a boolean 'saturated' flag, and a floating-point 'saturation_ratio' between 0 and 1 representing the fraction of capacity currently in use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "capacity": {
   "type": "number",
   "description": "Maximum concurrent capacity."
  },
  "in_flight": {
   "type": "number",
   "description": "Current in-flight work units."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-saturation-ratio/v1",
  "capacity": 10,
  "in_flight": 9,
  "saturated": false,
  "saturation_ratio": 0.9
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-saturation-ratio-calculator-b14c4d85/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)
