# Beggar Bot USDC Amount Converter

> Beggar Bot USDC Amount Converter is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Converts USDC decimal amounts to/from atomic units (6 decimal places) and returns the canonical USDC contract address, EIP-55 checksum, and EIP-712 domain data per chain for x402 payment flows.

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/usdcamount?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-usdc-amount-converter-1e1f32b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XqDt0OfDOThUCFo601Wzz

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 beggar-bot-usdc-amount-converter-1e1f32b3
```

Example prompt: Convert 0.02 USDC to its atomic integer value for a Base mainnet x402 payment, and also give me the EIP-55 checksummed version of this address: 0xabc123def456abc123def456abc123def456abc1

## When to prefer this

Use this endpoint when building x402 payment flows that require precise USDC unit conversion, canonical contract address lookup per chain, EIP-55 address checksumming, or EIP-712 domain data — all in a single pure-compute call. Prefer it over manual calculation to avoid rounding errors in 6 decimal place arithmetic and to get chain-specific USDC metadata without maintaining your own registry.

## Known failure modes

- Missing required query parameter (amount or atomic) returns an error — at least one must be provided
- Invalid chain identifier returns an unsupported chain error
- Malformed 0x address for checksum returns an invalid address error
- Providing both amount and atomic with conflicting values may result in ambiguous response
- Non-numeric amount string causes a parse/validation error

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

A JSON object containing the converted amount in both decimal and atomic (6 dp integer) representations, the native USDC contract address for the requested chain, the EIP-55 checksummed form of any provided address, and the EIP-712 domain struct for USDC on that chain — all computed server-side with no external dependencies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string",
       "description": "base (default) or all"
      },
      "amount": {
       "type": "string",
       "description": "decimal e.g. 0.02"
      },
      "atomic": {
       "type": "string",
       "description": "integer e.g. 20000"
      },
      "address": {
       "type": "string",
       "description": "optional 0x address to checksum"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-usdc-amount-converter-1e1f32b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
