{"uid":"cap_i4WUxVsRAt2ipaFQsNLsJ","slug":"x402-vending-machine-buy-5-usdc-of-tokens-336e6c5d","name":"x402 Vending Machine – Buy $5 USDC of Tokens","description":"Buy $5.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/buy5x?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":"5","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":"$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_0wN0NyTTWZV_iCc_uRMmB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase $5.00 USDC worth of tokens from an active token launch on the Heurist vending machine, subject to allocation cap availability.","exampleAgentPrompt":"Buy $5 worth of tokens from the Heurist vending machine for token address 0xAbC123... and send them to my wallet 0xDef456....","exampleUseCases":[{"title":"Early token launch participation","prompt":"Buy $5 USDC worth of tokens from the Heurist vending machine for token address 0x1a2b3c4d5e6f and send the allocation to my wallet 0x9f8e7d6c5b."},{"title":"Buying tokens for another wallet","prompt":"Purchase $5 of tokens from the Heurist vending machine for token contract 0xAaBbCcDd and have them sent to my friend's address 0x11223344 instead of mine."},{"title":"Automated agent token acquisition","prompt":"For the token at address 0xDeadBeef on the Heurist vending machine, go ahead and buy the $5 tier — just use my calling wallet as the recipient."}],"resultDescription":"A confirmation of the $5 USDC token purchase, including transaction details, tokens allocated, and the recipient address that received the tokens. May include error details if the launch is closed or the allocation cap has been reached.","failureModes":["Token launch is not open for buying — returns an error indicating the sale is inactive","Allocation cap has been reached — purchase rejected with cap-exceeded error","Invalid or missing token address — returns validation error","Invalid recipient address format — returns address parsing error","Insufficient USDC payment — payment layer rejects the transaction","Network or blockchain RPC failure — transaction cannot be submitted"],"whenToPreferThis":"Use this endpoint when you want to participate in a token launch on the Heurist vending machine with a fixed $5.00 USDC purchase. Prefer this over the $3 or $4 tier endpoints when you want a higher allocation in a single call, and over the $4 tier when the exact $5 fixed amount matches your intent. Suitable for agents automating token launch participation at a specific price point.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:46:08.450Z","isFirstParty":false,"canonicalSlug":"x402-vending-machine-buy-5-usdc-of-tokens-336e6c5d"}