Skip to main content
Glama

Hyperliquid Funding Rates API

MCP Server x402 License: MIT

覆盖 229 个永续市场的实时和历史 Hyperliquid 资金费率。按最高/最低排序,寻找套利机会。零成本数据。通过 x402 按次付费(Base L2 上的 USDC)——无需 API 密钥,无需注册,没有速率限制墙。

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

快速开始 —— MCP

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

{
  "mcpServers": {
    "hl-funding": {
      "url": "https://hl-funding.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: usenami-mcp

快速开始 —— HTTP (x402)

curl -X POST "https://hl-funding.api.klymax402.com/api/rates" \
  -H "Content-Type: application/json" \
  -d '{}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

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

工具

工具

方法

路径

价格

描述

hyperliquid_get_funding_rates

POST

/api/rates

$0.002

全部 229 个 Hyperliquid 永续市场的当前资金费率,按费率排序

hyperliquid_get_funding_history

POST

/api/history

$0.002

指定 Hyperliquid 币种的历史资金费率数据

hyperliquid_find_funding_arb

POST

/api/arb

$0.002

寻找资金费率套利机会 —— 发现资金费率过高或过低的币种

hyperliquid_get_funding_rates

当需要 Hyperliquid 所有永续市场的当前资金费率时,可调用此工具。它会返回 Hyperliquid DEX 每个上市永续币种的实时资金费率、溢价、未平仓量、标记价格,并按照你指定的条件排序。

参数

名称

类型

必需

描述

sort

string

资金费率排序方式:'highest' = 正值最大优先(空头支付多头),'lowest' = 负值最大优先(多头支付空头),'abs' = 绝对值最高优先(默认)。

示例响应:

{ totalMarkets: 229, sort: "abs", rates: [{ coin: "BTC", fundingRate: 0.000125, annualizedRate: 13.69, premium: 0.0002, openInterest: 1250000000, markPrice: 68500.5 }, ...] }

适用场景:开仓永续合约时查看资金成本。这对于套利持仓分析、市场情绪判断以及识别拥挤交易十分有用。

不适用场景:历史资金数据(使用 hyperliquid_get_funding_history)、金库业绩数据(使用 hyperliquid_get_vault_details)、巨鲸持仓追踪(使用 hyperliquid_track_whale_positions)。

hyperliquid_get_funding_history

当需要某个 Hyperliquid 永续市场的历史资金费率数据时,可使用此工具。它返回在可配置回溯窗口内、带时间戳的资金费率记录,并附带包括均值、最小值、最大值和标准差的统计汇总信息。

参数

名称

类型

必需

描述

coin

string

币种符号(如 BTC、ETH、SOL、DOGE)。必须匹配一个 Hyperliquid 永续市场。

hours

number

回溯窗口小时数。默认: 24。最大: 720(30 天)。每个资金结算周期为 8 小时,因此 24 小时约返回 3 条记录。

示例响应:

{ coin: "ETH", hours: 24, entries: [{ time: "2026-04-13T08:00:00Z", fundingRate: 0.0001, annualizedRate: 10.95 }, ...], summary: { count: 3, avgRate: 0.00012, avgAnnualized: 13.14, minRate: 0.00008, maxRate: 0.00015, stdDev: 0.000029 } }

使用场景:全市场当前费率(使用 hyperliquid_get_funding_rates)、CEX 资金费率(使用 funding_rates_get_current)。

hyperliquid_find_funding_arb

当需要在 Hyperliquid 上寻找资金费率套利机会时,可使用此工具。它会扫描全部 229 个永续市场,返回绝对资金费率超过 每 8 小时 0.01%(年化 > 36%)的币种,并根据费率方向标记为期货多头或空头机会。

参数

名称

类型

必需

描述

threshold

number

被认定为套利机会所需的最低绝对资金费率。默认:0.0001(每 8 小时 0.01%,约年化 36%)。数值越低,返回的结果越多。

示例响应:

{ threshold: 0.0001, totalOpportunities: 12, longOpportunities: 5, shortOpportunities: 7, opportunities: [{ coin: "PEPE", fundingRate: 0.0005, annualizedRate: 54.75, direction: "short opportunity", openInterest: 85000000, markPrice: 0.0000125, premium: 0.001 }, ...] }

不适用:历史资金费率趋势(使用 hyperliquid_get_funding_history)、DEX 兑换报价(使用 dex_get_swap_quote)、DeFi 收益耕种(使用 defi_find_best_yields)。

示例代理提示词

  • “所有 Hyperliquid 永续市场的当前资金费率”

  • “特定 Hyperliquid 永续市场的历史资金费率数据”

  • “在 Hyperliquid 中寻找资金费率套利机会”

支付方式

  • 协议:x402 —— 原生 HTTP 按次调用,无需邮箱注册,无需 API 密钥

  • 网络:Base L2(eip155:8453

  • 资产:USDC

  • 服务提供方:Coinbase CDP(主要)、PayAI(备用)

  • 还可通过 ATXP 使用(OAuth 包裹的 x402,RFC 9728 受限资源元数据)

属于 klymax402 的一部分

100 个 x402 微支付 API,面向 AI 智能体 —— 一个钱包,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
    D
    maintenance
    Real-time crypto intelligence for AI agents. Technical analysis, liquidation heatmaps, sentiment, and funding rates for 50+ Hyperliquid perpetuals via x402 micropayments.
    15
    1
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    Perp-first funding rate & RWA spread data for AI agents. 30+ CEX/DEX venues, 6 tools (4 x402-paywalled, 2 free), bring-your-own-wallet via Base mainnet.
    6
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Real-time perp market-data for AI trading agents — funding rates, funding-arb signals, open interest, volume, orderbook depth/slippage and oracle families across 25 venues, plus HIP-3 RWA coverage (tokenized stocks, metals, oil) that mainstream aggregators lack. x402-native pay-per-call (USDC on Base): one free funding screener tool + 11 paid tools with auto-pay.
    12
    15
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Scans funding rate arbitrage opportunities across perpetual exchanges (Hyperliquid, Binance, Bybit, OKX) and returns cross-venue spreads and annualized yields. Uses x402 micropayments for pay-per-call access.
    MIT

View all related MCP servers

Related MCP Connectors

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/hl-funding-x402'

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