funda-data

Fetch financial data from the Funda AI API (https://api.funda.ai). Covers quotes, historical prices, financials, SEC filings, earnings transcripts, analyst estimates, options flow/greeks/GEX, supply chain graph, social sentiment, prediction markets, congressional trades, economic indicators, ESG, and news. Triggers: stock quotes, fundamentals, balance sheet, income statement, cash flow, analyst targets, DCF, options chain/flow/unusual activity, GEX, IV rank, max pain, earnings/dividend/IPO calendar, SEC filings (10-K/10-Q/8-K), transcripts, supply chain (suppliers/customers/competitors), congressional trading, insider trades, institutional holdings (13F), Reddit/Twitter sentiment, Polymarket, treasury rates, GDP, CPI, FRED data, ESG scores, commodity/forex/crypto prices, stock screener, sector performance, ETF holdings, news, COT reports. Also triggers for "funda" or "funda.ai". If only a ticker is provided and Funda API can answer, use this skill.

Install

Hot:0

Download and extract to your skills directory

Copy command and send to OpenClaw for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=himself65-skills-funda-data&locale=en&source=copy
name:funda-datadescription:>Fetch financial data from the Funda AI API (https://api.funda.ai).Triggers:stock quotes, fundamentals, balance sheet, income statement, cash flow,

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 RequestEndpointReference
Real-time quote, current priceGET /v1/quotes?type=realtime&ticker=Xreferences/market-data.md
Batch quotes for multiple tickersGET /v1/quotes?type=batch&ticker=X,Y,Zreferences/market-data.md
After-hours / aftermarket quoteGET /v1/quotes?type=aftermarket-quote&ticker=Xreferences/market-data.md
Historical EOD pricesGET /v1/stock-price?ticker=X&date_after=...&date_before=...references/market-data.md
Intraday candles (1min–4hr)GET /v1/charts?type=5min&ticker=Xreferences/market-data.md
Technical indicators (SMA, EMA, RSI, ADX)GET /v1/charts?type=sma&ticker=X&period_length=50references/market-data.md
Commodity / forex / crypto quotesGET /v1/quotes?type=commodity-quotesreferences/market-data.md

Company Fundamentals

User RequestEndpointReference
Income statementGET /v1/financial-statements?type=income-statement&ticker=Xreferences/fundamentals.md
Balance sheetGET /v1/financial-statements?type=balance-sheet&ticker=Xreferences/fundamentals.md
Cash flow statementGET /v1/financial-statements?type=cash-flow&ticker=Xreferences/fundamentals.md
Key metrics (P/E, ROE, etc.)GET /v1/financial-statements?type=key-metrics&ticker=Xreferences/fundamentals.md
Financial ratiosGET /v1/financial-statements?type=ratios&ticker=Xreferences/fundamentals.md
Revenue segmentation (product/geo)GET /v1/financial-statements?type=revenue-product-segmentation&ticker=Xreferences/fundamentals.md
Company profile, executives, market capGET /v1/company-details?type=profile&ticker=Xreferences/fundamentals.md
Company search by symbol/nameGET /v1/search?type=symbol&query=Xreferences/fundamentals.md
Stock screener (market cap, sector, etc.)GET /v1/search?type=screener&marketCapMoreThan=...references/fundamentals.md

Analyst & Valuation

User RequestEndpointReference
Analyst estimates (EPS, revenue)GET /v1/analyst?type=estimates&ticker=Xreferences/fundamentals.md
Price targetsGET /v1/analyst?type=price-target-summary&ticker=Xreferences/fundamentals.md
Analyst grades (buy/hold/sell)GET /v1/analyst?type=grades&ticker=Xreferences/fundamentals.md
DCF valuationGET /v1/analyst?type=dcf&ticker=Xreferences/fundamentals.md
Ratings snapshotGET /v1/analyst?type=ratings-snapshot&ticker=Xreferences/fundamentals.md

Options Data

User RequestEndpointReference
Option chainsGET /v1/options/stock?ticker=X&type=option-chainsreferences/options.md
Option contracts (volume, OI, premium)GET /v1/options/stock?ticker=X&type=option-contractsreferences/options.md
Greeks per strike/expiryGET /v1/options/stock?ticker=X&type=greeks&expiry=...references/options.md
GEX / gamma exposureGET /v1/options/stock?ticker=X&type=greek-exposurereferences/options.md
Spot GEX (per-minute)GET /v1/options/stock?ticker=X&type=spot-gexreferences/options.md
IV rank, IV term structureGET /v1/options/stock?ticker=X&type=iv-rankreferences/options.md
Max painGET /v1/options/stock?ticker=X&type=max-painreferences/options.md
Options flow / recent tradesGET /v1/options/stock?ticker=X&type=flow-recentreferences/options.md
Unusual options activity (flow alerts)GET /v1/options/flow-alerts?is_sweep=true&min_premium=100000references/options.md
Options screener (hottest chains)GET /v1/options/screener?min_volume=1000references/options.md
Contract-level flow/historyGET /v1/options/contract?contract_id=X&type=flowreferences/options.md
Net premium ticksGET /v1/options/stock?ticker=X&type=net-prem-ticksreferences/options.md
OI changeGET /v1/options/stock?ticker=X&type=oi-changereferences/options.md
NOPE indicatorGET /v1/options/stock?ticker=X&type=nopereferences/options.md

Supply Chain Knowledge Graph

User RequestEndpointReference
Supply chain stocksGET /v1/supply-chain/stocks?ticker=Xreferences/supply-chain.md
Bottleneck stocksGET /v1/supply-chain/stocks/bottlenecksreferences/supply-chain.md
Upstream suppliersGET /v1/supply-chain/kg-edges/graph/suppliers/X?depth=2references/supply-chain.md
Downstream customersGET /v1/supply-chain/kg-edges/graph/customers/X?depth=2references/supply-chain.md
CompetitorsGET /v1/supply-chain/kg-edges/graph/competitors/Xreferences/supply-chain.md
PartnersGET /v1/supply-chain/kg-edges/graph/partners/Xreferences/supply-chain.md
All neighbors (1-hop)GET /v1/supply-chain/kg-edges/graph/neighbors/Xreferences/supply-chain.md
KG edges (relationships)GET /v1/supply-chain/kg-edges?source_ticker=Xreferences/supply-chain.md

Social Sentiment & Alternative Data

User RequestEndpointReference
Financial Twitter/KOL tweetsGET /v1/twitter-posts?ticker=Xreferences/alternative-data.md
Reddit posts (wallstreetbets, etc.)GET /v1/reddit-posts?subreddit=wallstreetbets&ticker=Xreferences/alternative-data.md
Reddit commentsGET /v1/reddit-comments?ticker=Xreferences/alternative-data.md
Polymarket prediction marketsGET /v1/polymarket/markets?keyword=bitcoinreferences/alternative-data.md
Polymarket eventsGET /v1/polymarket/events?keyword=electionreferences/alternative-data.md
Congressional/government tradesGET /v1/government-trading?type=senate-latestreferences/alternative-data.md
Insider trades (Form 4)GET /v1/ownership?type=insider-search&ticker=Xreferences/alternative-data.md
Institutional holdings (13F)GET /v1/ownership?type=institutional-latest&ticker=Xreferences/alternative-data.md

SEC Filings & Transcripts

User RequestEndpointReference
SEC filings (10-K, 10-Q, 8-K)GET /v1/sec-filings?ticker=X&form_type=10-Kreferences/filings-transcripts.md
Search SEC filingsGET /v1/sec-filings-search?type=8-K&ticker=Xreferences/filings-transcripts.md
Earnings call transcriptsGET /v1/transcripts?ticker=X&type=earning_callreferences/filings-transcripts.md
Podcast transcriptsGET /v1/transcripts?type=podcastreferences/filings-transcripts.md
Investment research reportsGET /v1/investment-research-reports?ticker=Xreferences/filings-transcripts.md

Calendar & Events

User RequestEndpointReference
Upcoming earningsGET /v1/calendar?type=earnings-calendar&date_after=...references/calendar-economics.md
Dividend calendarGET /v1/calendar?type=dividends-calendar&date_after=...references/calendar-economics.md
IPO calendarGET /v1/calendar?type=ipos-calendarreferences/calendar-economics.md
Stock splitsGET /v1/calendar?type=splits-calendarreferences/calendar-economics.md
Economic calendarGET /v1/calendar?type=economic-calendarreferences/calendar-economics.md

Economics & Macro

User RequestEndpointReference
Treasury ratesGET /v1/economics?type=treasury-ratesreferences/calendar-economics.md
GDP, CPI, unemployment, etc.GET /v1/economics?type=indicators&indicator=GDPreferences/calendar-economics.md
FRED series dataGET /v1/fred?type=...references/calendar-economics.md
Market risk premiumGET /v1/economics?type=market-risk-premiumreferences/calendar-economics.md

Other Data

User RequestEndpointReference
News (stock, crypto, forex)GET /v1/news?type=stock&ticker=Xreferences/other-data.md
Press releasesGET /v1/news?type=press-releases&ticker=Xreferences/other-data.md
Market performance (gainers/losers)GET /v1/market-performance?type=gainersreferences/other-data.md
ETF/fund holdingsGET /v1/funds?type=etf-holdings&ticker=Xreferences/other-data.md
ESG ratingsGET /v1/esg?type=ratings&ticker=Xreferences/other-data.md
COT reportsGET /v1/cot-report?type=...references/other-data.md
CrowdfundingGET /v1/crowdfunding?type=...references/other-data.md
Market hoursGET /v1/market-hours?type=...references/other-data.md
Bulk data downloadsGET /v1/bulk?type=...references/other-data.md
Companies listGET /v1/companiesreferences/other-data.md


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

  • references/market-data.md — Quotes, historical prices, charts, technical indicators

  • references/fundamentals.md — Financial statements, company details, search/screener, analyst data

  • references/options.md — Options chains, greeks, GEX, flow, IV, screener, contract-level data

  • references/supply-chain.md — Supply chain knowledge graph, relationships, graph traversal

  • references/alternative-data.md — Twitter, Reddit, Polymarket, government trading, ownership

  • references/filings-transcripts.md — SEC filings, earnings/podcast transcripts, research reports

  • references/calendar-economics.md — Calendars (earnings, dividends, IPOs), economics, treasury, FRED

  • references/other-data.md — News, market performance, funds, ESG, COT, crowdfunding, bulk data