# MyceLia Signal BTC/USD Order Book Imbalance Oracle

> MyceLia Signal BTC/USD Order Book Imbalance Oracle is a paid API for AI agents from api.myceliasignal.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-13).

Returns BTC/USD order book imbalance metrics — depth, spread, and sweep cost — aggregated across 5 exchanges with collapse detection, delivered as a cryptographically signed Ed25519 attestation

## Facts

- Endpoint: GET https://api.myceliasignal.com/oracle/orderbook/btc/usd
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mycelia-signal-btc-usd-order-book-imbalance-oracle-293e92fb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cnLwabisJ8PRqvk_ITM_y

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 mycelia-signal-btc-usd-order-book-imbalance-oracle-293e92fb
```

Example prompt: Can you pull the current BTC/USD order book imbalance — I want to see the depth, spread, and sweep cost aggregated across all 5 exchanges, and flag if there's any collapse signal detected?

## When to prefer this

Choose this endpoint when you need cryptographically verifiable BTC/USD order book microstructure data — particularly imbalance, depth, sweep cost, and collapse detection — aggregated across 5 exchanges in a single signed response. Ideal for trading agents, risk systems, or smart contracts that require tamper-evident market data attestations rather than raw, unsigned exchange feeds.

## Known failure modes

- Payment not received or x402 payment header missing — returns 402 Payment Required
- Exchange data feed unavailable — partial or degraded data with fewer than 5 exchanges contributing
- Signature verification failure — Ed25519 attestation cannot be validated client-side
- Rate limit exceeded — too many calls within a time window
- Service downtime — 5xx error if backend oracle is offline

## How this service works

BTC order book imbalance — depth, spread, sweep cost across 5 exchanges with collapse detection — Ed25519 signed attestation

## Output

A cryptographically signed Ed25519 attestation containing BTC/USD order book metrics: bid and ask depth levels, bid-ask spread, sweep cost (cost to move the market by a given amount), order book imbalance ratio, collapse detection signal, and the aggregated data sourced from 5 exchanges. The signature allows downstream verification of data integrity.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mycelia-signal-btc-usd-order-book-imbalance-oracle-293e92fb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.myceliasignal.com](https://www.zero.xyz/host/api.myceliasignal.com/llms.txt)
