# Stock Market Data & Technical Analysis (`tacps126/market-data`) Actor

Stock analysis by ticker for US, European and Japanese markets: price history, 25+ indicators, technical rating, support and resistance, pivots, backtested signals, fundamentals, news and sentiment. No API key.

- **URL**: https://apify.com/tacps126/market-data.md
- **Developed by:** [Tapaswai Choudhary](https://apify.com/tacps126) (community)
- **Categories:** Business, AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 ticker analyses

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Stock Market Data & Technical Analysis

Enter tickers and get a full read of each one in a single row: price and returns, 25+ indicators, a technical rating,
trend, support and resistance levels, pivot points, risk, expected price ranges, how each signal has worked on this
ticker before, a plain-language assessment, plus fundamentals, news headlines and news and StockTwits sentiment.
US, European and Japanese stocks and ETFs, indices, crypto and FX. No API key, no account.

### What you get

| Block | Fields |
|---|---|
| Price | close, change over 1 bar / 5 bars / 1, 3, 6 months / 1 year / year to date, 52-week high and low and distance from them, volume vs its 20-bar average |
| Assessment | bias (bullish, leaning bullish, neutral, leaning bearish, bearish), score, and short sentences on the rating, trend, RSI, levels, volume and live signals |
| Technical rating | summary, moving averages and oscillators, each from -1 (strong sell) to 1 (strong buy), with buy / neutral / sell counts (optionally every indicator's vote) |
| Trend | uptrend / downtrend / mixed, strength (ADX), SMA50 and SMA200, last golden or death cross, Supertrend direction, regression slope, fit, channel and 10-bar projection |
| Levels | nearest supports and resistances from swing highs and lows (price, distance %, touches, last touch, strength), monthly and weekly pivots (classic, Fibonacci, Camarilla, Woodie) |
| Indicators | RSI, MACD, Stochastic, Stochastic RSI, CCI, ADX/DI, Williams %R, Awesome Oscillator, Momentum, Ultimate Oscillator, Bull Bear Power, MFI, ATR, Bollinger Bands, Donchian, Ichimoku, Parabolic SAR, Supertrend, OBV, SMA/EMA 10-200, VWMA, Hull MA |
| Risk and ranges | volatility (20 bars and 1 year), max drawdown, Sharpe ratio, and the price ranges that held about 68% and 95% of past moves 1, 5 and 20 bars ahead |
| Signals (backtested) | 8 classic rules (rating flips, RSI 30/70, MACD cross, golden/death cross, price vs SMA50, Bollinger re-entry, Supertrend flip, 20-bar breakout): how often each was followed by a rise or fall over 5 and 20 bars on this ticker, average move, versus the base rate, and when it last fired |
| Today's session | where the market is now (pre-market, open, after hours, closed); the pre-market and after-hours price, move and volume; the gap against the previous close; the day split into parts (pre-market, first 30 minutes, morning, midday, afternoon, closing hour, after hours; Asia, Europe and US hours for crypto) with each part's move, range and volume share; VWAP, the opening range, pre-market and previous-day high and low; how gaps like today's went on this ticker before (filled the same day, kept going, average open-to-close move); how each part of the day usually behaves over the last 60 days; and one plain sentence |
| Factor scores (optional) | 0 to 100 on fixed scales: momentum (12-month return without the last month), value (earnings and book yield), quality (return on equity, operating margin, low debt), low volatility (one-year), and a composite with a label; with 5 or more tickers, each ticker's percentile within your list |
| Fundamentals | name, sector, industry, market cap, P/E, EPS, dividend yield, price to book, ROE, debt to equity, revenue, net income, margins, beta, employees, next earnings date, analyst price target and consensus, TradingView's own rating |
| News and sentiment | newest headlines with source, date, link and sentiment; bullish/bearish share of headlines and of StockTwits posts (US tickers), combined score |
| History (optional) | one row per bar: date, open, high, low, close, volume |

### How to use

1. Add tickers, as on Yahoo Finance (`AAPL`, `SPY`, `^GSPC`, `7203.T`, `SAP.DE`, `HSBA.L`, `MC.PA`, `BTC-USD`) or
   TradingView (`NASDAQ:AAPL`, `TSE:7203`).
2. Pick what to include and how much history (2 years by default; longer gives the backtests more cases).
3. Press **Start**. Export to JSON, CSV or Excel, or send to Google Sheets, Slack or a webhook. Schedule it daily
   for a watchlist report.

#### Example input

```json
{
  "tickers": ["AAPL", "NVDA", "7203.T", "SAP.DE"],
  "include": ["analysis", "fundamentals", "news", "sentiment"],
  "range": "2y"
}
```

#### Example (shortened)

```json
{
  "type": "analysis",
  "symbol": "AAPL",
  "name": "Apple Inc.",
  "close": 342.56,
  "changePct": -1.9,
  "ratingLabel": "sell",
  "bias": "neutral",
  "assessment": {
    "bias": "neutral",
    "points": [
      "Technical rating sell (-0.19): moving averages sell, oscillators sell.",
      "Uptrend: price above SMA50 and SMA200; trend weak or ranging.",
      "Nearest support 336.85 (-1.7%), resistance 346.02 (+1.0%)."
    ]
  },
  "levels": { "supports": [{ "price": 336.85, "distancePct": -1.67, "touches": 2 }] },
  "fundamentals": { "peRatio": 38.17, "analystConsensus": "buy", "analystPriceTarget": 348.52 },
  "sentiment": { "combined": { "label": "neutral", "score": 0, "items": 60 } }
}
```

### Tool mode: your own indicators and rules

Everything above stays as it is. On top of it you can:

- **Pick indicators with your own settings**: `rsi:14`, `ema:50`, `macd:12,26,9`, `bb:20,2`, `supertrend:10,3`,
  `atrp`, `zscore:50`, `relvol:20` and 25 more. Each comes back as a column such as `rsi_14` or `bb_lower_20_2` under
  `values`, and on every price history row for charts.
- **Test your own rules** on each ticker's history, one per line:

  - `rsi_14 crosses above 30`
  - `bearish: close < sma_200 and rsi_14 > 60`
  - `Breakout = close > highest_20[1] and relvol_20 > 1.5`

  For each rule you get how many times it fired, how often the price then rose (or fell, for bearish rules) after 5
  and 20 bars (or your own horizons), the average move, the base rate and the edge over it, when it last fired, and
  whether it is true now. Rules can use any indicator column, `open`, `high`, `low`, `close`, `volume`, numbers,
  `+ - * /`, `< > <= >= ==`, `and`, `or`, `not`, `crosses above`, `crosses below`, `is rising`, `is falling`, `abs()`,
  `min()`, `max()`, and `[n]` for n bars ago. See [Writing rules](#writing-rules), or pick
  ready-made rules such as `golden-cross` or `oversold-bounce`.
- **Screen**: return only tickers where one of your rules is true now (you pay only for those).
- **Get answers instead of data**: `output: answer` returns per ticker a verdict (bullish to bearish) with confidence, a
  one-sentence answer, the reasons and what disagrees, support, resistance, volatility stops and the likely 5-day range.
- **Shape the output**: `flat` gives one level of columns (`rating.label`, `values.rsi_14`, ...) for CSV, Sheets,
  n8n and AI agents, and `fields` returns only what you list.

```json
{
  "tickers": ["AAPL", "NVDA", "SAP.DE"],
  "include": ["analysis"],
  "range": "5y",
  "indicators": ["rsi:14", "macd", "bb:20,2"],
  "rulePresets": ["golden-cross", "breakout-on-volume"],
  "rules": ["Oversold bounce = rsi_14 crosses above 30", "bearish: close < sma_200 and rsi_14 > 60"],
  "output": "flat",
  "fields": ["close", "rating.label", "values", "rules"]
}
```

### Visual report

Turn on **Visual report** and the run also saves one page with charts, linked from the run's Output tab: every
ticker's last year on one chart from the same start, the latest day's moves, an overview table with 3-month
sparklines, factor scores, and per ticker a price chart with the 50 and 200-day averages and the nearest support and
resistance, today's session (intraday line with the previous close and VWAP, and each part of the day), the read
behind the rating and your rules' results. It is built from the data the run already collected, opens in any browser,
prints, and follows light or dark mode. Click a ticker in the chart legend to show or hide its line; with many tickers the chart starts
with four shown, and a row of links jumps to each ticker's section. Each ticker gets the full page width; date charts
zoom 2x or 4x and scroll sideways (the price axis stays in view), support and resistance lines carry their price,
and hovering any point shows its date and value. The **Visual report** switch sits right under the tickers.

### Writing rules

A rule is one line of plain text. Its shape:

```
[Name =] [bearish:] condition
```

- **Name** (optional) is only a label for the output. `Oversold bounce = rsi_14 crosses above 30` is the rule
  `rsi_14 crosses above 30`, shown as "Oversold bounce". Leave it out and the condition itself is the name.
- **bearish:** (optional) means "I expect a fall after this". Rules are bullish by default: the backtest counts a win
  when the price rose afterwards; with `bearish:` it counts a win when the price fell. `buy:`/`long:` and
  `sell:`/`short:` work too.
- **condition** is true or false on each bar. It fires on the bar where it turns true.

What a condition can use:

| Write | Meaning |
|---|---|
| `open`, `high`, `low`, `close`, `volume` | the bar's prices and volume |
| any indicator column, e.g. `rsi_14`, `sma_200` | see the table below; computed for you, no need to list it under Your indicators |
| numbers, `+ - * /`, brackets | arithmetic, e.g. `close > 1.05 * sma_50` |
| `<  >  <=  >=  ==  !=` | compare two values |
| `and`, `or`, `not` | combine conditions |
| `a crosses above b`, `a crosses below b` | true only on the bar where a moves from below b to above it (or the reverse) |
| `x is rising`, `x is falling` | x is higher (lower) than on the bar before |
| `x[n]` | x as it was n bars ago: `close > highest_20[1]` means above the highest high of the 20 bars before today |
| `abs(x)`, `min(a, b)`, `max(a, b)` | absolute value, smaller, larger |

Indicator columns are the indicator's name followed by its settings, joined with `_`. Leave settings out to get the
defaults shown here (so `rsi` is `rsi_14`, `macd_hist` is `macd_hist_12_26_9`).

| Indicator (settings) | Columns | What it is |
|---|---|---|
| `sma:20` | `sma_20` | simple moving average of close |
| `ema:20` | `ema_20` | exponential moving average of close |
| `wma:20` | `wma_20` | weighted moving average |
| `hma:20` | `hma_20` | Hull moving average |
| `vwma:20` | `vwma_20` | volume-weighted moving average |
| `rsi:14` | `rsi_14` | relative strength index |
| `macd:12,26,9` | `macd_12_26_9`, `macd_signal_12_26_9`, `macd_hist_12_26_9` | MACD line, signal, histogram |
| `stoch:14,3,3` | `stoch_k_14_3_3`, `stoch_d_14_3_3` | stochastic %K and %D |
| `stochrsi:14,14,3,3` | `stochrsi_k_14_14_3_3`, `stochrsi_d_14_14_3_3` | stochastic RSI |
| `cci:20` | `cci_20` | commodity channel index |
| `mfi:14` | `mfi_14` | money flow index |
| `willr:14` | `willr_14` | Williams %R |
| `mom:10` | `mom_10` | momentum (close minus close n bars ago) |
| `roc:10` | `roc_10` | rate of change over n bars, percent |
| `atr:14` | `atr_14` | average true range |
| `atrp:14` | `atrp_14` | ATR as percent of close |
| `adx:14` | `adx_14`, `plus_di_14`, `minus_di_14` | ADX and directional indicators |
| `bb:20,2` | `bb_upper_20_2`, `bb_middle_20_2`, `bb_lower_20_2`, `bb_pctb_20_2`, `bb_width_20_2` | Bollinger Bands, %B, width percent |
| `kc:20,2` | `kc_upper_20_2`, `kc_middle_20_2`, `kc_lower_20_2` | Keltner Channels (EMA +/- k x ATR) |
| `donchian:20` | `donchian_upper_20`, `donchian_middle_20`, `donchian_lower_20` | Donchian channel |
| `highest:20` | `highest_20` | highest high of n bars |
| `lowest:20` | `lowest_20` | lowest low of n bars |
| `stdev:20` | `stdev_20` | standard deviation of 1-bar returns, percent |
| `zscore:20` | `zscore_20` | distance of close from its n-bar mean, in standard deviations |
| `relvol:20` | `relvol_20` | volume / its n-bar average |
| `supertrend:10,3` | `supertrend_10_3`, `supertrend_dir_10_3` | Supertrend line and direction (1 up, -1 down) |
| `psar:0.02,0.2` | `psar_0.02_0.2` | parabolic SAR |
| `ichimoku` | `ichimoku_conversion`, `ichimoku_base`, `ichimoku_span_a`, `ichimoku_span_b` | Ichimoku lines (9/26/52) |
| `obv` | `obv` | on-balance volume |
| `ao` | `ao` | awesome oscillator |
| `uo` | `uo` | ultimate oscillator |
| `bbp` | `bbp` | bull bear power |

Change the settings in the name to get another version: `rsi_2`, `sma_50`, `bb_lower_20_3`, `highest_55`.

Examples, read aloud:

- `rsi_14 crosses above 30`: RSI climbs back above 30 (leaves oversold).
- `bearish: close < sma_200 and rsi_14 > 60`: below the 200-day average but RSI is high; expect a fall.
- `Breakout = close > highest_20[1] and relvol_20 > 1.5`: a new 20-bar high on 1.5 times usual volume.
- `close > sma_200 and rsi_2 < 10`: a sharp short dip inside a long uptrend.
- `abs(roc_1) > 2 * stdev_20`: a day that moved more than twice the usual daily move.

Don't want to write any? Pick from **Ready-made rules** (`rulePresets`):

| Key | Rule |
|---|---|
| `oversold-bounce` | `rsi_14 crosses above 30` |
| `overbought-fade` | `bearish: rsi_14 crosses below 70` |
| `golden-cross` | `sma_50 crosses above sma_200` |
| `death-cross` | `bearish: sma_50 crosses below sma_200` |
| `macd-bullish-cross` | `macd_12_26_9 crosses above macd_signal_12_26_9` |
| `macd-bearish-cross` | `bearish: macd_12_26_9 crosses below macd_signal_12_26_9` |
| `breakout-on-volume` | `close > highest_20[1] and relvol_20 > 1.5` |
| `breakdown-on-volume` | `bearish: close < lowest_20[1] and relvol_20 > 1.5` |
| `pullback-in-uptrend` | `close > sma_200 and rsi_14 < 40` |
| `short-term-dip` | `close > sma_200 and rsi_2 < 10` |
| `bollinger-reentry` | `close crosses above bb_lower_20_2` |
| `supertrend-turns-up` | `supertrend_dir_10_3 crosses above 0` |
| `supertrend-turns-down` | `bearish: supertrend_dir_10_3 crosses below 0` |
| `strong-uptrend` | `adx_14 > 25 and plus_di_14 > minus_di_14` |
| `stretched-below-mean` | `zscore_20 < -2` |
| `stretched-above-mean` | `bearish: zscore_20 > 2` |

### Pricing

| Event | Price |
|---|---|
| Ticker analysis (one row per ticker, everything above) | $0.003 |
| Price history row (optional) | $0.0002 |
| Visual report (optional) | $0.05 per 25 tickers |
| Run start | $0.005 |

A daily report on 20 tickers costs about $0.065.

### Good to know

- The rating, levels, ranges and backtests describe the chart and its history. They are not investment advice and
  past signals do not promise future moves.
- Backtests count every time a rule fired in the chosen history and measure the move 5 and 20 bars later, with no
  costs; compare the hit rate with the base rate shown next to it.
- Fundamentals, news and sentiment cover listed stocks and ETFs; for crypto, FX and indices you get the price
  analysis. StockTwits sentiment covers US tickers.
- Prices come from public quote pages and can be delayed by up to 15-20 minutes during market hours.

### FAQ

**Which markets?** Any symbol Yahoo Finance knows: US, Europe (Germany, UK, France, Netherlands, Italy, Spain,
Switzerland, Nordics), Japan, plus Canada, Australia, Hong Kong, Korea, India, Taiwan, Singapore.

**How do the ratings compare to TradingView's?** The rating follows the same published approach (moving averages
vs. price, oscillator rules); TradingView's own number is included under fundamentals for comparison.

**Can I get intraday data?** Yes, set Bar size to Hourly (up to 2 years of history).

# Actor input Schema

## `tickers` (type: `array`):

Stocks, ETFs, indices, crypto or FX as on Yahoo Finance (AAPL, SPY, ^GSPC, 7203.T, SAP.DE, HSBA.L, MC.PA, BTC-USD, EURUSD=X) or TradingView (NASDAQ:AAPL, TSE:7203). Up to 500.

## `report` (type: `boolean`):

Also save one page with charts and tables built from this run's data: performance of every ticker over the last year, the latest day's moves, an overview table, factor scores, and per ticker a price chart with the 50 and 200-day averages, support and resistance, today's session and your rules. Open it from the run's Output tab. Charged per 25 tickers in the report (a run with up to 25 is charged once).

## `include` (type: `array`):

What to add for each ticker. History adds one row per price bar.

## `range` (type: `string`):

How much price history to analyze. Longer gives the signal backtests more cases; the 200-day average needs at least 1 year.

## `interval` (type: `string`):

Daily suits most uses; hourly for short-term levels.

## `newsPerTicker` (type: `integer`):

Newest headlines listed per ticker (sentiment always reads up to 30).

## `maxBarsPerTicker` (type: `integer`):

With Price history rows on: the newest N bars per ticker.

## `indicatorVotes` (type: `boolean`):

List the 26 indicator votes behind the technical rating.

## `indicators` (type: `array`):

Indicator with optional settings: rsi:14, ema:50, macd:12,26,9, bb:20,2, kc:20,2, stoch:14,3,3, stochrsi, adx:14, atr:14, atrp, cci:20, mfi:14, willr:14, roc:10, mom:10, supertrend:10,3, psar, donchian:20, highest:20, lowest:20, stdev:20, zscore:20, relvol:20, vwma:20, hma:20, wma:20, ichimoku, obv, ao, uo, bbp. Each gives columns like rsi_14 or bb_lower_20_2 under values (and on every history row).

## `rulePresets` (type: `array`):

Pick ready-made rules instead of writing them; each is tested like your own and shows up under rules with its name. Both can be used together.

## `rules` (type: `array`):

Write a rule as plain text, one per line. Shape: \[Name =] \[bearish:] condition. Name is optional and is only the label you will see in the output ("Oversold bounce = ..." names the rule "Oversold bounce"). Rules are bullish by default (tested for a rise afterwards); start with bearish: to test for a fall instead. The condition compares columns: open, high, low, close, volume, or any indicator column written name_settings, e.g. rsi_14, sma_200, ema_50, macd_12_26_9, macd_signal_12_26_9, bb_lower_20_2, highest_20, relvol_20, supertrend_dir_10_3 (you do not need to add them under Your indicators first). Words you can use: < > <= >= == !=, and, or, not, crosses above, crosses below, is rising, is falling, + - \* /, abs(x), min(a, b), max(a, b), brackets, and x\[n] for the value n bars ago. Examples: rsi_14 crosses above 30 (RSI leaves oversold) | bearish: close < sma_200 and rsi_14 > 60 (weak stock bouncing into resistance) | Breakout = close > highest_20\[1] and relvol_20 > 1.5 (new 20-bar high on 1.5x usual volume). Each rule returns: how often it fired, how often the price then rose (fell for bearish) after each horizon, the average move, the base rate, the edge over it, and whether it is true now. Full list of indicators and columns in the README under Writing rules.

## `horizons` (type: `array`):

For each rule signal, the move measured this many bars later (1 to 250 each).

## `onlyMatching` (type: `boolean`):

Screener use: skip tickers where none of your rules is true on the latest bar. You pay only for tickers returned.

## `output` (type: `string`):

Flat turns rating.label into a column of its own, and so on. Answer gives a short, direct read per ticker instead of the full data.

## `fields` (type: `array`):

Optional. Return only these fields: a path like close, rating.label, indicators.rsi14, fundamentals.peRatio, or a whole section like values, rules, levels. Ticker and type are always kept.

## `proxyConfiguration` (type: `object`):

Apify proxy on by default. Leave it as is unless you want to use your own proxy.

## `debug` (type: `boolean`):

Verbose logs.

## Actor input object example

```json
{
  "tickers": [
    "AAPL",
    "NVDA",
    "7203.T",
    "SAP.DE"
  ],
  "report": false,
  "include": [
    "analysis",
    "session",
    "fundamentals",
    "news",
    "sentiment"
  ],
  "range": "2y",
  "interval": "1d",
  "newsPerTicker": 10,
  "maxBarsPerTicker": 500,
  "indicatorVotes": false,
  "horizons": [
    5,
    20
  ],
  "onlyMatching": false,
  "output": "nested",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debug": false
}
```

# Actor output Schema

## `results` (type: `string`):

One analysis row per ticker (type analysis) and, if asked, one row per price bar (type bar).

## `report` (type: `string`):

Charts and tables for the whole run, when Visual report is on.

## `summary` (type: `string`):

Counts, warnings, and whether the run stopped early.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "tickers": [
        "AAPL",
        "NVDA",
        "7203.T",
        "SAP.DE"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/market-data").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "tickers": [
        "AAPL",
        "NVDA",
        "7203.T",
        "SAP.DE",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("tacps126/market-data").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "tickers": [
    "AAPL",
    "NVDA",
    "7203.T",
    "SAP.DE"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call tacps126/market-data --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tacps126/market-data"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/GKfIOSEHoiaIIsLyk/builds/MsZbryNVRJCejvitS/openapi.json
