Low Risk

binance_spot_klines

📊 K线数据查询 - 现货市场技术分析利器 🔍 功能说明: 获取现货市场的K线(蜡烛图)历史数据,包含开盘价、最高价、最低价、收盘价和成交量等完整技术指标。每根K线代表特定时间段内的价格走势,是技术分析的基础数据。 ⚠️ 重要提醒: • 时间间隔支持:1分钟到1个月,建议短期分析用1m/5m,长期分析用1d/1w • 数据限制:单次最多返回1500根K线,如需更多数据请分批获取 • 时间格式:使用毫秒级时间戳,建议使用最近30天内的数据以确保准确性 • 交易时间:现货市场24小时交易,但在系统维护时段可能数据延迟 🎯 适用场景: • 技术分析师绘制价格图表,识别支撑位和阻力位 • ...

How to control binance_spot_klines ↓

What binance_spot_klines does on Binance

AI agents call binance_spot_klines to retrieve information from Binance without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Low Risk

Why binance_spot_klines needs a policy

This is a data retrieval tool with no side effects. It queries historical market price data to support technical analysis and backtesting. The description explicitly states it retrieves data for analysis purposes without any capability to modify accounts, execute trades, or affect market state.

From the tool's definition Tool retrieves K-line (candlestick) historical data for spot market: 'obtain historical K-line (candlestick) data from spot market', includes OHLCV data (open, high, low, close, volume). No modification, deletion, or execution capabilities.

Documented attack patterns abuse exactly the kind of access binance_spot_klines gives an agent:

How to control binance_spot_klines

PolicyLayer is an MCP gateway — it sits between your AI agents and Binance, and nothing reaches the server without passing your rules. This is the rule we recommend for binance_spot_klines:

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "binance_spot_klines": {}
  }
}

binance_spot_klines is read-only, so it stays allowed — but everything else on the server is denied unless you say otherwise.

  1. Create a free account and register Binance — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
CAP THIS TOOL →

Free to start. No card required.

Related tools and policies

More Binance tools

Financial binance_futures_change_leverage 【合约杠杆调整】修改指定合约的杠杆倍数 📋 功能说明 - 调整指定合约的杠杆倍数(1-125倍) - 影响该合约的保证金需求和风险水平 - 立即生效,影响后续所有交易 - 不影 Financial binance_futures_place_order 【合约下单】在Binance永续合约市场提交交易订单 📋 功能说明 - 支持USDT永续合约和币本位合约交易 - 包括开仓、平仓、加仓、减仓等操作 - 支持多种订单类型:市价、 Financial binance_spot_place_order 【现货下单】在Binance现货市场提交交易订单 📋 功能说明 - 支持多种订单类型:市价单、限价单、止损单、止盈单 - 自动验证账户余额和交易对规则 - 实时返回订单执行状态 Financial binance_futures_close_position 【合约平仓】市价一键平仓指定合约的所有持仓 📋 功能说明 - 市价立即平仓指定合约的持仓 - 自动计算平仓方向和数量,无需手动计算 - 支持单向和双向持仓模式 - 立即释放所有 Destructive binance_futures_cancel_all_orders 【合约批量撤单】一键取消指定合约的所有委托订单 📋 功能说明 - 批量取消NEW(新建)和PARTIALLY_FILLED(部分成交)状态的订单 - 一次性清除指定合约的所有未 Destructive binance_futures_cancel_order 【合约撤单】取消合约市场的指定委托订单 📋 功能说明 - 撤销状态为NEW(新建)或PARTIALLY_FILLED(部分成交)的合约订单 - 立即释放占用的保证金到可用余额 Destructive binance_spot_cancel_all_orders 【现货批量撤单】一键取消指定交易对的所有委托订单 📋 功能说明 - 批量取消NEW(新建)和PARTIALLY_FILLED(部分成交)状态的订单 - 一次性清除指定交易对的所 Destructive binance_spot_cancel_order 【现货撤单】取消现货市场的指定委托订单 📋 功能说明 - 撤销状态为NEW(新建)或PARTIALLY_FILLED(部分成交)的订单 - 立即生效,撤销后的订单无法恢复 -

All 35 Binance tools →

Go deeper

Questions about binance_spot_klines

What does the binance_spot_klines tool do? +

📊 K线数据查询 - 现货市场技术分析利器 🔍 功能说明: 获取现货市场的K线(蜡烛图)历史数据,包含开盘价、最高价、最低价、收盘价和成交量等完整技术指标。每根K线代表特定时间段内的价格走势,是技术分析的基础数据。 ⚠️ 重要提醒: • 时间间隔支持:1分钟到1个月,建议短期分析用1m/5m,长期分析用1d/1w • 数据限制:单次最多返回1500根K线,如需更多数据请分批获取 • 时间格式:使用毫秒级时间戳,建议使用最近30天内的数据以确保准确性 • 交易时间:现货市场24小时交易,但在系统维护时段可能数据延迟 🎯 适用场景: • 技术分析师绘制价格图表,识别支撑位和阻力位 • 量化策略师获取历史数据进行回测和策略验证 • 交易员查看不同时间周期的价格走势制定交易计划 • 风险管理人员分析价格波动性和历史极值 📈 输出示例: 查询成功后将返回: \. It is categorised as a Read tool in the Binance MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on binance_spot_klines? +

Register the Binance MCP server in PolicyLayer and add a rule for binance_spot_klines: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Binance. Nothing to install.

What risk level is binance_spot_klines? +

binance_spot_klines is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit binance_spot_klines? +

Yes. Add a rate_limit block to the binance_spot_klines rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block binance_spot_klines completely? +

Set action: deny in the PolicyLayer policy for binance_spot_klines. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides binance_spot_klines? +

binance_spot_klines is provided by the Binance MCP server (kydlikebtc/binance-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Binance tool call.

Start from Binance, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

35 Binance tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.