# MLG Token Purchase via mlg.x420.dev

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

Purchases 1 USDC worth of MLG ERC-20 tokens (0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07) and delivers them to the caller

## Facts

- Endpoint: POST https://mlg.x420.dev/api/puff
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mlg-x420-dev-371b0197
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_06JjZG6S4vrns2ZYjIk2C

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 mlg-x420-dev-371b0197 -d '<json body>'
```

Example prompt: Buy me 1 USDC worth of MLG tokens (contract 0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07) using my wallet — I want to know how many tokens I'll receive and both the send and swap transaction hashes.

## When to prefer this

Use this endpoint when an agent needs to programmatically purchase exactly 1 USDC worth of the MLG ERC-20 token on-chain via a pay-per-call x402 API, without needing to integrate a full DEX SDK or manage swap routing manually.

## Known failure modes

- Insufficient USDC balance — payment rejected by x402 facilitator
- Invalid or missing x402 payment header — 402 Payment Required response
- Token contract unavailable or liquidity insufficient — swap may fail with null swap transaction hash
- Network congestion causing transaction timeout
- Contract address mismatch or unsupported token pair

## How this service works

Buy 1 USDC worth of MLG tokens 0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07

## Output

Returns a confirmation message, the quantity of MLG tokens received, the USDC amount paid, a send transaction hash (or null), and a swap transaction hash (or null) confirming the on-chain swap.

## 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/mlg-x420-dev-371b0197/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mlg.x420.dev](https://www.zero.xyz/host/mlg.x420.dev/llms.txt)
