市场脉搏Skill MarketPulse

市场脉搏是一个提供实时和历史金融数据查询的API工具,覆盖股票和加密货币。它支持获取价格、市场动态、财务指标、公司新闻、财务报表、分析师预测、内幕交易、机构持股、SEC文件以及利率数据。用户可以进行投资研究、跨资产组合分析、市场筛选、财报分析和加密货币追踪。该工具旨在为量化交易、算法交易、投资分析和金融科技应用提供一站式数据解决方案。关键词:金融数据API,股票数据,加密货币价格,量化交易,投资分析,市场研究,财务指标,实时行情,历史数据,量化金融。

量化策略 93 次安装 1294 次浏览 更新于 2/24/2026

name: MarketPulse description: “查询股票和加密货币的实时与历史金融数据——价格、市场动态、指标和趋势,用于分析、预警和报告。” homepage: https://openclaw.ai metadata: {“openclaw”:{“emoji”:“📊”,“requires”:{“bins”:[“curl”,“python3”],“env”:[“AISA_API_KEY”]},“primaryEnv”:“AISA_API_KEY”}}

OpenClaw 市场数据 📊

为自主智能体提供的完整市场数据。由 AIsa 驱动。

一个API密钥。股票 + 加密货币 + 财务数据。您所需的一切。

🔥 您能做什么?

跨资产组合

"获取我的投资组合中 BTC、ETH 价格以及 AAPL、NVDA 股票数据"

投资研究

"完整分析:NVDA 价格趋势、内幕交易、分析师预测、SEC文件"

加密货币追踪

"BTC、ETH、SOL 的实时价格及30天历史图表"

财报分析

"获取特斯拉财报、分析师预测及价格反应"

市场筛选

"寻找市盈率 < 15 且营收增长 > 20% 的股票"

大额交易监控

"追踪苹果公司内幕交易并与价格变动关联"

快速开始

export AISA_API_KEY="your-key"

🏦 传统金融

股票价格

# 历史价格数据(日线)
curl "https://api.aisa.one/apis/v1/financial/prices?ticker=AAPL&interval=day&interval_multiplier=1&start_date=2025-01-01&end_date=2025-12-31" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 周线价格数据
curl "https://api.aisa.one/apis/v1/financial/prices?ticker=AAPL&interval=week&interval_multiplier=1&start_date=2025-01-01&end_date=2025-12-31" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 分钟级数据(日内)
curl "https://api.aisa.one/apis/v1/financial/prices?ticker=AAPL&interval=minute&interval_multiplier=5&start_date=2025-01-15&end_date=2025-01-15" \
  -H "Authorization: Bearer $AISA_API_KEY"

参数:

  • ticker: 股票代码(必需)
  • interval: second, minute, day, week, month, year(必需)
  • interval_multiplier: 时间间隔乘数,例如 5 表示5分钟K线(必需)
  • start_date: 开始日期 YYYY-MM-DD(必需)
  • end_date: 结束日期 YYYY-MM-DD(必需)

公司新闻

# 按股票代码获取新闻
curl "https://api.aisa.one/apis/v1/financial/news?ticker=AAPL&limit=10" \
  -H "Authorization: Bearer $AISA_API_KEY"

财务报表

# 所有财务报表
curl "https://api.aisa.one/apis/v1/financial/financial_statements/all?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 利润表
curl "https://api.aisa.one/apis/v1/financial/financial_statements/income?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 资产负债表
curl "https://api.aisa.one/apis/v1/financial/financial_statements/balance?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 现金流量表
curl "https://api.aisa.one/apis/v1/financial/financial_statements/cash?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

财务指标

# 实时财务指标快照
curl "https://api.aisa.one/apis/v1/financial/financial-metrics/snapshot?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 历史财务指标
curl "https://api.aisa.one/apis/v1/financial/financial-metrics?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

分析师预测

# 每股收益预测
curl "https://api.aisa.one/apis/v1/financial/analyst/eps?ticker=AAPL&period=annual" \
  -H "Authorization: Bearer $AISA_API_KEY"

内幕交易

# 获取内幕交易
curl "https://api.aisa.one/apis/v1/financial/insider/trades?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

机构持股

# 获取机构持股
curl "https://api.aisa.one/apis/v1/financial/institutional/ownership?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

SEC文件

# 获取SEC文件
curl "https://api.aisa.one/apis/v1/financial/sec/filings?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 获取SEC文件项目
curl "https://api.aisa.one/apis/v1/financial/sec/items?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

公司事实

# 通过CIK获取公司事实
curl "https://api.aisa.one/apis/v1/financial/company/facts?ticker=AAPL" \
  -H "Authorization: Bearer $AISA_API_KEY"

股票筛选器

# 筛选符合条件的股票
curl -X POST "https://api.aisa.one/apis/v1/financial/search/stock" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filters":{"pe_ratio":{"max":15},"revenue_growth":{"min":0.2}}}'

利率

# 当前利率
curl "https://api.aisa.one/apis/v1/financial/interest_rates/snapshot" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 历史利率
curl "https://api.aisa.one/apis/v1/financial/interest_rates/historical?bank=fed" \
  -H "Authorization: Bearer $AISA_API_KEY"

₿ 加密货币

实时价格快照

# 获取当前BTC价格(使用代码格式:SYMBOL-USD)
curl "https://api.aisa.one/apis/v1/financial/crypto/prices/snapshot?ticker=BTC-USD" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 获取当前ETH价格
curl "https://api.aisa.one/apis/v1/financial/crypto/prices/snapshot?ticker=ETH-USD" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 获取当前SOL价格
curl "https://api.aisa.one/apis/v1/financial/crypto/prices/snapshot?ticker=SOL-USD" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 获取TRUMP代币价格
curl "https://api.aisa.one/apis/v1/financial/crypto/prices/snapshot?ticker=TRUMP-USD" \
  -H "Authorization: Bearer $AISA_API_KEY"

注意: 加密货币代码使用格式 SYMBOL-USD(例如,BTC-USD, ETH-USD)。

历史价格数据

# 获取BTC历史价格(日线)
curl "https://api.aisa.one/apis/v1/financial/crypto/prices?ticker=BTC-USD&interval=day&interval_multiplier=1&start_date=2025-01-01&end_date=2025-01-31" \
  -H "Authorization: Bearer $AISA_API_KEY"

# 获取ETH小时数据
curl "https://api.aisa.one/apis/v1/financial/crypto/prices?ticker=ETH-USD&interval=minute&interval_multiplier=60&start_date=2025-01-15&end_date=2025-01-16" \
  -H "Authorization: Bearer $AISA_API_KEY"

支持的加密货币

代码 名称
BTC-USD 比特币
ETH-USD 以太坊
SOL-USD Solana
BNB-USD 币安币
XRP-USD 瑞波币
DOGE-USD 狗狗币
ADA-USD 卡尔达诺
AVAX-USD Avalanche
DOT-USD Polkadot
MATIC-USD Polygon
LINK-USD Chainlink
UNI-USD Uniswap
ATOM-USD Cosmos
LTC-USD 莱特币
TRUMP-USD Trump代币
以及更多

Python客户端

# ==================== 股票数据 ====================
# 注意:价格查询需要 start_date 和 end_date
python3 {baseDir}/scripts/market_client.py stock prices --ticker AAPL --start 2025-01-01 --end 2025-01-31
python3 {baseDir}/scripts/market_client.py stock prices --ticker AAPL --start 2025-01-01 --end 2025-01-31 --interval week
python3 {baseDir}/scripts/market_client.py stock news --ticker AAPL --count 10

# ==================== 财务报表 ====================
python3 {baseDir}/scripts/market_client.py stock statements --ticker AAPL --type all
python3 {baseDir}/scripts/market_client.py stock statements --ticker AAPL --type income
python3 {baseDir}/scripts/market_client.py stock statements --ticker AAPL --type balance
python3 {baseDir}/scripts/market_client.py stock statements --ticker AAPL --type cash

# ==================== 指标与分析 ====================
python3 {baseDir}/scripts/market_client.py stock metrics --ticker AAPL
python3 {baseDir}/scripts/market_client.py stock analyst --ticker AAPL

# ==================== 内幕与机构 ====================
python3 {baseDir}/scripts/market_client.py stock insider --ticker AAPL
python3 {baseDir}/scripts/market_client.py stock ownership --ticker AAPL

# ==================== SEC文件 ====================
python3 {baseDir}/scripts/market_client.py stock filings --ticker AAPL

# ==================== 股票筛选器 ====================
python3 {baseDir}/scripts/market_client.py stock screen --pe-max 15 --growth-min 0.2

# ==================== 利率 ====================
python3 {baseDir}/scripts/market_client.py stock rates
python3 {baseDir}/scripts/market_client.py stock rates --historical

# ==================== 加密货币数据 ====================
# 注意:使用代码格式 SYMBOL-USD(或仅 SYMBOL,会自动转换)
python3 {baseDir}/scripts/market_client.py crypto snapshot --ticker BTC-USD
python3 {baseDir}/scripts/market_client.py crypto snapshot --ticker ETH  # 自动转换为 ETH-USD
python3 {baseDir}/scripts/market_client.py crypto historical --ticker BTC-USD --start 2025-01-01 --end 2025-01-31
python3 {baseDir}/scripts/market_client.py crypto portfolio --tickers BTC-USD,ETH-USD,SOL-USD

API端点参考

传统金融

端点 方法 描述
/financial/prices GET 历史股票价格(需要时间间隔参数)
/financial/news GET 按股票代码获取公司新闻
/financial/financial_statements/all GET 所有财务报表
/financial/financial_statements/income GET 利润表
/financial/financial_statements/balance GET 资产负债表
/financial/financial_statements/cash GET 现金流量表
/financial/financial-metrics/snapshot GET 实时财务指标
/financial/financial-metrics GET 历史指标
/financial/analyst/eps GET EPS预测
/financial/insider/trades GET 内幕交易
/financial/institutional/ownership GET 机构持股
/financial/sec/filings GET SEC文件
/financial/sec/items GET SEC文件项目
/financial/company/facts GET 公司事实
/financial/search/stock POST 股票筛选器
/financial/interest_rates/snapshot GET 当前利率
/financial/interest_rates/historical GET 历史利率

加密货币

端点 方法 描述
/financial/crypto/prices/snapshot GET 实时价格快照
/financial/crypto/prices GET 历史OHLCV数据

定价

API 成本
股票价格 ~$0.001
公司新闻 ~$0.001
财务报表 ~$0.002
分析师预测 ~$0.002
SEC文件 ~$0.001
加密货币快照 ~$0.0005
加密货币历史数据 ~$0.001

每个响应都包含 usage.costusage.credits_remaining


开始使用

  1. aisa.one 注册
  2. 获取您的API密钥
  3. 添加积分(按需付费)
  4. 设置环境变量:export AISA_API_KEY="your-key"

完整API参考

查看 API参考 获取完整的端点文档。