# x402stock On-Chain Perps Orderbook via ZeroClick

> x402stock On-Chain Perps Orderbook via ZeroClick is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-24).

Returns the live order book (bids and asks) for a specified cryptocurrency perpetual futures contract traded on-chain, paid per-request in USDC via x402.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/perps/orderbook/%7Bcoin%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-on-chain-perps-orderbook-via-zeroclick-d2a68421
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yi3lDpZg-XN2FrZJuxfko

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 x402stock-on-chain-perps-orderbook-via-zeroclick-d2a68421
```

Example prompt: Pull the live on-chain perps order book for BTC right now — I want to see the current bids and asks.

## When to prefer this

Choose this endpoint when you need real-time on-chain perpetual futures order book data (bids/asks) for a specific cryptocurrency, and you want pay-per-request pricing with no API key or account setup. Prefer this over centralized exchange order book APIs when the use case specifically involves on-chain/DeFi perp markets. Best suited for agents needing live market depth for trading decisions, spread analysis, or liquidity research on decentralized perpetuals.

## Known failure modes

- Invalid or unsupported coin symbol returns 404 or error response
- Network latency or on-chain data provider outage causes delayed or empty response
- Payment failure (insufficient USDC balance) results in 402 Payment Required
- Coin symbol with no active on-chain perp market returns empty or null order book
- Rate limiting if too many requests are fired in rapid succession

## How this service works

Market and economic data for AI agents — US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities (crude, natural gas, gasoline), US and global macro (Fed funds, CPI/PCE, jobs, GDP, Treasury debt & yields, World Bank indicators), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 or MPP. This server is a pay-per-use, transparent proxy in front of x402stock's own API: it handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. The complete verified paid surface is listed at /openapi.json, the source of truth for available operations. Each operation here carries its live price in x-payment-info. Use the operations and details here when they meet your needs. Filtered specs contain only matching operations; if you cannot find what you need here, use search or the service catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge, reserved for agents claimed by a human with a verified email.

## Output

Returns the current order book for the specified coin's on-chain perpetual futures market, including bid and ask price levels with associated sizes/quantities, reflecting live on-chain state at the time of the request.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-on-chain-perps-orderbook-via-zeroclick-d2a68421/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
