Swap 1 USDC for MLG tokens on Base via a single x402 GET request
What it does
This x402 endpoint at mlg.x420.dev lets an agent or user purchase MLG (x420NOSCOPEBLAZEIT) tokens by paying 1 USDC on the Base network. The endpoint uses the x402 payment protocol: a caller sends a GET request to /api/puff with an X-PAYMENT header containing a valid payment proof for 1,000,000 units (1 USDC, 6 decimals) to the designated payTo address. Upon successful payment verification, the service executes a token swap and sends the resulting MLG tokens to the buyer.
The response includes a swap transaction hash, a send transaction hash, the number of MLG tokens received, and the USDC amount paid. The token contract is 0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07 on Base, and it was created via Clanker. The landing page reports a trust score of 82%, average latency of 2.24s, and a 100% success rate, though total transaction volume is very low (1 total transaction at time of crawl).
The endpoint is live and returns a proper 402 challenge. No OpenAPI spec, dedicated docs, or pricing page exists beyond the x402 challenge itself. The x420.dev platform appears to host meme-token swap endpoints as subdomains, each with a single x402-gated resource.
Capabilities
Use cases
- —Programmatically purchasing MLG meme tokens with USDC on Base
- —Agent-driven token acquisition via x402 payment protocol
- —Automated portfolio diversification into meme tokens
Fit
Best for
- —Agents that need to buy specific meme tokens on Base without manual wallet interaction
- —Developers experimenting with x402 payment-gated token swaps
- —Automated trading bots targeting Clanker-launched tokens
Not for
- —Large-volume or high-frequency trading (very low historical usage, fixed 1 USDC amount)
- —Users seeking stablecoin or blue-chip token swaps
- —Anyone needing detailed API documentation or SLA guarantees
Quick start
curl -X GET https://mlg.x420.dev/api/puff \
-H "X-PAYMENT: <your-x402-payment-proof>"Example
Response
{
"message": "Swap successful",
"tokensReceived": "42000000000000000000",
"usdcAmountPaid": "1000000",
"sendTransactionHash": "0x789ghi...jkl012",
"swapTransactionHash": "0xabc123...def456"
}Endpoint
Quality
The endpoint is live with a valid 402 challenge and a clear output schema, but there are no docs, no OpenAPI spec, extremely low usage (1 total transaction), and the /docs path returns a 'doesn't exist' page. The response example is inferred from the outputSchema in the challenge.
Warnings
- —No API documentation exists — /docs, /api, /pricing, and /README all return 'doesn't exist' pages
- —Extremely low usage: only 1 total transaction recorded at time of crawl
- —Fixed 1 USDC purchase amount — no configurable input parameters documented
- —Meme token with no guaranteed liquidity; token value may be near zero
- —Response example is inferred from outputSchema, not from an actual observed response
Citations
- —The endpoint returns a 402 challenge requiring 1,000,000 units (1 USDC) payment on Basehttps://mlg.x420.dev/api/puff
- —The MLG token contract address is 0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07https://mlg.x420.dev
- —Trust score is 82%, average latency 2.24s, success rate 100%, 1 total transactionhttps://mlg.x420.dev
- —Token was created via Clanker and can be viewed on clanker.worldhttps://mlg.x420.dev
- —The payTo address is 0x93109d14F6665a9c9675290D3cD5A6c07bBAfdbdhttps://mlg.x420.dev/api/puff