# x402.bigbug.ai USDC-to-ERC20 Swap

> x402.bigbug.ai USDC-to-ERC20 Swap is a paid API for AI agents from x402.bigbug.ai, paid per call via x402, $0.1/call, status down (last checked 2026-09-15).

Executes a USDC to ERC-20 token swap on the Base blockchain via a multi-DEX aggregator

## Facts

- Endpoint: POST https://x402.bigbug.ai/api/v1/swap
- Price: $0.1/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bigbug-ai-334172f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UxPE-3CJiBDmdqOP-LTAG

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 x402-bigbug-ai-334172f2 -d '<json body>'
```

Example prompt: Swap 50 USDC for the token at address 0x4200000000000000000000000000000000000006 on Base using the best available DEX route, with a max slippage of 1%.

## When to prefer this

Use this endpoint when you need to programmatically execute a USDC-to-ERC20 swap on Base with optimal routing across multiple DEXes. Ideal for AI agents automating on-chain token purchases, especially when combined with sibling endpoints for token intelligence and trending token discovery. Prefer this over single-DEX integrations when best execution price matters.

## Known failure modes

- Insufficient USDC balance in wallet — returns balance error
- Token address not found or not tradeable on Base DEXes — returns invalid token error
- Slippage exceeded — swap reverted due to price movement beyond tolerance
- Low liquidity for target token — returns liquidity error or high price impact warning
- Network congestion causing transaction failure — returns timeout or gas error
- Invalid wallet address format — returns validation error

## How this service works

Execute USDC to ERC-20 token swap on Base via multi-DEX aggregator

## Output

Returns the executed swap details including transaction hash on Base, the amount of output tokens received, the exchange rate achieved, which DEX(es) were used for routing, and estimated or actual gas cost.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-bigbug-ai-334172f2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.bigbug.ai](https://www.zero.xyz/host/x402.bigbug.ai/llms.txt)
