{"uid":"cap_lSvVKhw6iXAb81P6U4vOn","slug":"doge-token-purchase-1-usdc-x420-dev-474b35ef","name":"Doge Token Purchase (1 USDC) - x420.dev","description":"Buy 1 USDC worth of Doge tokens 0xb619586d97483284D71e78D399565E6b8Ff47B07","url":"https://doge.x420.dev/api/puff?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"message":"string","tokensReceived":"string","usdcAmountPaid":"string","sendTransactionHash":"string | null","swapTransactionHash":"string | null"},"example":{"request":{"token":"DOGE","amount":"1","currency":"USDC","notifyEmail":"zero-qa@agentmail.to"},"response":{"token":{"name":"狗狗","symbol":"Doge","address":"0xb619586d97483284D71e78D399565E6b8Ff47B07","description":"蛋蛋你怎么这么可爱"},"message":"Puffed","tokensReceived":"5736081.8669652102123138","usdcAmountPaid":"$1","sendTransactionHash":"0x0a66a4a9d134d4e871754c5d23fb1f9c9471133303ede51acf6904613d837406","swapTransactionHash":"0x680206732d649ad03967e69580457dd73e33c31067a9eb396dfa78bf4d130740"}},"exampleRequest":{"token":"DOGE","amount":"1","currency":"USDC","notifyEmail":"zero-qa@agentmail.to"},"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_2Ty4z93OlEPxqDQlKdjp-","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 Dogecoin (DOGE) tokens on-chain and returns transaction details including tokens received and transaction hashes","exampleAgentPrompt":"Buy me 1 USDC worth of Doge tokens on-chain using the x420.dev Doge endpoint — I want to see how many DOGE I get and the transaction hashes.","exampleUseCases":[{"title":"Micro DCA into Dogecoin","prompt":"Every day I want you to automatically buy 1 USDC worth of Doge tokens on-chain for me — keep a log of how many DOGE I receive each time and the transaction hashes so I can track my dollar-cost averaging progress."},{"title":"Test on-chain DOGE swap","prompt":"I'm building a DeFi bot and need to test a USDC-to-DOGE swap with minimal risk — go ahead and spend 1 USDC to buy Doge tokens on-chain and show me the tokens received plus both transaction hashes so I can verify everything worked."},{"title":"Spontaneous Doge token purchase","prompt":"I'm feeling bullish on Doge right now — use my USDC to grab 1 dollar's worth of Dogecoin on-chain and tell me exactly how many tokens I got and what the transaction hashes were."}],"resultDescription":"Returns a JSON object with a confirmation message, the number of Doge tokens received as a string, the USDC amount paid, the send transaction hash (nullable), and the swap transaction hash (nullable).","failureModes":["Insufficient USDC balance to cover the 1 USDC payment — payment rejected","x402 payment protocol failure — missing or invalid payment header","On-chain swap failure — swapTransactionHash may be null with an error message","Network congestion causing delayed transaction confirmation","Contract address mismatch or token liquidity issues causing swap to fail"],"whenToPreferThis":"Use this endpoint when you want to programmatically purchase exactly 1 USDC worth of Doge tokens via an x402-enabled payment flow. Prefer this over the 5 USDC sibling endpoint when you want a smaller, lower-risk token purchase. Best suited for agents automating DeFi micro-purchases or testing Doge token acquisition at minimal cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T18:33:17.592Z","isFirstParty":false,"canonicalSlug":"doge-token-purchase-1-usdc-x420-dev-474b35ef"}