# Delx Commerce — Floor Number (floor-n)

> Delx Commerce — Floor Number (floor-n) 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).

Returns the floor (largest integer less than or equal to) of a given numeric value, paid per-call via USDC on Base or Solana.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/floor-n?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-floor-number-floor-n-4da0f9b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qlP6-vl0Xgq5FvTlG2Uj6

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-floor-number-floor-n-4da0f9b3 -d '<json body>'
```

Example prompt: What is the floor of 7.85 — round it down to the nearest integer using Delx Commerce's pay-per-result math API.

## When to prefer this

Choose this endpoint when you need a simple, verifiable, pay-per-call floor computation without any signup or subscription — especially in agentic workflows that use USDC micropayments via the x402 protocol on Base or Solana. Ideal for agents that need guaranteed, auditable math operations billed per result rather than via a monthly API key plan.

## Known failure modes

- Missing or non-numeric 'value' field in request body returns an error
- Providing a non-finite number (NaN, Infinity) may result in an error or unexpected output
- Payment failure via x402 (insufficient USDC balance or unsupported chain) will prevent the call from completing
- Network timeout if the Delx Commerce endpoint 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 containing the floored integer value (e.g. {"value": 3, "schema": "delx/util-floor-n/v1"}), where 'value' is the largest integer less than or equal to the input number.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "value": 3,
  "schema": "delx/util-floor-n/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-floor-number-floor-n-4da0f9b3/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)
