{"uid":"cap_NGHBddM7Eor07FUHQ2bQh","slug":"base-token-purchase-1-usdc-x420-dev-3f8db66d","name":"Base Token Purchase - 1 USDC (x420.dev)","description":"Buy 1 USDC worth of Base tokens 0x5458109C0d5236a05630c0e99e69500B111DaB07","url":"https://base.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_5ZHJEGvQIYoaD2kONXC5m","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":"Spends 1 USDC to buy Base tokens (0x5458109C0d5236a05630c0e99e69500B111DaB07) on the Base network via a paid API call","exampleAgentPrompt":"Can you buy 1 USDC worth of Base tokens (contract 0x5458109C0d5236a05630c0e99e69500B111DaB07) on the Base network for me right now?","exampleUseCases":[{"title":"Automated micro-purchase for token testing","prompt":"I need you to execute a small 1 USDC swap to get some Base tokens so I can test our protocol integration. Can you go ahead and buy them on the Base network?"},{"title":"Quick stablecoin to Base token conversion","prompt":"Convert 1 USDC into Base tokens (0x5458109C0d5236a05630c0e99e69500B111DaB07) for me on Base chain and confirm once the transaction goes through."},{"title":"Batch token acquisition for multi-agent system","prompt":"I'm setting up a fleet of trading agents. Can you buy 1 USDC worth of Base tokens right now and get me the transaction hash so I can track it?"}],"resultDescription":"Returns a JSON object with a confirmation message, the amount of 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 to cover the 1 USDC payment cost","Payment authorization failure via x402 protocol","Swap execution failure due to low liquidity or slippage","Invalid or unresolvable token contract address","Network congestion on Base chain causing timeout","Transaction hash returned as null if on-chain confirmation is delayed"],"whenToPreferThis":"Choose this endpoint when an agent needs to programmatically purchase exactly 1 USDC worth of a specific Base network token (0x5458109C0d5236a05630c0e99e69500B111DaB07) in a single API call. Prefer the sibling 5 USDC endpoint when larger purchase amounts are needed. Best for automated, low-denomination token acquisition workflows where on-chain transaction receipts are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:44.943Z","isFirstParty":false}