{"uid":"cap_2UAW6leu6O8I236LVkSjn","slug":"x420-mlg-token-purchase-5-usdc-puff-5-26243381","name":"x420 MLG Token Purchase - $5 USDC (puff-5)","description":"Buy 5 USDC worth of MLG tokens 0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07","url":"https://mlg.x420.dev/api/puff-5","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"message":"string","tokensReceived":"string","usdcAmountPaid":"string","sendTransactionHash":"string | null","swapTransactionHash":"string | null"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xHPPFSfr06ObTh14fWmLa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases $5 USDC worth of MLG tokens (0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07) on behalf of the caller via a paid API call","exampleAgentPrompt":"Buy $5 worth of MLG tokens for me using USDC — the MLG contract is 0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07 and I want the swap and send transaction hashes back.","exampleUseCases":[{"title":"Acquire MLG meme tokens now","prompt":"Go ahead and buy $5 worth of MLG tokens for me using my USDC — I want to see how many MLG tokens I get and the transaction hashes for the swap."},{"title":"Swap USDC for MLG crypto","prompt":"Swap $5 USDC into MLG tokens (contract 0x0A3006C07808e1BF3b57980Bc73A4B6159fEEB07) and send me back a confirmation with the amount received and both transaction hashes."},{"title":"Purchase MLG tokens on-chain","prompt":"I want to spend 5 USDC on MLG tokens right now — execute the on-chain swap and let me know how many MLG tokens landed in my wallet along with the transaction details."}],"resultDescription":"Returns a JSON object with a confirmation message, the amount of MLG tokens received, the USDC amount paid, a send transaction hash, and a swap transaction hash (either or both hashes may be null if not applicable).","failureModes":["Insufficient USDC balance to cover the $5 payment — payment rejected","Payment not authorized or x402 protocol handshake fails — 402 error returned","On-chain swap fails due to liquidity issues — swap transaction hash may be null with error message","Network congestion causes transaction timeout — partial state possible","Invalid or misconfigured payment header — authentication failure"],"whenToPreferThis":"Use this endpoint when you specifically want to purchase exactly $5 USDC worth of MLG tokens in a single atomic API call. Prefer the $1 sibling endpoint (puff-1) for smaller test purchases. This endpoint is ideal for agents operating on the x402 payment protocol that want a larger MLG token acquisition in one call without manually constructing a DEX swap transaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:37:58.387Z","isFirstParty":false}