Get stock data and technical analysis
get_stock_market_dataFetch per-ticker stock data with technical indicators, ratings, risk, ranges, backtested signals, optional fundamentals/news/sentiment, and custom rule backtesting.
Instructions
Full data per ticker in one row: price and returns, 25+ indicators, technical rating, trend, support and resistance, pivots, risk, expected ranges, backtested signals, today's session by part of the day, factor scores (momentum, value, quality, low volatility) and optionally fundamentals, news and sentiment. Test your own indicator rules on the history. Runs the Apify Actor tacps126/market-data on your Apify account (about $0.003 per ticker; spend per call is capped at $0.5).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tickers": "<tickers>"
},
"name": "get_stock_market_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flat | No | One level of columns instead of nested sections. | |
| range | No | History used for the analysis and backtests. | 2y |
| rules | No | Own rules, one per item, checked now and backtested on the ticker's history. Shape: [Name =] [bearish:] condition. Bullish by default (tested for a rise afterwards); start with bearish: to test for a fall. Columns: open, high, low, close, volume, or any indicator written name_settings (no need to request it first): rsi_14, sma_50, sma_200, ema_20, macd_12_26_9, macd_signal_12_26_9, macd_hist_12_26_9, bb_upper_20_2, bb_lower_20_2, atr_14, atrp_14, adx_14, stoch_k_14_3_3, cci_20, mfi_14, willr_14, roc_10, mom_10, supertrend_dir_10_3, highest_20, lowest_20, stdev_20, zscore_20, relvol_20, vwma_20, hma_20, wma_20, obv. Operators: < > <= >= == !=, and, or, not, crosses above, crosses below, is rising, is falling, + - * /, abs(x), min(a, b), max(a, b), brackets, x[n] = value n bars ago. Examples: "rsi_14 crosses above 30"; "bearish: close < sma_200 and rsi_14 > 60"; "Breakout = close > highest_20[1] and relvol_20 > 1.5". Prefer rule_presets when one fits. | |
| include | No | Sections to include (default analysis, session, fundamentals, news, sentiment). | |
| tickers | Yes | Tickers as on Yahoo Finance or TradingView, e.g. ["AAPL", "7203.T", "SPY"]. | |
| extra_input | No | Advanced: extra Actor input fields, merged over the defaults. | |
| rule_presets | No | Ready-made rules to backtest. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Name of the tool that produced the result. | |
| count | Yes | Number of records the Actor returned. | |
| items | Yes | The records. Long text fields are shortened to 600 characters. | |
| shown | Yes | Number of records included in `items` (can be lower than count when the result is long). | |
| truncated | Yes | True when records were left out to keep the result short; ask for fewer items. |