# Delx Commerce — Bits to Bytes Converter

> Delx Commerce — Bits to Bytes Converter 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).

Converts a number of bits to its equivalent value in bytes, returning both the exact and whole-number byte count.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/bits-to-bytes?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-bits-to-bytes-converter-a629f1fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wodj_dAJoHiuDYZn2s2iU

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-bits-to-bytes-converter-a629f1fa -d '<json body>'
```

Example prompt: How many bytes is 1024 bits? Just do the bits-to-bytes conversion for me.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call, no-signup bits-to-bytes conversion with verifiable delivery via USDC micropayment on Base or Solana. Ideal for AI agents that need programmatic data unit conversion without maintaining a local utility or managing subscriptions.

## Known failure modes

- Missing or non-integer 'bits' field returns a validation error
- Negative or zero bits value may return an error or unexpected result
- Non-numeric input type causes a schema validation failure
- Network or payment failure returns HTTP 402 or 5xx with no conversion result

## 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 bits value, the exact byte equivalent (bits / 8), and the whole_bytes count (floor of byte value), along with a schema identifier string ('delx/util-bits-to-bytes/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bits": {
   "type": "integer",
   "description": "Input field: bits."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bits": 16,
  "bytes": 2,
  "schema": "delx/util-bits-to-bytes/v1",
  "whole_bytes": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-bits-to-bytes-converter-a629f1fa/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)
