Stock Market Data API - Bars, Options, Crypto, Forex (Massive) avatar

Stock Market Data API - Bars, Options, Crypto, Forex (Massive)

Pricing

from $5.00 / 1,000 price or time series row returneds

Go to Apify Store
Stock Market Data API - Bars, Options, Crypto, Forex (Massive)

Stock Market Data API - Bars, Options, Crypto, Forex (Massive)

Stock market data API for US stocks, options, indices, forex and crypto via Massive (formerly Polygon.io): OHLC bars, trades, quotes, snapshots, options chains with greeks, news, dividends, splits, financials, ratios and technical indicators. Bring your own key.

Pricing

from $5.00 / 1,000 price or time series row returneds

Rating

0.0

(0)

Developer

Nabeel Hassan

Nabeel Hassan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 days ago

Last modified

Share

Pull US stock, options, index, forex and crypto market data from the Massive REST API (formerly Polygon.io) into a dataset, a spreadsheet or a warehouse: OHLC bars at any interval, tick-level trades and quotes, live snapshots, options chains with greeks, news with sentiment, dividends, splits, financial statements and technical indicators. Uses your own Massive API key, reads only, and charges only for rows that carry data.

What it collects

  • Custom OHLC bars for any ticker and interval, from 1-second to yearly bars, with open, high, low, close, volume, VWAP and trade count, split-adjusted or not. Stocks (AAPL), crypto (X:BTCUSD), forex (C:EURUSD), indices (I:SPX) and option contracts (O:AAPL251219C00150000).
  • Daily data: previous day bar, the daily market summary for every stock, crypto or forex ticker on one day, and the daily open and close with pre-market and after-hours prices.
  • Tick data: trades and NBBO quotes with nanosecond timestamps, exchange, conditions and sizes, plus the last trade and last quote.
  • Snapshots: the unified snapshot across asset classes, the full market snapshot, the top 20 gainers or losers, the options chain with delta, gamma, theta, vega, implied volatility and open interest, and index values.
  • Reference data: ticker search and lists across stocks, OTC, crypto, forex and indices, company overview (market cap, employees, SIC code, description, homepage), related tickers, options contracts, exchanges, market status and upcoming holidays.
  • News with publisher, tickers, keywords and per-ticker sentiment with reasoning.
  • Corporate actions and fundamentals: dividends, splits, IPOs, income statements, balance sheets, cash flow statements, financial ratios (P/E, P/B, EV/EBITDA, ROE, debt to equity, dividend yield), short interest and short volume.
  • Technical indicators and economy: SMA, EMA, RSI and MACD on any ticker, US Treasury yields from 1 month to 30 years, and currency conversion.
  • Lists are followed page by page (up to 50,000 bars, trades or quotes a page) until they end or your maximum is reached.

How to use it

  1. Get a Massive API key: sign up at massive.com (a free plan exists) and copy the key from the Keys page of the dashboard. A Polygon.io key works as is.
  2. Paste it into the API key field (stored as a secret), or set the DATA_API_KEY environment secret.
  3. Pick What to read, fill in the tickers and dates, and start. The default reads 30 days of daily bars for AAPL.

Input

FieldWhat it does
What to readOne of 33 modes, each one documented Massive REST route. Default: custom bars.
TickersProvider tickers: AAPL, BRK.B, X:BTCUSD, C:EURUSD, I:SPX, O:AAPL251219C00150000. Required by per-ticker modes, an optional filter elsewhere.
Date start, Date endInclusive range as YYYY-MM-DD or ISO 8601, used by bars, trades, quotes, news, corporate actions, statements, short data, indicators and yields.
DateOne day for the daily summary and daily open and close (default: the last weekday), or the as-of date for reference lookups.
Bar size, TimespanBars: 5 and minute gives 5-minute bars.
Adjust for splitsBars, daily data and indicators.
Sort orderAscending or descending on the mode's date.
Market, Include OTC, Movers directionDaily summary, full snapshot, movers and ticker search.
Asset classUnified snapshot of a whole asset class, or exchanges by asset class.
Search, Ticker type, Ticker statusTicker search.
Contract type, Expiration from and to, Minimum and maximum strike, Expired contractsOptions chain and options contracts.
Dividend type, Split type, IPO statusCorporate action filters.
Reporting period, Fiscal yearFinancial statements.
Indicator, Window, Price series, MACD windowsTechnical indicators.
Convert from, Convert to, Amount, Decimal placesCurrency conversion.
Maximum resultsRow cap for the run, and the most you are charged for.
Requests per minutePacing. 5 suits the free plan; raise it on a paid key.
API keyYour Massive API key, as a secret input, or the DATA_API_KEY secret.

Access and limits on the Massive side

  • Massive plans differ by asset class (stocks, options, indices, currencies), history depth (2 years on free plans, all history on higher plans) and recency (end of day, 15-minute delayed or real time). A mode outside your plan ends the run cleanly with the provider's "not entitled" message; the key is fine, the plan does not cover that data.
  • The free plan allows 5 API calls a minute. The actor paces itself to the requests per minute you set and waits out any rate limit.
  • The key is sent only in the Authorization: Bearer header, never in a URL, and is stripped from any log or error text.
  • Massive's terms govern what you do with the data: market data is licensed for your own use under your plan, and exchange rules restrict redistributing real-time data. This actor only moves data you are already entitled to into your own Apify storage.

FAQ

What is the Massive API?

Massive is the new name of Polygon.io, a US market data provider. Its REST API at api.massive.com serves stocks, options, indices, forex and crypto: aggregates (bars), trades, quotes, snapshots, reference data, news, corporate actions and fundamentals. Polygon.io keys, routes and the api.polygon.io host still work.

Which data source does this actor read?

The Massive REST API at api.massive.com, documented at massive.com/docs with a public OpenAPI document. Every mode is one documented GET route: for example /v2/aggs/ticker/{ticker}/range/{multiplier}/{timespan}/{from}/{to} for bars, /v3/snapshot/options/{underlying} for the options chain and /stocks/financials/v1/income-statements for income statements. The docs and the live host were checked on 2026-10-05.

Do I need a Massive account?

Yes. This actor is bring-your-own-key and never ships one. The free Massive plan covers end-of-day stock bars, reference data, news and fundamentals at 5 calls a minute; options, indices, tick data and real-time snapshots need the matching paid plan. A missing, refused or under-entitled key ends the run cleanly with a message saying which it was.

How do I download historical minute bars for a stock?

Choose Custom bars, set Tickers to the symbol, Bar size 1 and Timespan minute, and set the date start and end. Up to 50,000 bars come back per request and the actor follows the provider's next page link until the range is covered or your maximum results is reached.

Can I get an options chain with greeks and implied volatility?

Yes. Choose the options chain snapshot, set Tickers to the underlying stock (for example AAPL) and narrow it with contract type, expiration range and strike range. Each row is one contract with delta, gamma, theta, vega, implied volatility, open interest, the day bar, the last quote and trade, and the underlying price. This needs an options plan.

How do I get crypto or forex prices?

Use the provider's prefixes: X:BTCUSD for Bitcoin in US dollars, C:EURUSD for the euro. They work in custom bars, previous day bar, indicators and the unified snapshot; the daily summary, full snapshot and movers take the market field (crypto or forex). Currency conversion converts any amount between two currencies at the latest rate.

How is it priced?

Pay per result: the lowest price per bar, trade, quote, indicator value or yield row, a middle price per reference row, a higher price per snapshot or news article, and the highest per financial statement or ratios record. Lookups that find nothing are free. Your Massive subscription applies separately.

Pricing

EventPrice
Bar, daily summary, trade, quote, indicator or yield row$0.005
Ticker, company, contract, dividend, split, IPO, short data, exchange, status or holiday row$0.006
Snapshot, mover, option contract snapshot, last trade or quote, currency conversion$0.01
News article with sentiment$0.01
Income statement, balance sheet, cash flow statement or ratios row$0.015

Example output

{
"mode": "aggregates",
"modeLabel": "Custom bars (OHLC)",
"recordType": "bar",
"ticker": "AAPL",
"found": true,
"date": "2020-01-02T05:00:00.000Z",
"name": null,
"open": 74.06,
"high": 75.15,
"low": 73.7975,
"close": 75.0875,
"volume": 135647456,
"vwap": 74.6099,
"price": 75.0875,
"change": null,
"changePercent": null,
"value": null,
"url": null,
"retrievedAt": "2026-10-05T09:14:52.118Z",
"note": null,
"c": 75.0875,
"h": 75.15,
"l": 73.7975,
"n": 1,
"o": 74.06,
"t": 1577941200000,
"v": 135647456,
"vw": 74.6099,
"transactions": 1
}

The sample bar is the provider's own documented example. Every mode keeps all of the provider's fields under their own names next to the common columns: option rows add delta, gamma, theta, vega, impliedVolatility and openInterest; quote rows add bidPrice and askPrice; news rows add title and sentiment.

Keyword map

stock market data API, stock price API, historical stock prices, OHLC bars, intraday minute bars, tick data, trades and quotes, NBBO, options chain API, options greeks, implied volatility, crypto price API, forex rates API, index values, market movers, stock fundamentals, income statement API, dividends API, stock splits, IPO calendar, short interest, technical indicators RSI MACD, Treasury yields, Massive API, Polygon.io API, Polygon alternative.