Finance-skills funda-data
install
source · Clone the upstream repo
git clone https://github.com/himself65/finance-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/himself65/finance-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/data-providers/skills/funda-data" ~/.claude/skills/himself65-finance-skills-funda-data && rm -rf "$T"
manifest:
plugins/data-providers/skills/funda-data/SKILL.mdsource content
Funda Data API Skill
Query the Funda AI financial data API for stocks, options, fundamentals, alternative data, and more.
Base URL:
https://api.funda.ai/v1
Auth: Authorization: Bearer <API_KEY> header on all /v1/* endpoints.
Pricing: This is a paid API. A Funda AI subscription is required. See funda.ai for pricing details.
Step 1: Check API Key Availability
!`echo $FUNDA_API_KEY | head -c 8 2>/dev/null && echo "...KEY_SET" || echo "KEY_NOT_SET"`
If
KEY_NOT_SET, ask the user for their Funda API key. They can set it via:
export FUNDA_API_KEY="your-api-key-here"
Once the key is available, proceed. All
curl commands below use $FUNDA_API_KEY.
Step 2: Identify What the User Needs
Match the user's request to a data category below, then read the corresponding reference file for full endpoint details, parameters, and response schemas.
Market Data & Prices
| User Request | Endpoint | Reference |
|---|---|---|
| Real-time quote, current price | | |
| Batch quotes for multiple tickers | | |
| After-hours / aftermarket quote | | |
| Historical EOD prices | | |
| Intraday candles (1min–4hr) | | |
| Technical indicators (SMA, EMA, RSI, ADX) | | |
| Commodity / forex / crypto quotes | | |
Company Fundamentals
| User Request | Endpoint | Reference |
|---|---|---|
| Income statement | | |
| Balance sheet | | |
| Cash flow statement | | |
| Key metrics (P/E, ROE, etc.) | | |
| Financial ratios | | |
| Revenue segmentation (product/geo) | | |
| Company profile, executives, market cap | | |
| Company search by symbol/name | | |
| Stock screener (market cap, sector, etc.) | | |
Analyst & Valuation
| User Request | Endpoint | Reference |
|---|---|---|
| Analyst estimates (EPS, revenue) | | |
| Price targets | | |
| Analyst grades (buy/hold/sell) | | |
| DCF valuation | | |
| Ratings snapshot | | |
Options Data
| User Request | Endpoint | Reference |
|---|---|---|
| Option chains | | |
| Option contracts (volume, OI, premium) | | |
| Greeks per strike/expiry | | |
| GEX / gamma exposure | | |
| Spot GEX (per-minute) | | |
| IV rank, IV term structure | | |
| Max pain | | |
| Options flow / recent trades | | |
| Unusual options activity (flow alerts) | | |
| Options screener (hottest chains) | | |
| Contract-level flow/history | | |
| Net premium ticks | | |
| OI change | | |
| NOPE indicator | | |
Supply Chain Knowledge Graph
| User Request | Endpoint | Reference |
|---|---|---|
| Supply chain stocks | | |
| Bottleneck stocks | | |
| Upstream suppliers | | |
| Downstream customers | | |
| Competitors | | |
| Partners | | |
| All neighbors (1-hop) | | |
| KG edges (relationships) | | |
Social Sentiment & Alternative Data
| User Request | Endpoint | Reference |
|---|---|---|
| Financial Twitter/KOL tweets | | |
| Reddit posts (wallstreetbets, etc.) | | |
| Reddit comments | | |
| Polymarket prediction markets | | |
| Polymarket events | | |
| Congressional/government trades | | |
| Insider trades (Form 4) | | |
| Institutional holdings (13F) | | |
SEC Filings & Transcripts
| User Request | Endpoint | Reference |
|---|---|---|
| SEC filings (10-K, 10-Q, 8-K) | | |
| Search SEC filings | | |
| Earnings call transcripts | | |
| Podcast transcripts | | |
| Investment research reports | | |
Calendar & Events
| User Request | Endpoint | Reference |
|---|---|---|
| Upcoming earnings | | |
| Dividend calendar | | |
| IPO calendar | | |
| Stock splits | | |
| Economic calendar | | |
Economics & Macro
| User Request | Endpoint | Reference |
|---|---|---|
| Treasury rates | | |
| GDP, CPI, unemployment, etc. | | |
| FRED series data | | |
| Market risk premium | | |
Other Data
| User Request | Endpoint | Reference |
|---|---|---|
| News (stock, crypto, forex) | | |
| Press releases | | |
| Market performance (gainers/losers) | | |
| ETF/fund holdings | | |
| ESG ratings | | |
| COT reports | | |
| Crowdfunding | | |
| Market hours | | |
| Bulk data downloads | | |
| Companies list | | |
Step 3: Make the API Call
Use
curl with the bearer token to call the Funda API. Read the appropriate reference file first for exact parameter names and response formats.
Template:
curl -s -H "Authorization: Bearer $FUNDA_API_KEY" \ "https://api.funda.ai/v1/<endpoint>?<params>" | python3 -m json.tool
Response format: All endpoints return
{"code": "0", "message": "", "data": ...}. Check that code is "0" — non-zero means an error occurred (the message field explains why).
Pagination: List endpoints return
{"items": [...], "page": 0, "page_size": 20, "next_page": 1, "total_count": N}. Pages are 0-based. next_page is -1 when there are no more pages.
Step 4: Handle Common Patterns
Multiple data points for one ticker
If the user asks a broad question like "tell me about AAPL", combine several calls:
- Real-time quote (
)/v1/quotes?type=realtime&ticker=AAPL - Company profile (
)/v1/company-details?type=profile&ticker=AAPL - Key metrics TTM (
)/v1/financial-statements?type=key-metrics-ttm&ticker=AAPL - Analyst price target (
)/v1/analyst?type=price-target-summary&ticker=AAPL
Comparing multiple tickers
Use batch quotes for prices, then individual calls for fundamentals. The batch endpoint accepts comma-separated tickers:
/v1/quotes?type=batch&ticker=AAPL,MSFT,GOOGL.
Ticker lookup
If the user provides a company name instead of a ticker, search first:
GET /v1/search?type=name&query=nvidia
Step 5: Respond to the User
Present the data clearly:
- Format numbers with appropriate precision (prices to 2 decimals, ratios to 2-4 decimals, large numbers with commas or abbreviations like $2.8T)
- Use tables for comparative data
- Highlight key insights (e.g., "Trading above/below analyst target", "Earnings beat/miss")
- For time series data, summarize the trend rather than dumping raw numbers
- Always note the data source: "Data from Funda AI API"
- Never provide trading recommendations — present the data and let the user draw conclusions
Reference Files
— Quotes, historical prices, charts, technical indicatorsreferences/market-data.md
— Financial statements, company details, search/screener, analyst datareferences/fundamentals.md
— Options chains, greeks, GEX, flow, IV, screener, contract-level datareferences/options.md
— Supply chain knowledge graph, relationships, graph traversalreferences/supply-chain.md
— Twitter, Reddit, Polymarket, government trading, ownershipreferences/alternative-data.md
— SEC filings, earnings/podcast transcripts, research reportsreferences/filings-transcripts.md
— Calendars (earnings, dividends, IPOs), economics, treasury, FREDreferences/calendar-economics.md
— News, market performance, funds, ESG, COT, crowdfunding, bulk datareferences/other-data.md