{"uid":"cap_LJlOPHw6PwgGt_FNp7vkI","slug":"lfg-token-purchase-1-usdc-x420-dev-a1961087","name":"LFG Token Purchase (1 USDC) - x420.dev","description":"Buy 1 USDC worth of LFG tokens 0xC160EFB8b044da6fAa15C58D7eF3f0a764E4Db07","url":"https://lfg.x420.dev/api/puff","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":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GONtboIEGRWeaHZFCIBsz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases 1 USDC worth of LFG tokens (0xC160EFB8b044da6fAa15C58D7eF3f0a764E4Db07) via a paid API call and returns transaction details","exampleAgentPrompt":"Buy 1 USDC worth of LFG tokens for me right now using the x420 LFG API and tell me how many tokens I received and the transaction hashes.","exampleUseCases":[{"title":"Recurring micro-buy LFG tokens","prompt":"Every hour, automatically buy 1 USDC worth of LFG tokens using the x420 API and log how many tokens I received along with the transaction hashes so I can track my dollar-cost averaging progress."},{"title":"Swap stablecoin for meme token","prompt":"I want to swap 1 USDC for LFG tokens right now — go ahead and execute the purchase through x420 and report back the amount of LFG I got and both transaction hashes."},{"title":"Test LFG token purchase flow","prompt":"Run a test purchase of 1 USDC worth of LFG tokens via the x420 API and tell me whether the swap succeeded, how many tokens came through, and what the send and swap transaction hashes are."}],"resultDescription":"Returns a JSON object with a message, the amount of LFG tokens received, the USDC amount paid, a send transaction hash, and a swap transaction hash (both hashes may be null if pending or failed).","failureModes":["Insufficient USDC balance — payment rejected","x402 payment protocol failure — 402 Payment Required returned","Token contract unavailable or liquidity too low — swap fails","Network congestion causing transaction timeout — null transaction hashes returned","Invalid payment credentials — authorization error"],"whenToPreferThis":"Use this endpoint when you want to buy exactly 1 USDC worth of LFG tokens programmatically via the x402 payment protocol. Prefer the sibling 5 USDC endpoint if you want a larger purchase in a single call. This is the minimum denomination available on x420.dev for LFG token acquisition.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:37:06.389Z","isFirstParty":false}