Skip to main content
Glama

DeFi Liquidation Oracle API

MCP Server x402 License: MIT

DeFi 清算风险等级来自 Aave、Compound、Morpho —— 包含风险仓位、清算触发价格、总敞口。通过 x402(Base L2 上的 USDC)按次付费 —— 无需 API 密钥,无需注册,也没有速率限制门槛。

klymax402 市场的一部分 —— 面向 AI 智能体的 100 个 x402 小额付费 API,一个钱包,USDC on Base。

快速入门 -- MCP

将其添加到你的 MCP 客户端配置中(Claude Desktop、Cursor、ElizaOS 等):

{
  "mcpServers": {
    "liquidation-oracle": {
      "url": "https://liquidation-oracle.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: Cabal-Hunter

快速入门 -- HTTP (x402)

curl "https://liquidation-oracle.api.klymax402.com/api/levels"
# -> 402 Payment Required, with an x402 payment challenge in the response body

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

工具

工具

方法

路径

价格

描述

defi_get_liquidation_levels

GET

/api/levels

$0.003

获取 DeFi 借贷协议中的清算风险等级

defi_get_liquidation_levels

在需要检查 DeFi 借贷协议中的清算风险等级时使用它。返回 JSON 格式的風險仓洪与清算触发条件。

参数

名称

类型

必填

描述

protocol

string

按协议筛选(例如 aave、compound、morpho、venus)。使用 'all' 或省略以获取所有协议。

asset

string

按抵押资产符号筛选(例如 ETH、WBTC、stETH)。可选 —— 省略时返回所有资产。

minValueUsd

number

包含的最小风险资产价值(美元),默认:10000

limit

number

返回结果数量(默认:20,最大:100)

返回结果

  • positions —— 风险仓位数组,包含 owner、protocol、collateral asset、collateral value USD

  • liquidationPrice —— 仓位被清算时的价格

  • currentPrice —— 抵押资产的当前市场价

  • distancePercent —— 当前价格距离清算价的百分比(%)

  • aggregateAtRisk —— 每个协议的风险敞口总美元价值

  • protocol —— 借贷平台名称(Aave、Compound、Morpho、Venus)

响应示例:

{"positions":[{"protocol":"Aave V3","collateral":"WETH","collateralUsd":245000,"liquidationPrice":2850.00,"currentPrice":3100.00,"distancePercent":8.06}],"aggregateAtRisk":{"Aave V3":12500000},"totalPositions":42}

使用场景:市场大幅波动时识别级联清算风险。对清算机器人操作者和风险监控至关重要。

不适用于:收益查询(使用 defi_find_best_yields)、兑换报价(使用 dex_get_swap_quote)、钱包资产(使用 wallet_get_portfolio)。

示例智能体提示词

  • "检查 DeFi 借贷协议中的清算风险等级。"

支付

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

  • 网络:Base L2 (eip155:8453)

  • 资产:USDC

  • Facilitator:Coinbase CDP(主要),PayAI(备用)

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

klymax402 的一部分

100 个面向 AI 智能体的 x402 小额付费 API —— 一个钱包,USDC on Base,无需注册。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    On-chain Solana token safety for trading agents — traces coordinated wallet funding, same-block Jito bundles, serial-rug deployers and live coordinated dumps into one Exit-Liquidity Risk verdict before a swap. Free tier, then $0.02 USDC/query via x402.
    1
    78
    1
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides counterparty risk checks for any EVM address, returning malicious-history flags, tiered risk scoring, and plain-language summaries via x402 payment.

View all related MCP servers

Related MCP Connectors

  • Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.

  • 30 pay-per-call APIs for AI agents: compliance, trade, safety, web, data. USDC on Base via x402.

  • 63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/liquidation-oracle-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server