All 21 Stocklake tools — parameters, response fields, and examples. ← Getting Started
Not financial advice. All data, ratings, signals, and AI assessments are for informational and research purposes only. Nothing here constitutes investment advice or a recommendation to buy or sell any security.
get_stock free
Returns price, fundamentals, technical indicators, and company profile for a ticker — everything you need about a stock in one call.
Parameters
Name
Type
Description
symbol
string
Ticker symbol, e.g. AAPL. Case-insensitive.
Response fields
Field
Type
Description
symbol
string
Ticker
name
string
Company full name
sector / industry
string
Sector and industry classification
country / currency / exchange
string
Country, reporting currency, exchange code
price
number
Current market price (multi-source, authoritative)
Batch stock data for up to 50 symbols in a single call. Returns prices, fundamentals, and indicators keyed by symbol. Use this instead of calling get_stock multiple times. Each symbol in the batch counts as one call toward your daily limit.
Parameter
Type
Default
Description
symbols
array of strings
required
Stock tickers (max 50). Symbols with hyphens (e.g. BRK-B) are supported. Invalid symbols are silently skipped.
Response includes the count of matched symbols plus a map with per-symbol data in the same format as get_stock. Requested symbols not found in the database are omitted from the result.
get_stock_history free+
Daily OHLCV price history for a ticker. Returns bars sorted oldest-first.
Parameters
Name
Type
Default
Description
symbol
string
—
Ticker symbol
days
integer
90
Number of trading days to return. Max 365 (1 year).
Response fields
Field
Type
Description
symbol
string
Ticker
days
integer
Days requested
count
integer
Bars actually returned (may be less if data is newer)
Live market health snapshot in a single call. Aggregates VIX, Fear & Greed index, market breadth, and key index prices — no AI cost, always live data.
Use this as a lightweight context check before making any investment decisions. Replaces the need to call multiple separate endpoints for basic macro state.
No parameters — returns the current market snapshot.
Upcoming earnings dates for all stocks in the Stocklake universe, within a configurable look-ahead window. Dates sourced from market data — treat is_estimate: true dates as approximate.
Parameters
Parameter
Type
Default
Description
days
integer
7
Look-ahead window in days (max 30)
Response
Field
Type
Description
window_days
number
Effective look-ahead window applied
from_date
string
Window start (UTC ISO)
to_date
string
Window end (UTC ISO)
count
number
Total results returned
results[].symbol
string
Ticker symbol
results[].name
string
Company short name
results[].sector
string
Sector
results[].market_cap
number
Market capitalisation in reporting currency
results[].price
number
Current stock price
results[].rsi
number | null
Current RSI — useful for pre-earnings momentum screening
results[].earnings_date
string
Expected earnings timestamp (UTC ISO)
results[].is_estimate
boolean
True if the date is an estimate — treat as approximate
Composite technical rating on a 0–10 scale. Synthesises RSI, MACD, Bollinger Bands, and moving average trend signals into a single score with per-indicator breakdown. No AI cost — computed from stored indicators.
Technical vs analyst ratings rating and direction are purely technical (RSI / MACD / Bollinger Bands / moving averages).
This is different from analyst_rating from get_stock, which reflects
analyst consensus based on fundamentals and price targets — not technical momentum.
Disagreement between these signals is normal: a stock can be technically overbought (low rating) while analysts rate it a strong buy, or vice versa.
Parameters
Name
Type
Description
symbol
string
Ticker symbol
Response fields
Field
Type
Description
symbol
string
Ticker
rating
number
0–10 composite technical rating
direction
string
BULLISH (≥6) / NEUTRAL (4–6) / BEARISH (≤4)
signals
object
Per-indicator breakdown: rsi, macd, bb, trend. Each includes text (human readable), strength (strong/moderate/weak), verdict (bullish/mild_bullish/neutral/mild_bearish/bearish). RSI includes value (raw number). Indicator-specific fields: macd_line, signal_line, histogram, upper, middle, lower, width, position, price, sma50, sma200
Structured technical signal summary optimised for programmatic consumption. Returns flat labelled signals agents can act on directly — no parsing of raw indicator values needed. Unlike get_stock_rating (composite score), this surfaces per-indicator verdict labels.
Power screener — filter stocks by exact RSI bounds, MACD state, SMA200 trend, performance, fundamentals, and (Pro) AI flag scores. More capable than search_stocks, which is text-first. Presets provide one-call screens for common setups.
Parameters
Name
Type
Default
Description
preset
string
—
oversold (RSI≤35, above SMA200) · overbought (RSI≥65) · momentum (RSI 50-70, above SMA200, up 0.5%+) · high_conviction (flag_score≥7, Pro only)
Daily indicator snapshots for a symbol — up to 2 years of history. Returns RSI, MACD histogram, Bollinger band position, Williams %R, VIX Fix percentile, and Williams A/D trend per day, enabling charting and trend analysis without re-computing from OHLCV data.
Parameters
Name
Type
Default
Description
symbol
string
—
Ticker symbol
days
integer
90
Number of calendar days to look back. Max 730 (2 years).
Response fields
Field
Type
Description
symbol
string
Ticker
days
integer
Days requested
count
integer
Snapshots returned (one per calendar day, starting from indicators backfill date)
history
array
Snapshots sorted oldest-first (see fields below)
history[].date
string
ISO 8601 UTC date of snapshot
history[].price
number
Price at snapshot time
history[].rsi
number
RSI value
history[].macd_histogram
number
MACD histogram (line − signal)
history[].bb_pct
number
Bollinger band position 0–100: 0 = at lower band, 100 = at upper band
Returns AI-analysed news articles for a ticker. Each article has been processed by our AI pipeline — raw article content is not exposed.
When no articles are found, the ticker is automatically queued for a background refresh. Re-queuing an already-pending ticker does not count against your limit.
Parameters
Name
Type
Description
symbol
string
Ticker symbol
limit
integer
Max articles to return. Default 10, max 10.
days
integer
Look-back window in days. Default 30, max 30.
Response
Outer envelope fields:
Field
Type
Description
symbol
string
Ticker
status
string
okempty — see below
count
integer
Number of articles returned
days
integer
Effective look-back window in days (max 30)
articles
array
Article objects (see below)
message
string
Present when status is empty
Status values:
ok — articles returned
empty — no news found for this window; pipeline triggered in background if data was stale
Per-article fields:
Field
Type
Description
title
string
Article headline
published_at
datetime
Publication timestamp (ISO 8601)
ai_sentiment
string
positive / neutral / negative
ai_flag_score
number
0–10 signal strength (10 = high impact)
ai_summary
string
Full AI-generated summary of the article's relevance to the stock
ai_confidence
number
0–10 AI confidence score (normalised from pipeline output)
Example — status ok
{
"symbol": "TSLA",
"status": "ok",
"count": 3,
"days": 30,
"articles": [
{
"title": "Tesla Q1 deliveries beat expectations",
"published_at": "2026-04-03T14:00:00+00:00",
"ai_sentiment": "positive",
"ai_flag_score": 8,
"ai_summary": "Q1 deliveries of 387k beat analyst consensus of 375k, signalling demand stabilisation and easing investor concerns over weakening EV demand.",
"ai_confidence": 8.5
}
]
}
Example — status empty
{
"symbol": "RKLB",
"status": "empty",
"count": 0,
"days": 30,
"articles": [],
"message": "No news available for RKLB in the last 30d."
}
get_stock_ai_summary proAI
AI research brief for a stock: verdict, confidence, flag score, narrative, key observations, and risk factors. Generated by the Stocklake AI pipeline on a nightly refresh cycle.
2–4 sentence AI narrative covering price context, trend, and key dynamics
key_points
array
3–5 specific bullish or neutral observations
risks
array
2–3 specific risk factors
price_at_generation
number
Stock price when the summary was generated
generated_at
string
UTC timestamp of last generation (ISO 8601)
generated_at
string
ISO 8601 UTC timestamp of when the AI summary was generated
Example
{
"symbol": "AAPL",
"verdict": "neutral",
"confidence": 6,
"flag_score": 7,
"summary": "AAPL sits at $310.85 with strong underlying growth (revenue +16.6%, earnings +21.8%). RSI 77.6 signals overbought conditions near ATH — limited near-term upside without a catalyst.",
"key_points": [
"Price +19% above SMA200 confirms strong long-term uptrend",
"Revenue and earnings growth both accelerating YoY",
"Analyst consensus: buy, mean target $340"
],
"risks": [
"RSI 77.6 overbought — pullback risk elevated near ATH",
"Declining volume signals waning momentum"
],
"price_at_generation": 310.85,
"generated_at": "2026-05-27T20:30:38+00:00"
}
get_symbol_context proAI
Full research context for a symbol in one call — replaces 5 separate calls: get_stock + get_stock_ai_summary + get_stock_news + get_sentiment_profile + get_discovery_ideas (filtered to one symbol). All data is pre-computed by the nightly AI pipeline; no live AI calls on request.
Live AI signal queue — stocks actively flagged by the Stocklake pipeline as worth attention. Sourced from sector screening, news analysis, and sentiment signals. Ideas expire daily; this always reflects the pipeline's current view.
Pipeline dependency. Discovery ideas are refreshed by scheduled AI jobs. If the pipeline hasn't run recently, results may be sparse. Check age_hours on each idea to assess freshness.
Parameters
Name
Type
Default
Description
direction
string
—
LONG · SHORT · BOTH — filter by trade direction. Omit for all.
min_conviction
integer
7
Minimum conviction score (0–10). Higher = pipeline more confident in the signal.
min_flag_score
integer
8
Minimum flag score (0–10). 8+ = notable, 9+ = high conviction. Lowering to 7 returns more ideas.
source
string
—
Filter by signal source: news · screener · sentiment
limit
integer
25
Max ideas to return (max 50). Results sorted by timestamp (newest first).
Response fields
Field
Type
Description
count
integer
Number of ideas returned
filters
object
Echo of applied filters
ideas[].symbol
string
Ticker
ideas[].direction
string
LONG · SHORT · BOTH
ideas[].conviction
integer
Pipeline conviction 0–10
ideas[].confidence
integer
AI confidence 0–10
ideas[].flag_score
integer
Signal notability 0–10 (8+ = worth attention)
ideas[].source
string
Primary pipeline source that flagged this stock
ideas[].sources
array
All sources that contributed (when merged across sources)
ideas[].rationale
string
AI rationale — why the pipeline flagged this stock
ideas[].expires
string
Date after which this idea is considered stale (YYYY-MM-DD)
ideas[].flagged_at
string
ISO 8601 UTC timestamp when this idea was last flagged by the pipeline
Example — CRM (STRONG_BULLISH, high insider buying)
{
"symbol": "CRM",
"signal": "STRONG_BULLISH",
"flag_score": 9,
"confidence": 8,
"insider_signal": "BULLISH",
"inst_signal": "BULLISH",
"summary": "CEO Benioff bought $12.4M worth of shares — largest insider buy in 3 years. Three additional C-suite insiders added $4.2M combined. Institutions increased holdings by 3.2% this quarter with 42 new holders opening positions. Strong alignment between insider and institutional conviction.",
"insider_buys": 4,
"insider_sells": 0,
"inst_ownership": 82.15,
"total_holders": 2410,
"updated_at": "2026-05-28T06:15:00+00:00"
}
get_news_feed proAI
Market-wide AI-flagged news briefing — top articles across all tracked stocks ranked by signal strength. Unlike get_stock_news (per-symbol), this scans the entire universe and surfaces the most notable news regardless of ticker. No URLs or source domains exposed.
Parameters
Name
Type
Default
Description
min_flag_score
integer
8
Minimum AI flag score (5–10). 8 = notable · 9 = high-impact · 10 = exceptional
days
integer
3
Look-back window in days (max 10)
limit
integer
10
Max articles returned (max 25)
Example
{
"count": 10, "days": 3, "min_flag_score": 8,
"articles": [
{ "symbol": "NVDA", "title": "Nvidia unveils GB300 chip, accelerating AI data center roadmap",
"published_at": "2026-06-04T14:30:00+00:00",
"ai_sentiment": "positive", "ai_flag_score": 9,
"ai_summary": "New GB300 architecture delivers 2× throughput over H100. Roadmap acceleration strengthens moat vs AMD...",
"ai_confidence": 8.8 }
]
}
get_market_assessment proAI
Combined macro regime + market outlook in a single call. Produced every ~4 hours by the market intelligence pipeline. Returns two complementary perspectives:
Regime (regime_* fields) — answers "how much equity risk to take" → use for position sizing and asset allocation
Outlook (outlook_* fields) — answers "which direction and sectors to trade" → use for sector preference and directional bias
Note:market_context is a point-in-time snapshot from when the AI ran — not live. Use get_market_pulse for live prices.
Parameters
Name
Type
Default
Description
history_count
integer
0
Include last N prior assessments for each perspective (0–3). Returns regime_history[] and outlook_history[].
Response — Regime fields
Field
Type
Description
regime
string
RISK_OFF / CAUTIOUS / NEUTRAL / AGGRESSIVE
regime_bias
string
LONG_ONLY / SHORT_ONLY / BOTH
regime_confidence
number
1–10. Clarity of the regime call.
regime_rationale
string
Core thesis in plain language
key_risks
string[]
2–3 tail risks that could invalidate the call
watch_for
string[]
Triggers that would cause a regime change
vix_at_assessment
number
VIX level when assessment was made
regime_updated_at
string
ISO 8601 UTC timestamp of last assessment
indicators.macro_data
object
FRED macro data: yield_spread_10y2y, fed_funds_rate, cpi_index (BLS index level ~332, not YoY %), unemployment, breakeven_10y, usd_index, m2 — each with value, date, delta_3m
indicators.volatility_term_structure
object
VIX / VIX3M / VIX6M last 5 closes + contango/backwardation signal
indicators.market_sentiment
object
Fear & Greed value (0–100) and label
market_context
object
Point-in-time snapshot: price/RSI/SMA200/perf for SPY, QQQ, IWM, TLT, GLD, VIX, TNX, HYG, sector ETFs. Recorded when AI ran — not live.
Response — Outlook fields
Field
Type
Description
outlook
string
BULLISH / NEUTRAL / BEARISH
outlook_conviction
number
1–10. Strength of the directional call.
equity_view
string
Plain language directional narrative
preferred_sectors
string[]
Sectors to overweight
avoided_sectors
string[]
Sectors to underweight
catalyst
string
Primary catalyst driving the outlook
outlook_key_risk
string
Key risk to the outlook thesis
outlook_rationale
string
Detailed reasoning
outlook_updated_at
string
ISO 8601 UTC timestamp of last assessment
regime_history[]
object[]
Prior regime states (when history_count > 0): regime, bias, confidence, vix_at_assessment, at
outlook_history[]
object[]
Prior outlook states (when history_count > 0): outlook, conviction, at
AI-assessed sector intelligence with signals (LEADING/STRONG/NEUTRAL/WEAK/LAGGING), drivers, alerts, and computed statistics. Refreshed every ~4 hours by the market intelligence pipeline.
Parameters
Parameter
Type
Required
Default
Description
sector
string
—
None
Sector name (e.g. Technology, Healthcare). Omit to list all sectors.
Response fields
Field
Type
Description
sector
string
Sector name
signal
string
LEADING / STRONG / NEUTRAL / WEAK / LAGGING
confidence
number
AI confidence 1–10
drivers
string
AI narrative of sector drivers
alert
string
Notable condition if applicable (breadth divergence, extreme RSI, etc.)
stats.avg_rsi
number
Sector-average RSI
stats.sma200_breadth_pct
number
% of stocks above their 200-day MA
stats.oversold_pct / overbought_pct
number
RSI distribution extremes
stats.avg_perf_1w_pct / avg_perf_1m_pct
number
Average sector performance 1W / 1M
updated_at
string
ISO 8601 when the assessment was made
sectors[] / count
array / integer
Present when sector param is omitted — all sectors assessed
All 11 market sectors in one call — signals, breadth stats, and momentum for rotation analysis. Where get_sector_intelligence gives deep analysis for one sector, this gives the rotation picture simultaneously, sorted by signal strength (LEADING first).
Parameters
Name
Type
Default
Description
history_count
integer
0
Include last N prior signal states per sector (0–3)
Response
Returns count and sectors[] sorted by signal strength. Per sector: signal, confidence, alert, avg_rsi, sma200_breadth_pct, oversold_pct, overbought_pct, perf_1w_pct, perf_1m_pct, updated_at. Optional history[] per sector when history_count > 0.
Upcoming earnings with AI context per stock — combines the earnings calendar with AI pipeline data to surface which events are worth monitoring. Sorted by earnings date ascending (soonest first).
Parameters
Name
Type
Default
Description
days_ahead
integer
14
Look-ahead window in days (max 30)
sector
string
—
Filter to one sector (optional)
min_flag_score
integer
—
Only return stocks with AI flag score ≥ this value (optional)
Response fields (per result)
Field
Type
Description
symbol, name, sector
string
Stock identity
earnings_date
string
ISO UTC timestamp of expected earnings release
is_estimate
boolean
Whether the date is estimated
price, rsi, market_cap
number
Current technicals
eps_trailing, eps_forward
number
Earnings expectations context
ai_verdict
string
bullish / neutral / bearish (from nightly AI pipeline)