{"uid":"cap_mQo_tsiOvLnwFbRDdkDy8","slug":"x402-vending-machine-buy-2-usdc-of-tokens-dd049e32","name":"x402 Vending Machine - Buy $2 USDC of Tokens","description":"Buy $2.00 USDC worth of tokens from the vending machine. The token launch must be open to buy, and the allocation cap must not have been reached.","url":"https://vending-machine.heurist.xyz/x402/buy2x?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"Token address"},"recipient":{"type":"string","description":"Optional recipient address; default is the API caller"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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":"$2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f8P8WM-FdQQBrbNtCfZKj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase $2.00 USDC worth of tokens from the Heurist vending machine for an open token launch that hasn't reached its allocation cap.","exampleAgentPrompt":"Buy $2 worth of tokens for the token at address 0xAbC123... from the Heurist vending machine and send them to my wallet 0xDef456...","exampleUseCases":[{"title":"Early entry into token launch","prompt":"I want to buy $2 worth of tokens from the Heurist vending machine for the token at address 0x1234567890abcdef — just put them in my own wallet."},{"title":"Gifting tokens to another wallet","prompt":"Can you buy $2 of the vending machine token at address 0xTokenAddr999 and send the tokens to my friend's address 0xFriendWallet123?"},{"title":"Minimum-stake participation in new launch","prompt":"There's a new token launch on Heurist's vending machine at address 0xNewToken555 — go ahead and grab $2 worth for me to test it out."}],"resultDescription":"Returns confirmation of the token purchase, including transaction details, the amount of tokens acquired, and the recipient address that received the allocation.","failureModes":["Token launch is not currently open for purchase — returns error indicating closed or not-yet-started sale","Allocation cap has already been reached — returns error indicating the sale is sold out","Invalid or unrecognized token address — returns validation error","Insufficient payment or payment processing failure via x402 protocol","Invalid recipient address format"],"whenToPreferThis":"Use this endpoint when you want to make a small $2 USDC entry into a token launch on the Heurist vending machine. Prefer this over the $3, $4, or $5 buy endpoints when the user wants the minimum purchase tier or wants to test participation with minimal spend. Requires the target token launch to be active and under its allocation cap.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:33:47.757Z","isFirstParty":false,"canonicalSlug":"x402-vending-machine-buy-2-usdc-of-tokens-dd049e32"}