360 Secure SkillHub
360 安全技能中心

Binance Crypto Price

该 Skill 提供命令行脚本,调用 Binance 现货行情接口获取加密货币最新价格,默认展示 BTC、ETH 等热门币种,可传入交易对或简写查询单个币种,支持 JSON 输出与列出全部交易对,无需 API Key。脚本以 Python 编写,需联网执行。

yangzhe1991
yangzhe1991
热度 81.91
最近更新 2026-05-11 17:28:50
分类:数据依赖:代码执行 / 第三方 API应用场景:财务

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add binance-crypto-price
Metadata
name
cryptoprice
description
Query real-time cryptocurrency prices using the Binance API. Get latest prices for Bitcoin, Ethereum, and all BN listed cryptocurrencies. No API key required.

CryptoPrice - Cryptocurrency Price Query

Query real-time cryptocurrency prices using the official Binance API.

Quick Start

Query Popular Coin Prices

uv run ~/.openclaw/skills/cryptoprice/scripts/cryptoprice.py

Query Specific Coin

# Query Bitcoin
uv run ~/.openclaw/skills/cryptoprice/scripts/cryptoprice.py BTCUSDT

# Query Ethereum
uv run ~/.openclaw/skills/cryptoprice/scripts/cryptoprice.py ETHUSDT

# Shorthand (auto-completes USDT)
uv run ~/.openclaw/skills/cryptoprice/scripts/cryptoprice.py BTC

JSON Format Output

uv run ~/.openclaw/skills/cryptoprice/scripts/cryptoprice.py --json
uv run ~/.openclaw/skills/cryptoprice/scripts/cryptoprice.py BTC --json

List All Trading Pairs

uv run ~/.openclaw/skills/cryptoprice/scripts/cryptoprice.py --list

Supported Coins

Popular coins displayed by default:

  • BTC - Bitcoin
  • ETH - Ethereum
  • BNB - Binance Coin
  • SOL - Solana
  • XRP - Ripple
  • DOGE - Dogecoin
  • ADA - Cardano
  • AVAX - Avalanche
  • DOT - Polkadot
  • LINK - Chainlink

API Data Source

  • Binance Spot API: https://api.binance.com/api/v3/ticker/price
  • No API Key required
  • Real-time data with low latency