# Blockle Exchange — Buy BLOCK via x402 Atomic Swap

> Blockle Exchange — Buy BLOCK via x402 Atomic Swap is a paid API for AI agents from exchange.blockle.org, paid per call via x402, $1/call, status unknown (last checked 2026-10-22).

Purchase BLOCK tokens on the non-custodial Blockle exchange by paying USDC via the x402 payment protocol, or settle listing fees and other priced actions.

## Facts

- Endpoint: POST https://exchange.blockle.org/x402/buy?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockle-exchange-buy-block-via-x402-atomic-swap-7b574fd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V6Rj2DGq8CIXqqPr-QuR9

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 blockle-exchange-buy-block-via-x402-atomic-swap-7b574fd0 -d '<json body>'
```

Example prompt: Buy BLOCK tokens on Blockle's non-custodial exchange by sending 50 USDC to my wallet address 0xABC123... — use the atomic swap so I keep custody the whole time.

## When to prefer this

Choose this endpoint when you need to buy BLOCK tokens non-custodially via atomic swap using USDC and the x402 micropayment protocol, pay a Blockle self-serve listing fee, or settle any priced action on the Blockle exchange. Prefer this over custodial CEX alternatives when the user requires self-custody throughout the trade. Use this specifically when the target token is BLOCK and the payment token is USDC on the x402 protocol.

## Known failure modes

- Insufficient USDC balance — payment rejected with payment-required error
- Invalid 'to' address format — request rejected before swap execution
- USDC amount below minimum threshold — action not settled
- Network congestion causing swap timeout or failure
- x402 payment header missing or malformed — 402 Payment Required returned
- BLOCK liquidity insufficient for the requested swap size

## How this service works

Pay USDC over x402 to buy BLOCK, pay self-serve listing fees, or settle a priced action on the non-custodial Blockle exchange.

## Output

An object confirming the swap or payment settlement, typically including transaction status, the amount of BLOCK received or fee settled, and on-chain confirmation details. The exact fields depend on the action settled.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "to",
  "usdc"
 ],
 "properties": {
  "to": {
   "type": "string"
  },
  "usdc": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockle-exchange-buy-block-via-x402-atomic-swap-7b574fd0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from exchange.blockle.org](https://www.zero.xyz/host/exchange.blockle.org/llms.txt)
