# Delx Commerce Sigmoid Function API

> Delx Commerce Sigmoid Function API 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).

Computes the sigmoid (logistic) activation function for a given numeric input, returning the probability value between 0 and 1.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/sigmoid?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-sigmoid-function-api-e5dbdd91
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ysWZa6GTm-BF_hNa5FErt

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-sigmoid-function-api-e5dbdd91 -d '<json body>'
```

Example prompt: Can you compute the sigmoid of 2.5 for me? I need the probability output.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call sigmoid computation without managing any ML runtime or library, especially in agent pipelines that already use USDC micropayments via x402. Ideal for agents that need verifiable, auditable math results on Base or Solana without any API key setup.

## Known failure modes

- Missing or non-numeric 'x' field returns a validation error
- Extremely large or small x values may return probabilities indistinguishable from 0 or 1 due to floating-point limits
- Payment failure via x402 protocol results in 402 status and no computation
- Malformed JSON body returns 400 bad request

## 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 original input value (x), the sigmoid-transformed probability (prob, a float between 0 and 1), and a schema identifier string (e.g. 'delx/util-sigmoid/v1') for verifiable result provenance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "x": {
   "type": "number",
   "description": "Input field: x."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "x": 0.5,
  "prob": 0.6224593312018546,
  "schema": "delx/util-sigmoid/v1"
 }
}
```

## More

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