# x402 Vending Machine – Buy $3 USDC of Tokens

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

Purchase $3.00 USDC worth of tokens from the Heurist vending machine for a specified token address, subject to launch availability and allocation cap.

## Facts

- Endpoint: POST https://vending-machine.heurist.xyz/x402/buy3x?utm_source=zero.xyz
- Price: $3/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-vending-machine-buy-3-usdc-of-tokens-7cf655b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t-FJTcBQWOHrEHgRCFasF

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-3-usdc-of-tokens-7cf655b0 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you want to make a small $3 USDC token purchase on the Heurist vending machine. Prefer this over the $4 or $5 variants when the user explicitly wants to spend exactly $3. This is ideal for low-risk entry positions or automated small-lot purchases into token launches.

## Known failure modes

- Token launch is not open for buying — returns an error indicating the launch is closed or not yet started
- Allocation cap has already been reached — returns an error that no more tokens are available
- Invalid or unrecognized token address — returns a validation error
- Recipient address is malformed — returns a validation error
- Payment of $3 USDC fails or is rejected — returns a payment failure error
- Network or blockchain congestion causes transaction timeout

## How this service works

Buy $3.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

Returns a confirmation of the $3 USDC token purchase, including transaction details and the amount of tokens allocated to the recipient wallet.

## 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-3-usdc-of-tokens-7cf655b0/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)
