finnhub
Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals. Use when you need current stock prices, company news, earnings data, or market analysis.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install finnhub或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install finnhub⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/finnhub/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: finnhub description: Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals. Use when you need current stock prices, company news, earnings data, or market analysis. homepage: https://finnhub.io metadata: { "openclaw": { "emoji": "📈", "requires": { "env": ["FINNHUB_API_KEY"] }, "primaryEnv": "FINNHUB_API_KEY", }, } ---
Access real-time and historical stock market data, company news, financial statements, and market indicators via the Finnhub API.
Get your API key from finnhub.io (free tier available).
Configure in OpenClaw:
{
skills: {
entries: {
finnhub: {
enabled: true,
apiKey: "your-finnhub-api-key",
env: {
FINNHUB_API_KEY: "your-finnhub-api-key",
},
},
},
},
}
Or add to ~/.openclaw/.env:
FINNHUB_API_KEY=your-api-key-here
Base URL: https://finnhub.io/api/v1
All requests require ?token=${FINNHUB_API_KEY} parameter.
Get current stock price:
curl "https://finnhub.io/api/v1/quote?symbol=AAPL&token=${FINNHUB_API_KEY}"
Returns: c (current price), h (high), l (low), o (open), pc (previous close), t (timestamp)
Get latest company news:
# News for a symbol
curl "https://finnhub.io/api/v1/company-news?symbol=AAPL&from=2025-01-01&to=2025-02-01&token=${FINNHUB_API_KEY}"
# General market news
curl "https://finnhub.io/api/v1/news?category=general&token=${FINNHUB_API_KEY}"
Get company information:
curl "https://finnhub.io/api/v1/stock/profile2?symbol=AAPL&token=${FINNHUB_API_KEY}"
Get company financials:
# Income statement
curl "https://finnhub.io/api/v1/stock/financials-reported?symbol=AAPL&token=${FINNHUB_API_KEY}"
# Balance sheet
curl "https://finnhub.io/api/v1/stock/financials-reported?symbol=AAPL&statement=bs&token=${FINNHUB_API_KEY}"
# Cash flow
curl "https://finnhub.io/api/v1/stock/financials-reported?symbol=AAPL&statement=cf&token=${FINNHUB_API_KEY}"
# Search in SEC filings (10-K, 10-Q, etc.)
# Note: This endpoint may require premium tier or have a different path
curl "https://finnhub.io/api/v1/stock/search-in-filing?symbol=AAPL&query=revenue&token=${FINNHUB_API_KEY}"
Get market indicators:
# Stock candles (OHLCV)
curl "https://finnhub.io/api/v1/stock/candle?symbol=AAPL&resolution=D&from=1609459200&to=1640995200&token=${FINNHUB_API_KEY}"
# Stock symbols (search)
curl "https://finnhub.io/api/v1/search?q=apple&token=${FINNHUB_API_KEY}"
# Market status
curl "https://finnhub.io/api/v1/stock/market-status?exchange=US&token=${FINNHUB_API_KEY}"
Get technical indicators and signals:
# Technical indicators (may require premium tier)
curl "https://finnhub.io/api/v1/indicator?symbol=AAPL&indicator=rsi&resolution=D&token=${FINNHUB_API_KEY}"
# Support/Resistance (may require premium tier)
curl "https://finnhub.io/api/v1/scan/support-resistance?symbol=AAPL&resolution=D&token=${FINNHUB_API_KEY}"
# Pattern recognition (may require premium tier)
curl "https://finnhub.io/api/v1/scan/pattern?symbol=AAPL&resolution=D&token=${FINNHUB_API_KEY}"
Note: Some technical indicator endpoints may require a premium subscription. Free tier includes basic market data and quotes.
Get earnings data:
# Earnings calendar
curl "https://finnhub.io/api/v1/calendar/earnings?from=2025-02-01&to=2025-02-28&token=${FINNHUB_API_KEY}"
# Company earnings
curl "https://finnhub.io/api/v1/stock/earnings?symbol=AAPL&token=${FINNHUB_API_KEY}"
GET /search?q=keywordGET /quote?symbol=SYMBOLGET /company-news?symbol=SYMBOL&from=DATE&to=DATEGET /indicator?symbol=SYMBOL&indicator=rsiGET /stock/financials-reported?symbol=SYMBOLGET /stock/search-in-filing?symbol=SYMBOL&query=KEYWORDGET /quote?symbol=SYMBOLGET /stock/candle?symbol=SYMBOL&resolution=DGET /stock/profile2?symbol=SYMBOLGET /stock/earnings?symbol=SYMBOLGET /company-news?symbol=SYMBOLGET /news?category=generalGET /news?category=technologySearch within company SEC filings (10-K, 10-Q, 8-K, etc.):
# Search for specific terms in filings
# Note: This endpoint may require premium tier or have a different path
curl "https://finnhub.io/api/v1/stock/search-in-filing?symbol=AAPL&query=revenue&token=${FINNHUB_API_KEY}"
# Search for risk factors
curl "https://finnhub.io/api/v1/stock/search-in-filing?symbol=AAPL&query=risk&token=${FINNHUB_API_KEY}"
# Search for specific financial metrics
curl "https://finnhub.io/api/v1/stock/search-in-filing?symbol=AAPL&query=EBITDA&token=${FINNHUB_API_KEY}"
This endpoint searches through SEC filings (10-K, 10-Q, 8-K, etc.) for specific keywords or phrases, useful for finding mentions of specific topics, risks, or financial metrics in official company documents.
Free tier:
Paid tiers offer higher limits and additional features.
token=${FINNHUB_API_KEY} in query parametersYYYY-MM-DD for date rangesUS:AAPL for US stocks)安装 Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals 后,可以对 AI 说这些话来触发它
Help me get started with Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals
Explains what Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals does, walks through the setup, and runs a quick demo based on your current project
Use Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals to access Finnhub API for real-time stock quotes, company news, market...
Invokes Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals with the right parameters and returns the result directly in the conversation
What can I do with Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals in my finance & investment workflow?
将技能文件夹放到 ~/.claude/skills/finnhub/ 目录(个人级,所有项目可用),或 .claude/skills/finnhub/(项目级)。重启 AI 客户端后,用 /finnhub 主动调用,或让 AI 根据上下文自动发现并使用。
Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals 可免费安装使用。请查阅仓库了解许可证信息。
Lists the top use cases for Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals, with example commands for each scenario
Automate my finance & investment tasks using Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals
Identifies repetitive steps in your workflow and sets up Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals to handle them automatically
Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals. Use when you need current stock prices, company news, earnings data, or market analysis.
Access Finnhub API for real-time stock quotes, company news, market data, financial statements, and trading signals 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。