# Button Money Limit Order

> Button Money Limit Order is a paid API for AI agents from buttonmoney.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Creates a limit order for a token swap that executes automatically when the specified price is reached

## Facts

- Endpoint: POST https://buttonmoney.vercel.app/api/premium/swap/limit-order
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/button-money-limit-order-0312180f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m7FYZm00PJBl_NgCaCLxM

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 button-money-limit-order-0312180f -d '<json body>'
```

Example prompt: Set a limit order to swap 100 USDC (token address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) for ETH (token address 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) and only execute it when the price hits 0.00035 ETH per USDC.

## When to prefer this

Use this endpoint when you need to automate a token swap that should only execute at a specific price point, rather than executing immediately at market price. Ideal for agents managing DeFi portfolios that need price-conditional trading logic without constant monitoring.

## Known failure modes

- Invalid token address format — returns 400 with address validation error
- Insufficient token balance or allowance — returns error indicating funds unavailable
- Limit price outside acceptable range or malformed — returns 400 with price validation error
- Unsupported token pair — returns error if the token pair has no available liquidity route
- Service unavailable — returns 503 if the order management system is down
- Payment failure — returns 402 if the $0.005 USDC payment is not provided

## How this service works

Create limit order with automatic execution

## Output

Returns a confirmation of the limit order creation, including an order identifier, the specified parameters (tokenIn, amountIn, tokenOut, limitPrice), and status indicating the order is queued for automatic execution when the limit price condition is met.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "tokenIn",
  "amountIn",
  "tokenOut",
  "limitPrice"
 ],
 "properties": {
  "tokenIn": {
   "type": "string",
   "description": "Input token address"
  },
  "amountIn": {
   "type": "string",
   "description": "Amount of input token"
  },
  "tokenOut": {
   "type": "string",
   "description": "Output token address"
  },
  "limitPrice": {
   "type": "string",
   "description": "Limit price for execution"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/button-money-limit-order-0312180f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from buttonmoney.vercel.app](https://www.zero.xyz/host/buttonmoney.vercel.app/llms.txt)
