{"uid":"cap_NlmYuteXzIm5Fg6g1BQnj","slug":"mga-token-purchase-5-usdc-x420-dev-0677a2f3","name":"MGA Token Purchase - $5 USDC (x420.dev)","description":"Buy 5 USDC worth of MGA tokens 0x74267644Cf8733365524B258d61BA08d0E7AEb07","url":"https://mga.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_0zv0o3h-0rEHv0Cl9wBeU","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 MGA (Megaeth) tokens and sends them to the caller's address on the MegaETH network","exampleAgentPrompt":"Buy me $5 worth of MGA tokens on MegaETH — use the x420.dev service and pay with USDC.","exampleUseCases":[{"title":"Quick MGA token acquisition","prompt":"I want to grab $5 worth of MGA tokens on MegaETH right now — can you handle that for me using USDC?"},{"title":"Diversify portfolio with MGA","prompt":"Add some MGA tokens to my wallet to diversify a bit — spend $5 in USDC and get them sent to my address on MegaETH."},{"title":"Test MegaETH token purchase","prompt":"I'm exploring MegaETH and want to try buying MGA tokens — go ahead and swap $5 USDC for MGA and send them to my address."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:33:02.682Z","isFirstParty":false}