# x402 Vending Machine - Buy $1 USDC Token

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

Purchase $1.00 USDC worth of tokens from a specific token launch on the Heurist vending machine, subject to the launch being open and allocation cap not reached.

## Facts

- Endpoint: POST https://vending-machine.heurist.xyz/x402/buy?utm_source=zero.xyz
- Price: $1/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-1-usdc-token-b1f86ccf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xlzeID-laMNNCpb2ot_kB

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-1-usdc-token-b1f86ccf -d '<json body>'
```

Example prompt: Buy $1 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 the lowest-cost ($1 USDC) entry point into a token launch on the Heurist vending machine, ideal for testing or minimal participation. Prefer the $3, $4, or $5 variants if you want larger allocations in a single call.

## Known failure modes

- Token launch is not open for buying — returns an error indicating the sale is closed
- Allocation cap has been reached — purchase is rejected
- Invalid or unrecognized token address — returns a bad request error
- Insufficient USDC payment — payment validation fails
- Recipient address is malformed — request rejected with validation error

## How this service works

Buy $1.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 confirmation of the token purchase, including the amount of tokens acquired for $1.00 USDC, the recipient address credited, and transaction details. May indicate failure 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-1-usdc-token-b1f86ccf/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)
