# Delx Commerce — Logit (Log-Odds) Calculator

> Delx Commerce — Logit (Log-Odds) Calculator 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-02).

Converts a probability value to its logit (log-odds) representation via a pay-per-result API using x402 micropayments.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/logit?utm_source=zero.xyz
- Price: $0.001/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-logit-log-odds-calculator-24cdef54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f4RxcYtkhl1YYssubomhD

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-logit-log-odds-calculator-24cdef54 -d '<json body>'
```

Example prompt: What's the logit of a probability of 0.75?

## When to prefer this

Choose this endpoint when you need a quick, cheap, verifiable logit (log-odds) computation without setting up authentication or a subscription. It is ideal for AI agents that need on-demand mathematical transformations within automated pipelines and want to pay per result in USDC via x402.

## Known failure modes

- Probability value outside (0,1) range (e.g. 0 or 1) causes undefined or infinite logit — likely returns an error or NaN
- Missing 'prob' field in request body — likely 400 Bad Request
- Payment not attached or insufficient — 402 Payment Required response
- Probability exactly 0 or 1 causes log of zero — mathematically undefined

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing the original probability, the computed logit value (natural log of prob/(1-prob)), and a schema identifier string ('delx/util-logit/v1').

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "prob": 0.75,
  "logit": 1.09861228866811,
  "schema": "delx/util-logit/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-logit-log-odds-calculator-24cdef54/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)
