{
  "x402Version": 2,
  "id": 72079,
  "slug": "saylorinnovations-api-crypto-orderbook-depth",
  "resource": "https://saylorinnovations.com/api/crypto/orderbook/depth",
  "description": "Crypto slippage - what a USD trade size costs on the Coinbase, Kraken, Bitstamp and Gemini order books, with spread, average fill price, slippage percent and best venue to buy or sell",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95877",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "base": {
        "type": "string",
        "description": "Base asset or base currency"
      },
      "trade_size_usd": {
        "type": "number",
        "description": "Trade size, in US dollars"
      },
      "best_venue_to_buy": {
        "type": [
          "string",
          "null"
        ],
        "description": "Best venue to buy"
      },
      "venues": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "exchange": {
              "type": "string",
              "description": "Exchange the data comes from"
            },
            "spread_pct": {
              "type": [
                "number",
                "null"
              ],
              "description": "Spread, as a percentage"
            },
            "buy": {
              "type": "object"
            },
            "sell": {
              "type": "object"
            },
            "best_bid": {
              "description": "Highest bid price"
            },
            "best_ask": {
              "description": "Lowest ask price"
            },
            "levels_fetched": {
              "description": "Levels fetched"
            }
          }
        },
        "description": "Venues included"
      },
      "venues_responding": {
        "type": [
          "number",
          "null"
        ],
        "description": "Venues that answered"
      },
      "best_venue_to_sell": {
        "type": [
          "string",
          "null"
        ],
        "description": "Best venue to sell"
      },
      "note": {
        "type": [
          "string",
          "null"
        ],
        "description": "Caveat or context for reading the result"
      },
      "checked_at": {
        "type": [
          "string",
          "null"
        ],
        "description": "Time the check was run (UTC)"
      }
    },
    "required": [
      "base",
      "venues"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "base": "ETH",
            "usd": "100000"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "base": "ETH",
            "trade_size_usd": 100000,
            "venues_responding": 4,
            "best_venue_to_buy": "bitstamp",
            "best_venue_to_sell": "coinbase",
            "venues": [
              {
                "exchange": "coinbase",
                "best_bid": 2474.64,
                "best_ask": 2474.7,
                "spread_pct": 0.0024,
                "levels_fetched": {
                  "bids": 7044,
                  "asks": 12653
                },
                "buy": {
                  "filled_usd": 100000,
                  "complete": true,
                  "avg_price": 2474.9907,
                  "slippage_pct": 0.013
                },
                "sell": {
                  "filled_usd": 100000,
                  "complete": true,
                  "avg_price": 2474.3534,
                  "slippage_pct": 0.0128
                }
              },
              {
                "exchange": "bitstamp",
                "best_bid": 2474.58,
                "best_ask": 2474.59,
                "spread_pct": 0.0004,
                "levels_fetched": {
                  "bids": 761,
                  "asks": 1107
                },
                "buy": {
                  "filled_usd": 100000,
                  "complete": true,
                  "avg_price": 2474.6486,
                  "slippage_pct": 0.0026
                },
                "sell": {
                  "filled_usd": 100000,
                  "complete": true,
                  "avg_price": 2474.2654,
                  "slippage_pct": 0.0129
                }
              },
              {
                "exchange": "gemini",
                "best_bid": 2474.52,
                "best_ask": 2474.53,
                "spread_pct": 0.0004,
                "levels_fetched": {
                  "bids": 500,
                  "asks": 500
                },
                "buy": {
                  "filled_usd": 100000,
                  "complete": true,
                  "avg_price": 2474.6979,
                  "slippage_pct": 0.007
                },
                "sell": {
                  "filled_usd": 100000,
                  "complete": true,
                  "avg_price": 2473.668,
                  "slippage_pct": 0.0346
                }
              },
              {
                "exchange": "kraken",
                "best_bid": 2475,
                "best_ask": 2475.01,
                "spread_pct": 0.0004,
                "levels_fetched": {
                  "bids": 500,
                  "asks": 500
                },
                "buy": {
                  "filled_usd": 100000,
                  "complete": true,
                  "avg_price": 2475.0458,
                  "slippage_pct": 0.0016
                },
                "sell": {
                  "filled_usd": 100000,
                  "complete": true,
                  "avg_price": 2474.1706,
                  "slippage_pct": 0.0337
                }
              }
            ],
            "note": "Slippage is measured against the mid price using the visible book; complete=false means the fetched levels could not absorb the size."
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "base": {
                    "type": "string",
                    "description": "Coin symbol, e.g. BTC, ETH, SOL"
                  },
                  "usd": {
                    "type": "string",
                    "description": "optional trade size in USD, 100-10000000, default 100000"
                  }
                },
                "required": [
                  "base"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "base": {
                    "type": "string",
                    "description": "Base asset or base currency"
                  },
                  "trade_size_usd": {
                    "type": "number",
                    "description": "Trade size, in US dollars"
                  },
                  "best_venue_to_buy": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Best venue to buy"
                  },
                  "venues": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "exchange": {
                          "type": "string",
                          "description": "Exchange the data comes from"
                        },
                        "spread_pct": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Spread, as a percentage"
                        },
                        "buy": {
                          "type": "object"
                        },
                        "sell": {
                          "type": "object"
                        },
                        "best_bid": {
                          "description": "Highest bid price"
                        },
                        "best_ask": {
                          "description": "Lowest ask price"
                        },
                        "levels_fetched": {
                          "description": "Levels fetched"
                        }
                      }
                    },
                    "description": "Venues included"
                  },
                  "venues_responding": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Venues that answered"
                  },
                  "best_venue_to_sell": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Best venue to sell"
                  },
                  "note": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Caveat or context for reading the result"
                  },
                  "checked_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Time the check was run (UTC)"
                  }
                },
                "required": [
                  "base",
                  "venues"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "order book",
    "slippage",
    "market depth",
    "liquidity",
    "trade impact"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.845Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "base": {
          "type": "string",
          "description": "Coin symbol, e.g. BTC, ETH, SOL"
        },
        "usd": {
          "type": "string",
          "description": "optional trade size in USD, 100-10000000, default 100000"
        }
      },
      "required": [
        "base"
      ]
    },
    "exampleResponse": {
      "base": "ETH",
      "trade_size_usd": 100000,
      "venues_responding": 4,
      "best_venue_to_buy": "bitstamp",
      "best_venue_to_sell": "coinbase",
      "venues": [
        {
          "exchange": "coinbase",
          "best_bid": 2474.64,
          "best_ask": 2474.7,
          "spread_pct": 0.0024,
          "levels_fetched": {
            "bids": 7044,
            "asks": 12653
          },
          "buy": {
            "filled_usd": 100000,
            "complete": true,
            "avg_price": 2474.9907,
            "slippage_pct": 0.013
          },
          "sell": {
            "filled_usd": 100000,
            "complete": true,
            "avg_price": 2474.3534,
            "slippage_pct": 0.0128
          }
        },
        {
          "exchange": "bitstamp",
          "best_bid": 2474.58,
          "best_ask": 2474.59,
          "spread_pct": 0.0004,
          "levels_fetched": {
            "bids": 761,
            "asks": 1107
          },
          "buy": {
            "filled_usd": 100000,
            "complete": true,
            "avg_price": 2474.6486,
            "slippage_pct": 0.0026
          },
          "sell": {
            "filled_usd": 100000,
            "complete": true,
            "avg_price": 2474.2654,
            "slippage_pct": 0.0129
          }
        },
        {
          "exchange": "gemini",
          "best_bid": 2474.52,
          "best_ask": 2474.53,
          "spread_pct": 0.0004,
          "levels_fetched": {
            "bids": 500,
            "asks": 500
          },
          "buy": {
            "filled_usd": 100000,
            "complete": true,
            "avg_price": 2474.6979,
            "slippage_pct": 0.007
          },
          "sell": {
            "filled_usd": 100000,
            "complete": true,
            "avg_price": 2473.668,
            "slippage_pct": 0.0346
          }
        },
        {
          "exchange": "kraken",
          "best_bid": 2475,
          "best_ask": 2475.01,
          "spread_pct": 0.0004,
          "levels_fetched": {
            "bids": 500,
            "asks": 500
          },
          "buy": {
            "filled_usd": 100000,
            "complete": true,
            "avg_price": 2475.0458,
            "slippage_pct": 0.0016
          },
          "sell": {
            "filled_usd": 100000,
            "complete": true,
            "avg_price": 2474.1706,
            "slippage_pct": 0.0337
          }
        }
      ],
      "note": "Slippage is measured against the mid price using the visible book; complete=false means the fetched levels could not absorb the size."
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "base": "ETH",
              "usd": "100000"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "base": "ETH",
              "trade_size_usd": 100000,
              "venues_responding": 4,
              "best_venue_to_buy": "bitstamp",
              "best_venue_to_sell": "coinbase",
              "venues": [
                {
                  "exchange": "coinbase",
                  "best_bid": 2474.64,
                  "best_ask": 2474.7,
                  "spread_pct": 0.0024,
                  "levels_fetched": {
                    "bids": 7044,
                    "asks": 12653
                  },
                  "buy": {
                    "filled_usd": 100000,
                    "complete": true,
                    "avg_price": 2474.9907,
                    "slippage_pct": 0.013
                  },
                  "sell": {
                    "filled_usd": 100000,
                    "complete": true,
                    "avg_price": 2474.3534,
                    "slippage_pct": 0.0128
                  }
                },
                {
                  "exchange": "bitstamp",
                  "best_bid": 2474.58,
                  "best_ask": 2474.59,
                  "spread_pct": 0.0004,
                  "levels_fetched": {
                    "bids": 761,
                    "asks": 1107
                  },
                  "buy": {
                    "filled_usd": 100000,
                    "complete": true,
                    "avg_price": 2474.6486,
                    "slippage_pct": 0.0026
                  },
                  "sell": {
                    "filled_usd": 100000,
                    "complete": true,
                    "avg_price": 2474.2654,
                    "slippage_pct": 0.0129
                  }
                },
                {
                  "exchange": "gemini",
                  "best_bid": 2474.52,
                  "best_ask": 2474.53,
                  "spread_pct": 0.0004,
                  "levels_fetched": {
                    "bids": 500,
                    "asks": 500
                  },
                  "buy": {
                    "filled_usd": 100000,
                    "complete": true,
                    "avg_price": 2474.6979,
                    "slippage_pct": 0.007
                  },
                  "sell": {
                    "filled_usd": 100000,
                    "complete": true,
                    "avg_price": 2473.668,
                    "slippage_pct": 0.0346
                  }
                },
                {
                  "exchange": "kraken",
                  "best_bid": 2475,
                  "best_ask": 2475.01,
                  "spread_pct": 0.0004,
                  "levels_fetched": {
                    "bids": 500,
                    "asks": 500
                  },
                  "buy": {
                    "filled_usd": 100000,
                    "complete": true,
                    "avg_price": 2475.0458,
                    "slippage_pct": 0.0016
                  },
                  "sell": {
                    "filled_usd": 100000,
                    "complete": true,
                    "avg_price": 2474.1706,
                    "slippage_pct": 0.0337
                  }
                }
              ],
              "note": "Slippage is measured against the mid price using the visible book; complete=false means the fetched levels could not absorb the size."
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "base": {
                      "type": "string",
                      "description": "Coin symbol, e.g. BTC, ETH, SOL"
                    },
                    "usd": {
                      "type": "string",
                      "description": "optional trade size in USD, 100-10000000, default 100000"
                    }
                  },
                  "required": [
                    "base"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "base": {
                      "type": "string",
                      "description": "Base asset or base currency"
                    },
                    "trade_size_usd": {
                      "type": "number",
                      "description": "Trade size, in US dollars"
                    },
                    "best_venue_to_buy": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Best venue to buy"
                    },
                    "venues": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "exchange": {
                            "type": "string",
                            "description": "Exchange the data comes from"
                          },
                          "spread_pct": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Spread, as a percentage"
                          },
                          "buy": {
                            "type": "object"
                          },
                          "sell": {
                            "type": "object"
                          },
                          "best_bid": {
                            "description": "Highest bid price"
                          },
                          "best_ask": {
                            "description": "Lowest ask price"
                          },
                          "levels_fetched": {
                            "description": "Levels fetched"
                          }
                        }
                      },
                      "description": "Venues included"
                    },
                    "venues_responding": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Venues that answered"
                    },
                    "best_venue_to_sell": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Best venue to sell"
                    },
                    "note": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Caveat or context for reading the result"
                    },
                    "checked_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Time the check was run (UTC)"
                    }
                  },
                  "required": [
                    "base",
                    "venues"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/crypto/orderbook/depth?base=ETH&usd=100000",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "base": "string",
    "trade_size_usd": 0,
    "best_venue_to_buy": "string",
    "venues": [
      {
        "exchange": "string",
        "spread_pct": 0,
        "buy": {},
        "sell": {},
        "best_bid": null,
        "best_ask": null,
        "levels_fetched": null
      }
    ],
    "venues_responding": 0,
    "best_venue_to_sell": "string",
    "note": "string",
    "checked_at": "string"
  }
}