# x402 Vending Machine – Buy $10 USDC of Tokens

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

Purchase $10.00 USDC worth of tokens from a vending machine token launch, sending tokens to the caller or a specified recipient address.

## Facts

- Endpoint: POST https://vending-machine.heurist.xyz/x402/buy10x?utm_source=zero.xyz
- Price: $10/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-10-usdc-of-tokens-7edac8f1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XwRT-oIsb1EdJfOU71fR7

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

Example prompt: Buy $10 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 purchase exactly $10 USDC worth of tokens from the Heurist vending machine in a single call. Prefer this over the $3, $4, or $5 variants when a larger single purchase is desired without hitting the maximum. It is the right choice when the token launch is confirmed open and the allocation cap has not been reached.

## Known failure modes

- Token launch is not open for buying — returns an error indicating the sale is not active
- Allocation cap has already been reached — purchase rejected with cap-exceeded error
- Invalid or unrecognized token address — returns a validation error
- Insufficient payment or payment protocol failure — transaction not processed
- Recipient address is malformed — request rejected with address format error

## How this service works

Buy $10.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 $10 USDC and the recipient wallet that received them, along with transaction details.

## 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-10-usdc-of-tokens-7edac8f1/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)
