Stock Price History & Technical Indicators ($0.30/1K)
Pricing
from $0.18 / 1,000 price bars
Stock Price History & Technical Indicators ($0.30/1K)
Daily, weekly and monthly OHLCV price history of shares, ETFs and indices worldwide from Yahoo Finance, by ticker or ISIN: adjusted close, dividends, splits, plus optional RSI, MACD, moving averages, Bollinger bands, ATR, pivot points and support/resistance levels.
Pricing
from $0.18 / 1,000 price bars
Rating
0.0
(0)
Developer
Carabain Digital
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Features
Share
What is Stock Price History & Technical Indicators?
Stock Price History & Technical Indicators gives you the daily, weekly or monthly price history (open, high, low, close, volume) of shares, ETFs and indices worldwide, by Yahoo Finance ticker or ISIN. Every bar also carries the split- and dividend-adjusted close, the dividend paid and the split that took effect, and the change versus the previous bar. Switch on the optional technical indicators add-on and every row also gets RSI, MACD, moving averages, Bollinger bands, ATR, pivot points and support and resistance levels, computed for you. Built for backtests, charting, screeners, portfolio trackers and trading bots. Prefilled example: Apple, ASML (by ISIN) and Toyota, ready in seconds. Costs $0.30 per 1,000 price bars.
- 🌍 Any symbol Yahoo Finance knows:
AAPL,ASML.AS,SAP.DE,7203.T,0700.HK,RELIANCE.NS,BHP.AX,SHOP.TO, indices such as^GSPC, ETFs - 🔑 Tickers and ISINs, mixed: an ISIN is mapped to the share's primary listing for you
- 📅 Daily, weekly or monthly bars, as far back as Yahoo goes (IBM from 1962)
- 💱 Clean currency: London pence, South African cents and Israeli agorot are converted to GBP, ZAR and ILS
- 🧮 Adjusted close:
adj_closeis adjusted for splits and dividends, so it is a total-return series - ✂️ Dividends and splits on the bar they take effect
- 📈 Optional indicators: SMA 20/50/200, EMA 12/26, RSI 14, MACD, Bollinger bands, ATR 14, pivot points, support/resistance
- 🔌 Connect anywhere: API, schedules, webhooks, Google Sheets, Make, Zapier, MCP / AI agents
Use it from AI agents
This Actor has an agent skill for Claude Code, Codex, Cursor and other agents that read SKILL.md: it tells the agent when to use the Actor, every input field and the output. Install it with:
$npx skills add carabain-digital/apify-agent-skills --skill stock-prices
Or read the skill on GitHub: carabain-digital/apify-agent-skills/skills/stock-prices.
What data can I get?
| 🆔 Symbol, ISIN, name, exchange, currency | 📅 Date of the bar (exchange-local day) |
| 💹 Open, high, low, close, volume | 🧮 Adjusted close (splits and dividends) |
| 💶 Dividend per share on its ex-date bar | ✂️ Split ratio (4:1, 1:10) |
| 📊 Change % versus the previous bar | 📈 With the add-on: SMA, EMA, RSI, MACD, Bollinger, ATR, pivots, support, resistance |
How do I get stock price history?
- Create a free Apify account and open this Actor.
- Paste your symbols (tickers or ISINs), one per line, up to 500 per run.
- Pick the bar size and a From date (empty = the last 12 months; an early date such as
1970-01-01gives the full history). Optionally switch Technical indicators on. - Click Start, then download the rows from the Output tab as JSON, CSV, Excel, XML or HTML.
How much does it cost?
You pay per price bar that ends up in your dataset: $0.30 per 1,000 bars, no subscription. A year of daily bars is about 250 rows, so ten years of one share costs about $0.75, and 100 shares for a year about $7.50. The optional Technical indicators add-on costs another $0.30 per 1,000 bars that carry indicator values (off by default); bars with no value at all are not charged. The monthly credit of Apify's Free plan ($5) covers around 16,000 bars. Paid plans get volume discounts. Failed runs cost nothing, and you can cap spending with Maximum cost per run in the run options.
⬇️ Input
| Field | Description |
|---|---|
Symbols (symbols) | Yahoo Finance tickers or ISINs, e.g. AAPL, ASML.AS, 7203.T, NL0010273215. Up to 500 |
Bar size (interval) | 1d (default), 1wk or 1mo |
From date (from_date) | First day, YYYY-MM-DD. Empty = last 12 months |
To date (to_date) | Last day, YYYY-MM-DD. Empty = today |
Technical indicators (technicalIndicators) | Add-on: indicator fields on every row (default off) |
Max rows (limit) | Stop after this many rows in total |
Proxy (proxyConfiguration) | Apify datacenter proxy by default |
{"symbols": ["AAPL", "NL0010273215", "7203.T"],"interval": "1d","from_date": "2025-01-01","technicalIndicators": true}
⬆️ Output
One row per symbol per bar, newest first within each symbol. View them as a table in the Output tab or export JSON, CSV, Excel, XML or HTML. Every row has the same keys; fields that do not apply are null.
{"id": "yahoo:AAPL:2026-11-25","symbol": "AAPL","isin": null,"name": "Apple Inc.","exchange": "NasdaqGS","currency": "USD","date": "2026-11-25","open": 353.48,"high": 356.75,"low": 345.13,"close": 355.58,"adj_close": 355.58,"volume": 54240100,"dividend": null,"split_ratio": null,"change_pct": 0.4265,"scraped_at": "2026-11-26T08:10:21Z","sma_20": 348.6715,"sma_50": 343.0452,"sma_200": 304.4022,"ema_12": 350.6943,"ema_26": 347.7364,"rsi_14": 57.8969,"macd": 2.9579,"macd_signal": 3.0976,"macd_hist": -0.1397,"bb_upper": 361.0862,"bb_middle": 348.6715,"bb_lower": 336.2568,"atr_14": 8.5636,"pivot": 351.45,"r1": 357.02,"r2": 359.97,"r3": 365.54,"s1": 348.5,"s2": 342.93,"s3": 339.98,"support": 352.8467,"support_touches": 3,"resistance": 360.83,"resistance_touches": 1}
The indicator fields (sma_20 to resistance_touches) are null unless the add-on is on, or when there is not enough history.
close versus adj_close: close is adjusted for splits only (it matches the price chart). adj_close is also adjusted for dividends: use it for returns and backtests, close for the price level.
How are the technical indicators calculated?
All indicators are computed on the close (not adj_close) in plain code, and 300 earlier bars are fetched as warm-up (and not returned), so every value is valid from the first row you get.
- SMA 20 / 50 / 200: average of the last 20, 50 or 200 closes.
- EMA 12 / 26: exponential average, started from the SMA of the first n closes, then
ema = prev + 2/(n+1) × (close − prev). - RSI 14: Wilder's method: average gain and loss of 14 bars, then smoothed as
(prev × 13 + new) / 14;RSI = 100 − 100 / (1 + gain / loss). - MACD: EMA 12 minus EMA 26;
macd_signalis a 9-bar EMA of it;macd_histis the difference. - Bollinger bands: SMA 20 plus and minus 2 standard deviations of the last 20 closes.
- ATR 14: Wilder's average of the true range (the largest of high − low, and the distances from the previous close to the high and the low).
- Pivot points (
pivot,r1-r3,s1-s3): the classic floor-trader levels, from the previous bar's high H, low L and close C:pivot = (H+L+C)/3,r1 = 2×pivot − L,s1 = 2×pivot − H,r2 = pivot + (H−L),s2 = pivot − (H−L),r3 = H + 2×(pivot − L),s3 = L − 2×(H − pivot). - Support and resistance (
support,resistanceand their_touches): a bar is a swing high when its high is above the two highs before it and the two after it (a swing low is the mirror image). Of the swing points in the last 120 bars, those within half an ATR of each other (1.5% of the price when ATR is not available yet) are merged into one level: the level is their average andtouchesis how many swing points it holds.supportis the nearest level below the close,resistancethe nearest above; they arenullwhen there is none (a stock at an all-time high has no resistance).
Why the levels are known with a two-bar delay. A swing point needs two bars on each side to exist, so the swing high at bar i can only be recognised once bar i + 2 has closed. Each row uses only swing points that were already confirmed on that day, never later bars. A back-test that reads support and resistance on a given date therefore sees what a trader could have seen on that date (no lookahead).
What can I do with this data?
- 📉 Backtesting: clean OHLCV and
adj_closefor any strategy, with splits and dividends marked - 📊 Charts and dashboards: candlesticks, volume, moving averages and Bollinger bands straight from the output
- 🔍 Screeners: filter on RSI below 30, a golden cross (SMA 50 over SMA 200), or price next to its support
- 💼 Portfolio tracking: daily closes per holding by ISIN, in the local currency
- 🤖 Trading bots and alerts: a daily scheduled run with the latest indicator values
- 🌍 Cross-market comparison: US, European, Asian and Australian shares in one dataset
⚠️ Good to know
- The source is Yahoo Finance's public chart data. Coverage is what Yahoo has: most listed shares, ETFs, indices, currencies and futures; history length varies per symbol. Prices are not a licensed real-time feed: weekdays only, and the latest bar can still be forming while the market is open. Not for trading decisions that need exchange-grade data.
- ISINs are resolved through Yahoo's search to one listing (usually the home exchange). To get another listing, give its ticker (
ASMLfor Nasdaq,ASML.ASfor Amsterdam). - Currency: prices are in the listing's trading currency (
currencyfield). London, Johannesburg and Tel Aviv quotes are converted from pence, cents and agorot. - Weekly and monthly bars are dated by Yahoo's bar start (a Monday, or the first day of the month) and the last bar can be a partial period.
- Unknown symbols are skipped and logged; the run only fails if none of them returns data.
- Dividends are Yahoo's split-adjusted amounts on the bar containing the ex-date. For payment dates and declared amounts see EU Dividends & Splits by ISIN.
Other market data Actors
| Actor | What it does |
|---|---|
| EU Dividends & Splits by ISIN | Dividend history, pay dates, types and splits of European and UK shares. |
| EU Short Positions Register | Disclosed net short positions in European and UK shares from 9 regulators. |
Frequently asked questions
Can I use it with the Apify API?
Yes. Every run has a dataset you can read through the Apify API. Python:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("carabain-digital/stock-prices").call(run_input={"symbols": ["AAPL", "ASML.AS"],"from_date": "2025-01-01","technicalIndicators": True,})for bar in client.dataset(run["defaultDatasetId"]).iterate_items():print(bar["symbol"], bar["date"], bar["close"], bar["rsi_14"])
JavaScript:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('carabain-digital/stock-prices').call({symbols: ['AAPL', 'ASML.AS'],from_date: '2025-01-01',});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.length, 'price bars');
Can I call it as a real-time API?
Yes. This Actor also runs as a Server Actor: send an HTTP request and get the rows back in the response, no run to start or dataset to fetch. Pass the same fields as the normal input, in the query string (repeat a key for a list) or as a JSON body:
curl "https://carabain-digital--stock-prices.apify.actor/?symbols=AAPL&symbols=7203.T&limit=10" \-H "Authorization: Bearer <YOUR_APIFY_TOKEN>"
The response is a JSON array of the same rows a normal run returns, billed the same way. Errors come back as {"error": ..., "message": ...} with status 400 (invalid input) or 502 (blocked). See the Server tab for details.
Can I use it through an MCP server or with AI agents?
Yes. Add it to an AI agent through the Apify MCP server (https://mcp.apify.com?tools=carabain-digital/stock-prices), or let the agent find it with search-actors and run it with call-actor. A run for a few symbols finishes in seconds and the rows are small and flat. Example prompt: "Use Stock Price History & Technical Indicators to get Apple's daily closes and RSI for the last 3 months."
How do I keep prices up to date?
Create a Task with your symbols and a From date of a week ago, and schedule it daily. The id (yahoo:<symbol>:<date>) is stable, so you can upsert on it; the most recent bar can change until the market closes.
Why is support or resistance empty?
They are null when no level exists on that side of the close, for example at an all-time high, or when there are fewer than 5 bars of history.
Why do two listings of the same company have different prices?
Each listing trades on its own exchange in its own currency. Give the ticker of the listing you want.
Is it legal to use this data?
The Actor reads publicly visible endpoints, without a login, and returns market data, no personal data. Check Yahoo's terms for your use case, especially for commercial redistribution. More background: Is web scraping legal?
Not working? Feedback
Open an issue on the Issues tab of this Actor with the run link and the symbol, and we will look at it. Feature ideas (more indicators, more intervals) are welcome there too.
Other scrapers by us
| Actor | Covers |
|---|---|
| ImmoScout24 Scraper | German real estate listings |
| StepStone Jobs Scraper | German job postings |
⭐ Does it work well for you? A review on the Store page helps others find this Actor and helps us keep it maintained.