# USDC Raw to Amount Converter

> USDC Raw to Amount 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 raw USDC integer (6-decimal units) into a human-readable USDC amount using deterministic local math.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/usdc-raw-to-amount
- 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/usdc-raw-to-amount-converter-93cf1156
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qdf0eejCuZr3TXdWoAC0f

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 usdc-raw-to-amount-converter-93cf1156 -d '<json body>'
```

Example prompt: Convert the raw USDC value 1500000 into a human-readable USDC amount — I need to display it on a payment receipt.

## When to prefer this

Use this endpoint when you have a USDC balance or payment amount stored as a raw 6-decimal integer (e.g. from a blockchain or payment system) and need to convert it to a human-readable decimal for display purposes. It is ideal for agents handling USDC on Base without requiring API keys, RPC access, or live market data — purely deterministic local math.

## Known failure modes

- Missing or empty 'raw' field returns a validation error
- Non-numeric string input may cause a parse or conversion error
- Extremely large integers may exceed precision limits
- Malformed JSON body returns a 400 bad request

## How this service works

Convert 6-decimal USDC raw units into human USDC amounts. Call when displaying USDC balances or payment receipts stored as raw integers. Returns USDC amount with decimals=6 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 human-readable USDC amount derived from the input raw integer, with a decimals field set to 6, computed entirely via local math with no external API calls or RPC lookups.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "raw": "1500000",
  "usdc": 1.5,
  "schema": "delx/util-usdc-raw-to-amount/v1",
  "decimals": 6
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usdc-raw-to-amount-converter-93cf1156/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)
