Skip to main content
Glama
orderbook-depth

orderbook-depth

by Br0ski777

Order Book Depth API

MCP Server x402 License: MIT

Uniswap V3 流动性深度分析 —— 1/2/5/10% 档位的价格影响。交易前滑点估算。通过 x402 按次付费(Base L2 上的 USDC)——无需 API 密钥、无需注册、无速率限制墙。

作为 klymax402 市场的一部分 —— 100 个面向 AI 智能体的 x402 微支付 API,一个钱包,Base 上的 USDC。

快速入门 -- MCP

添加到您的 MCP 客户端配置(Claude Desktop、Cursor、ElizaOS 等):

{
  "mcpServers": {
    "orderbook-depth": {
      "url": "https://orderbook-depth.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: Tollbooth MCP Server

快速入门 -- HTTP (x402)

curl "https://orderbook-depth.api.klymax402.com/api/depth?pool=..."
# -> 402 Payment Required, with an x402 payment challenge in the response body

任何支持 x402 的客户端(@x402/fetch、x402-agent-tools、ATXP)都会自动处理 402 -> 签名 -> 重试的循环。

工具

工具

方法

路径

价格

描述

dex_analyze_orderbook_depth

GET

/api/depth

$0.012

分析 Uniswap V3 池的订单簿深度

dex_analyze_orderbook_depth

POST

/api/depth

$0.012

分析 Uniswap V3 池的订单簿深度(POST 变体)

dex_analyze_orderbook_depth

用于在大额交易前分析 Uniswap V3 池的流动性深度。返回 JSON 格式的深度分析。

参数

| 名称 | 类型 | 必填 | 描述 | | --- | --- | --- | --- 描述 | | pool | string | 是 | Uniswap V3 池地址 (0x...) | | chain | string | 否 | 链名称:base、ethereum(默认值:base) |

返回值

  • currentPrice —— 当前池价格

  • depth1pct —— 1% 价格影响范围内的 USD 流动性

  • depth5pct —— 2% 价格影响范围内的 USD 流动性

  • depth5pct —— 5% 价格影响范围内的 USD 流动性

  • depth10pct —— 10% 价格影响范围内的 USD 流动性

  • totalLiquidity —— 池总流动性(USD)

  • feeTier —— 池费率(0.01%、0.05%、0.3%、1%)

  • token0/token1 —— 池代币对符号

示例响应:

{"currentPrice":3128.50,"depth1pct":850000,"depth2pct":2100000,"depth5pct":5400000,"depth10pct":9800000,"totalLiquidity":15200000,"feeTier":"0.3%","token0":"USDC","token1":"WETH"}

何时使用:在链上执行大额交易,以估算滑点并确定最优交易规模。对感知 MEV 的智能体和 OTC 资金池规模测算至关重要。

不适用于:swap 报价(使用 dex_get_swap_quote)、代币安全(使用 token_check_safety)、代币持有人分析(使用 token_get_holder_analysis)。

dex_analyze_orderbook_depth

用于在大额交易前分析 Uniswap V3 池的流动性深度。返回 JSON 格式的深度分析。这是带下划线参数的 dex_analyze_orderbook_depth 的 POST 变体 —— 相同参数作为 JSON 请求体传递,而非 query string。

参数

名称

类型

必填

描述

pool

string

是

Uniswap V3 池地址 (0x...)

chain

string

否

返回

  • currentPrice —— 当前池价格

  • depth1pct —— 1% 价格影响范围内的 USD 流动性

  • depth2pct —— 2% 价格影响范围内的 USD 流动性

  • depth5pct —— 5% 价格影响范围内的 USD 流动性

  • depth10pct —— 10% 价格影响范围内的 USD 流动性

  • totalLiquidity —— 池总流动性(USD)

  • feeTier —— 池费率(0.01%、0.05%、0.3%、1%)

  • token0/token1 —— 池代币对符号

示例响应:

{"currentPrice":3128.50,"depth1pct":850000,"depth2pct":2100000,"depth5pct":5400000,"depth10pct":9800000,"totalLiquidity":15200000,"feeTier":"0.3%","token0":"USDC","token1":"WETH"}

何时使用:在链上执行大额交易,以估算滑点并确定最优交易规模。对感知 MEV 的智能体和 OTC 规模测算至关重要。

不适用于:swap 报价(使用 dex_get_swap_quote)、代币安全(使用 token_check_safety)、代币持有人分析(使用 token_get_holder_analysis)。

示例智能体提示

  • "在大额交易前分析 Uniswap V3 池的流动性深度"

  • "在大额交易前分析 Uniswap V3 池的流动性深度"

Payment

  • 协议:x402 —— HTTP 原生、按次付费、无需注册、无需 API 密钥

  • 网络:Base L2 (eip155:8453)

  • 资产:USDC

  • 促进方:Coinbase CDP(主要)、PayAI(备用)

  • 还可通过 ATXP(OAuth 包装的 x402,RFC 9728 保护资源元数据)访问

属于 kaly max40 kai

用于 AI 智能体的 x402 微支付 API —— 一个钱包、Base 上的 USDC、零注册。

许可

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables checking liquidity depth for Solana DEX pools (Raydium, Orca, Meteora) via pay-per-call x402 micropayments. Returns TVL, slippage estimates, volume, and fee tier for a given token mint.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to query Hyperliquid spot market data, including token listings, live prices, 24h volumes, and wallet balances, via pay-per-call x402 micropayments.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables agents to compute exact Uniswap v3 Q64.96 tick math, quotes, and liquidity fees, simulate MEV sandwich vulnerability, model multi-hop flashloan arbitrage profits, and project Base L2 blob gas costs. Tools are metered per call in USDC via an x402 HTTP 402 challenge settled on Base L2, so an agent can verify net profitability before executing a trade.
      5
      MIT