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

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

Purchases $5 USDC worth of MGA (Megaeth) tokens and sends them to the caller's address on the MegaETH network

## Facts

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

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 mga-token-purchase-5-usdc-x420-dev-0677a2f3
```

Example prompt: Buy me $5 worth of MGA tokens on MegaETH — use the x420.dev service and pay with USDC.

## When to prefer this

Use this endpoint when you want to purchase exactly $5 USDC worth of MGA tokens in a single atomic x402-paid API call on MegaETH. Prefer the $1 sibling endpoint (puff-1) for smaller purchases. Choose this over manual DEX interactions when you want a simple, programmatic one-call token acquisition.

## Known failure modes

- Insufficient USDC balance for the $5 payment — payment rejected
- x402 payment protocol failure — transaction not processed
- On-chain swap failure — swapTransactionHash null and tokens not received
- Network congestion on MegaETH causing delayed or failed transaction
- Invalid or expired x402 payment header

## How this service works

Buy 5 USDC worth of MGA tokens 0x74267644Cf8733365524B258d61BA08d0E7AEb07

## Output

Returns a JSON object with a message confirming the purchase, the amount of MGA tokens received (tokensReceived), the USDC amount paid (usdcAmountPaid), a send transaction hash (sendTransactionHash), and a swap transaction hash (swapTransactionHash). Both transaction hashes may be null if the step did not occur.

## 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/mga-token-purchase-5-usdc-x420-dev-0677a2f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mga.x420.dev](https://www.zero.xyz/host/mga.x420.dev/llms.txt)
