{"uid":"cap_WndmK7Mc5KOZbthHb9s6M","slug":"bnb-token-purchase-5-usdc-x420-dev-d318d1c4","name":"BNB Token Purchase - $5 USDC (x420.dev)","description":"Buy 5 USDC worth of BNB tokens 0xB61C31F4F336ADC22E5d4C47e1520B34ffeeFb07","url":"https://bnb.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_YV9UkFdBcL9IogZArJPLl","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 purchase of BNB tokens, returning the tokens received and transaction hashes for the payment and swap.","exampleAgentPrompt":"Buy me $5 worth of BNB tokens right now — use 5 USDC and send the BNB to my wallet 0xB61C31F4F336ADC22E5d4C47e1520B34ffeeFb07.","exampleUseCases":[{"title":"Rebalance portfolio with BNB","prompt":"My portfolio is light on BNB — go ahead and buy $5 worth of BNB using USDC and add it to my wallet 0xB61C31F4F336ADC22E5d4C47e1520B34ffeeFb07."},{"title":"Top up BNB for gas fees","prompt":"I'm running low on BNB for gas on BNB Chain — swap 5 USDC for BNB and send it straight to my address 0xB61C31F4F336ADC22E5d4C47e1520B34ffeeFb07 so I can keep transacting."},{"title":"Convert stablecoin to BNB","prompt":"Take 5 USDC from my holdings and convert it into BNB tokens right now — I want the BNB sent to 0xB61C31F4F336ADC22E5d4C47e1520B34ffeeFb07 and give me the transaction details when it's done."}],"resultDescription":"Returns a JSON object with a confirmation message, the amount of BNB tokens received, the USDC amount paid, and transaction hashes for both the payment transfer and the on-chain swap (either or both may be null if not yet confirmed).","failureModes":["Insufficient USDC balance — payment of 5 USDC cannot be completed","Network congestion causing swap transaction to fail or timeout","Invalid or unreachable wallet address","Liquidity pool slippage causing swap to revert","x402 payment protocol error if payment header is malformed","Swap transaction hash may be null if the swap is pending or failed post-payment"],"whenToPreferThis":"Use this endpoint when an agent needs to purchase exactly $5 USDC worth of BNB tokens in a single on-chain transaction via the x402 pay-per-call protocol. Prefer this over the $1 variant when the user wants a larger minimum purchase in a single call. Ideal for agents automating crypto portfolio rebalancing or acquiring BNB for gas fees on BNB Chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:37:58.386Z","isFirstParty":false}