# x402 Vending Machine – Buy $5 USDC of Tokens

> x402 Vending Machine – Buy $5 USDC of Tokens is a paid API for AI agents from vending-machine.heurist.xyz, paid per call via x402, $5/call, status unknown (last checked 2026-10-11).

Purchase $5.00 USDC worth of tokens from an active token launch on the Heurist vending machine, subject to allocation cap availability.

## Facts

- Endpoint: POST https://vending-machine.heurist.xyz/x402/buy5x?utm_source=zero.xyz
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-vending-machine-buy-5-usdc-of-tokens-336e6c5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i4WUxVsRAt2ipaFQsNLsJ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-vending-machine-buy-5-usdc-of-tokens-336e6c5d -d '<json body>'
```

Example prompt: Buy $5 worth of tokens from the Heurist vending machine for token address 0xAbC123... and send them to my wallet 0xDef456....

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "token"
 ],
 "properties": {
  "token": {
   "type": "string",
   "description": "Token address"
  },
  "recipient": {
   "type": "string",
   "description": "Optional recipient address; default is the API caller"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-vending-machine-buy-5-usdc-of-tokens-336e6c5d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vending-machine.heurist.xyz](https://www.zero.xyz/host/vending-machine.heurist.xyz/llms.txt)
