{"uid":"cap_qrsHZhFILmrY6VoXTQ2_U","slug":"base-token-purchase-5-usdc-x420-dev-4b07cfad","name":"Base Token Purchase - $5 USDC (x420.dev)","description":"Buy 5 USDC worth of Base tokens 0x5458109C0d5236a05630c0e99e69500B111DaB07","url":"https://base.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_xl7_NHoQ2tTi-efGid7AZ","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":"Executes a $5 USDC token swap to purchase Base tokens at contract address 0x5458109C0d5236a05630c0e99e69500B111DaB07 on the Base network","exampleAgentPrompt":"Buy $5 worth of Base tokens for me — swap 5 USDC for the Base token at 0x5458109C0d5236a05630c0e99e69500B111DaB07 on x420.dev right now.","exampleUseCases":null,"resultDescription":"Returns a confirmation message, the number of Base tokens received, the USDC amount paid, a send transaction hash, and a swap transaction hash (both may be null if not yet confirmed).","failureModes":["Insufficient USDC balance — payment of 5 USDC cannot be completed","Token swap fails due to liquidity issues on Base network","Transaction hash returns null if blockchain confirmation is delayed","Network congestion causes swap timeout","Invalid or misconfigured x402 payment header results in 402 error","Contract address unreachable or deprecated"],"whenToPreferThis":"Use this endpoint when you want to purchase exactly $5 USDC worth of Base tokens (0x5458109C0d5236a05630c0e99e69500B111DaB07) via a single API call with automatic x402 payment handling. Choose the $1 sibling endpoint if you want a smaller purchase. Prefer this over manual DEX interactions when you need a simple, API-driven token acquisition with transaction receipt details.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:11.472Z","isFirstParty":false}