# Fraction to Basis Points Converter

> Fraction to Basis Points Converter is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts a fractional rate (0–1) to basis points by multiplying by 10,000, returning the result as deterministic JSON.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/fraction-to-bps
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fraction-to-basis-points-converter-68aaeb5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BcsLOEnrCOpoY34zXWbbH

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 fraction-to-basis-points-converter-68aaeb5f -d '<json body>'
```

Example prompt: Convert a fraction of 0.0025 to basis points so I can label it correctly in our trading UI.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, no-key, no-RPC conversion of an internal decimal fee or rate fraction (0–1) into a basis points integer for display in trading UIs, reports, or operator-facing copy. Prefer it over manual calculation when you need a reliable, auditable JSON response with x402 micropayment traceability.

## Known failure modes

- Missing or null fraction field — returns an error indicating the required input is absent
- Fraction value out of expected 0–1 range — may return a result but caller should validate input bounds
- Non-numeric fraction value — likely returns a type or validation error
- Payment failure via x402 — call does not execute if $0.001 USDC micropayment is not settled

## How this service works

Convert fractional rates into basis points for trading UIs. Call when you need bps labels from internal 0–1 fee or edge fractions. Returns bps = fraction*10000 as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

Returns a JSON object containing the computed basis points value (bps = fraction × 10,000) as a number, derived entirely from local deterministic math with no external data sources.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bps": 25,
  "schema": "delx/util-fraction-to-bps/v1",
  "fraction": 0.0025
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fraction-to-basis-points-converter-68aaeb5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
