# Base Token Purchase - $5 USDC (x420.dev)

> Base Token Purchase - $5 USDC (x420.dev) is a paid API for AI agents from base.x420.dev, paid per call via x402, $5/call, status unknown (last checked 2026-09-15).

Executes a $5 USDC token swap to purchase Base tokens at contract address 0x5458109C0d5236a05630c0e99e69500B111DaB07 on the Base network

## Facts

- Endpoint: GET https://base.x420.dev/api/puff-5
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-token-purchase-5-usdc-x420-dev-4b07cfad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qrsHZhFILmrY6VoXTQ2_U

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 base-token-purchase-5-usdc-x420-dev-4b07cfad
```

Example prompt: Buy $5 worth of Base tokens for me — swap 5 USDC for the Base token at 0x5458109C0d5236a05630c0e99e69500B111DaB07 on x420.dev right now.

## When to prefer this

Use this endpoint when you want to purchase exactly $5 USDC worth of Base tokens (0x5458109C0d5236a05630c0e99e69500B111DaB07) via a single API call with automatic x402 payment handling. Choose the $1 sibling endpoint if you want a smaller purchase. Prefer this over manual DEX interactions when you need a simple, API-driven token acquisition with transaction receipt details.

## Known failure modes

- Insufficient USDC balance — payment of 5 USDC cannot be completed
- Token swap fails due to liquidity issues on Base network
- Transaction hash returns null if blockchain confirmation is delayed
- Network congestion causes swap timeout
- Invalid or misconfigured x402 payment header results in 402 error
- Contract address unreachable or deprecated

## How this service works

Buy 5 USDC worth of Base tokens 0x5458109C0d5236a05630c0e99e69500B111DaB07

## Output

Returns a confirmation message, the number of Base tokens received, the USDC amount paid, a send transaction hash, and a swap transaction hash (both may be null if not yet confirmed).

## Response schema (JSON Schema)

```json
{
 "message": "string",
 "tokensReceived": "string",
 "usdcAmountPaid": "string",
 "sendTransactionHash": "string | null",
 "swapTransactionHash": "string | null"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-token-purchase-5-usdc-x420-dev-4b07cfad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base.x420.dev](https://www.zero.xyz/host/base.x420.dev/llms.txt)
