# Wei to Ether Converter

> Wei to Ether 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 wei integer string to its equivalent ether float value for display in dashboards, receipts, and logs.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/wei-to-eth
- 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/wei-to-ether-converter-84fb6309
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HWl7xkJzgFNfTeGn3Rm7g

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 wei-to-ether-converter-84fb6309 -d '<json body>'
```

Example prompt: Can you convert 2500000000000000000 wei to ether so I can show it properly on the dashboard?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, zero-dependency wei-to-ETH unit conversion with no API key, no RPC node, and no market data — ideal for display formatting in dashboards, receipts, or logs where you just need the numeric scaling from 1e-18.

## Known failure modes

- Non-numeric or missing wei string returns a validation error
- Extremely large integers beyond safe float precision may lose precision in the ether float output
- Malformed JSON request body returns a 400-level error
- Network or payment authorization failure returns a 402 or 5xx error

## How this service works

Scale wei integer strings into ether for dashboards and receipts. Call when displaying balances, receipts, or logs that arrive in wei. Returns eth float plus wei string 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 deterministic JSON object containing the ether float equivalent and the original wei value as a string, computed via local arithmetic with no external RPC or market feed calls.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "wei": {
   "type": "string",
   "description": "Input field: wei."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "eth": 0.05,
  "wei": "50000000000000000",
  "schema": "delx/util-wei-to-eth/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wei-to-ether-converter-84fb6309/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)
