Bilibili Video Transcriber
自动获取B站视频字幕、语音转文字并分析评论,支持飞书通知与多平台兼容。
下载 22
通过API获取股票与加密货币的实时及历史市场数据,支持分析、监控与报告。
openclaw skills install @bibaofeng/market命令、参数、文件名以原文为准
market) 📊为自主代理提供完整的市场数据。由 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 文件
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)。
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"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"| Ticker | 名称 |
|---|---|
| BTC-USD | 比特币 |
| ETH-USD | 以太坊 |
| SOL-USD | 索拉纳 |
| BNB-USD | 币安币 |
| XRP-USD | 瑞波币 |
| DOGE-USD | 狗狗币 |
| ADA-USD | 卡达诺 |
| AVAX-USD | 阿瓦隆 |
| DOT-USD | 波卡币 |
| MATIC-USD | 聚合链 |
| LINK-USD | Chainlink |
| UNI-USD | Uniswap |
| ATOM-USD | Cosmos |
| LTC-USD | 莱特币 |
| TRUMP-USD | 特朗普币 |
| ... | 以及更多 |
# ==================== 股票数据 ====================
# 注意:prices 接口需要指定 start_date 和 end_date
python3 scripts/market_client.py stock prices --ticker AAPL --start 2025-01-01 --end 2025-01-31
python3 scripts/market_client.py stock prices --ticker AAPL --start 2025-01-01 --end 2025-01-31 --interval week
python3 scripts/market_client.py stock news --ticker AAPL --count 10
# ==================== 财务报表 ====================
python3 scripts/market_client.py stock statements --ticker AAPL --type all
python3 scripts/market_client.py stock statements --ticker AAPL --type income
python3 scripts/market_client.py stock statements --ticker AAPL --type balance
python3 scripts/market_client.py stock statements --ticker AAPL --type cash
# ==================== 指标与分析 ====================
python3 scripts/market_client.py stock metrics --ticker AAPL
python3 scripts/market_client.py stock analyst --ticker AAPL
# ==================== 内部交易与机构持仓 ====================
python3 scripts/market_client.py stock insider --ticker AAPL
python3 scripts/market_client.py stock ownership --ticker AAPL
# ==================== SEC 文件 ====================
python3 scripts/market_client.py stock filings --ticker AAPL
# ==================== 股票筛选器 ====================
python3 scripts/market_client.py stock screen --pe-max 15 --growth-min 0.2
# ==================== 利率数据 ====================
python3 scripts/market_client.py stock rates
python3 scripts/market_client.py stock rates --historical
# ==================== 加密货币数据 ====================
# 注意:ticker 格式为 SYMBOL-USD(或仅 SYMBOL,系统会自动转换)
python3 scripts/market_client.py crypto snapshot --ticker BTC-USD
python3 scripts/market_client.py crypto snapshot --ticker ETH # 自动转换为 ETH-USD
python3 scripts/market_client.py crypto historical --ticker BTC-USD --start 2025-01-01 --end 2025-01-31
python3 scripts/market_client.py crypto portfolio --tickers BTC-USD,ETH-USD,SOL-USD| 端点 | 方法 | 描述 |
|---|---|---|
/financial/prices | GET | 历史股票价格(需提供 interval 参数) |
/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.cost 和 usage.credits_remaining 字段。
export AISA_API_KEY="your-key"查看 [API 参考文档](https://docs.aisa.one/reference/) 获取完整的端点说明。
已收录 2 个 Skill