Massive

App · 19 actions

Get market data from Massive (formerly Polygon.io): stock, crypto and forex price bars, a day's open and close, moving averages, RSI and MACD, company details, news, dividends, splits, short interest, options contracts, Treasury yields, and whether the markets are open.

Actions

ActionWhat it does
Get a market's daily barsGet one day's bar for every ticker in a market.
Get daily open and closeGet one day's open, high, low, close and volume for a ticker, with its pre-market and after-hours prices.
Get market statusFind out whether the US exchanges, crypto and forex are open right now.
Get previous closeGet the previous trading day's open, high, low, close and volume for a ticker.
Get price barsGet open, high, low, close, volume and VWAP bars for a ticker between two dates, by minute, hour, day, week, month, quarter or year.
Get related companiesGet the tickers Massive finds related to one, from news and returns.
Get short interestGet how many of a stock's shares were sold short at each twice-monthly settlement.
Get short volumeGet how many of a stock's shares were sold short on each trading day.
Get technical indicatorGet a moving average (SMA or EMA), the relative strength index (RSI) or MACD for a ticker, computed from its price bars.
Get ticker overviewGet a company's details: name, exchange, description, website, market cap, employees, industry, address and logo.
List dividendsList dividends with their ex-dividend, record and pay dates, for one ticker or all.
List exchangesList the exchanges Massive covers, with their MIC codes.
List market holidaysList the upcoming days the US exchanges are closed or close early.
List newsList recent news articles, about one ticker or about any.
List options contractsList options contracts, optionally for one stock, of one type, with one expiry day or strike price.
List stock splitsList stock splits with their ratios, for one ticker or all.
List ticker typesList the asset types a ticker can have, with the codes 'Search tickers' filters by.
List Treasury yieldsList US Treasury yields by day, from 1 month to 30 years, in percent.
Search tickersFind tickers by company name or symbol, A to Z, optionally narrowed to a market, an asset type or an exchange.

Get a market's daily bars

Get one day's bar for every ticker in a market. A day holds thousands of tickers, so it returns the first ones, A to Z, and says how many there were in all.

Inputs

DaydatedateRequired
The trading day.
Marketmarkettext
Which market. Defaults to US stocks.One of: stocks (US stocks (default)), crypto, fx (Forex).
Adjust for splitsadjustedtrue/false
Adjust prices for stock splits. On by default.Default: true.
How manylimitnumber
How many to return, 1 to 1000. Defaults to 100.From 1 to 1000.

Outputs

barslist
The first bars, A to Z
countnumber
How many records are returned
datetext
The day
markettext
The market
totalnumber
How many tickers traded that day in all
Example output
{
  "bars": [
    {
      "close": 356.27,
      "high": 360.83,
      "low": 355.75,
      "open": 357.96,
      "ticker": "AAPL",
      "timestamp": "2026-11-13T05:00:00Z",
      "transactions": 702541,
      "volume": 40027467,
      "vwap": 357.9071
    }
  ],
  "count": 1,
  "date": "2026-11-13",
  "market": "stocks",
  "total": 12564
}

Get daily open and close

Get one day's open, high, low, close and volume for a ticker, with its pre-market and after-hours prices.

Inputs

TickertickertextRequired
The ticker, such as AAPL. Crypto is X:BTCUSD and forex is C:EURUSD; use 'Search tickers' to find one from a name.
DaydatedateRequired
The trading day. Weekends and holidays have none.
Adjust for splitsadjustedtrue/false
Adjust prices for stock splits. On by default.Default: true.

Outputs

after_hoursnumber
The after-hours closing price
closenumber
The closing price
datetext
The day, YYYY-MM-DD
highnumber
The highest price
lownumber
The lowest price
opennumber
The opening price
pre_marketnumber
The pre-market opening price
tickertext
The ticker
volumenumber
The trading volume
Example output
{
  "after_hours": 355.4,
  "close": 356.27,
  "date": "2026-11-13",
  "high": 360.83,
  "low": 355.75,
  "open": 357.96,
  "pre_market": 356,
  "ticker": "AAPL",
  "volume": 40027467
}

Get market status

Find out whether the US exchanges, crypto and forex are open right now.

Inputs

None.

Outputs

after_hourstrue/false
True during after-hours trading
cryptotext
Crypto: open or closed
early_hourstrue/false
True during early (pre-market) trading hours
fxtext
Forex: open or closed
markettext
open, closed, extended-hours or early-hours
nasdaqtext
Nasdaq: open, closed or extended-hours
nysetext
NYSE: open, closed or extended-hours
otctext
OTC: open, closed or extended-hours
server_timetext
Massive's clock, as an ISO 8601 time
Example output
{
  "after_hours": false,
  "crypto": "open",
  "early_hours": false,
  "fx": "open",
  "market": "open",
  "nasdaq": "open",
  "nyse": "open",
  "otc": "open",
  "server_time": "2026-11-17T09:30:00-05:00"
}

Get previous close

Get the previous trading day's open, high, low, close and volume for a ticker.

Inputs

TickertickertextRequired
The ticker, such as AAPL. Crypto is X:BTCUSD and forex is C:EURUSD; use 'Search tickers' to find one from a name.
Adjust for splitsadjustedtrue/false
Adjust prices for stock splits. On by default.Default: true.

Outputs

closenumber
The last price in the bar
highnumber
The highest price in the bar
lownumber
The lowest price in the bar
opennumber
The first price in the bar
tickertext
The ticker
timestamptext
The start of the bar, as an ISO 8601 UTC time
transactionsnumber
How many trades made up the bar
volumenumber
The trading volume in the bar
vwapnumber
The volume-weighted average price
Example output
{
  "close": 356.27,
  "high": 360.83,
  "low": 355.75,
  "open": 357.96,
  "ticker": "AAPL",
  "timestamp": "2026-11-13T05:00:00Z",
  "transactions": 702541,
  "volume": 40027467,
  "vwap": 357.9071
}

Get price bars

Get open, high, low, close, volume and VWAP bars for a ticker between two dates, by minute, hour, day, week, month, quarter or year. Works for stocks, crypto and forex.

Inputs

TickertickertextRequired
The ticker, such as AAPL. Crypto is X:BTCUSD and forex is C:EURUSD; use 'Search tickers' to find one from a name.
Bar sizemultipliernumber
How many time spans make one bar: 1 with Day gives daily bars, 5 with Minute gives 5-minute bars. Defaults to 1.From 1 to 1000.
Time spantimespantext
The unit of a bar. Defaults to day.One of: minute, hour, day (Day (default)), week, month, quarter, year.
Fromfrom_datedateRequired
The first day to include.
Toto_datedateRequired
The last day to include.
Adjust for splitsadjustedtrue/false
Adjust prices for stock splits. On by default.Default: true.
Ordersorttext
Sort by time. Defaults to oldest first.One of: asc (Oldest first (default)), desc (Newest first).
How manylimitnumber
How many to return, 1 to 50000. Defaults to 5000.From 1 to 50000.

Outputs

adjustedtrue/false
Whether prices are split-adjusted
barslist
The bars
countnumber
How many records are returned
tickertext
The ticker
Example output
{
  "adjusted": true,
  "bars": [
    {
      "close": 356.27,
      "high": 360.83,
      "low": 355.75,
      "open": 357.96,
      "timestamp": "2026-11-13T05:00:00Z",
      "transactions": 702541,
      "volume": 40027467,
      "vwap": 357.9071
    }
  ],
  "count": 1,
  "ticker": "AAPL"
}

Get the tickers Massive finds related to one, from news and returns.

Inputs

TickertickertextRequired
The ticker, such as AAPL. Crypto is X:BTCUSD and forex is C:EURUSD; use 'Search tickers' to find one from a name.

Outputs

countnumber
How many records are returned
related_tickerslist
The related tickers
tickertext
The ticker asked about
Example output
{
  "count": 5,
  "related_tickers": [
    "MSFT",
    "GOOGL",
    "AMZN",
    "NVDA",
    "TSLA"
  ],
  "ticker": "AAPL"
}

Get short interest

Get how many of a stock's shares were sold short at each twice-monthly settlement.

Inputs

TickertickertextRequired
The stock, such as AAPL.
Settled fromsettled_fromdate
On or after this day.
Settled tosettled_todate
On or before this day.
Orderordertext
Which end to start from. Defaults to newest first.One of: desc (Newest first (default)), asc (Oldest first).
How manylimitnumber
How many to return, 1 to 1000. Defaults to 10.From 1 to 1000.
Next page cursorcursortext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many records this page holds
next_cursortext
Give this as 'Next page cursor' to get the next page; empty on the last page
recordslist
The short interest records
Example output
{
  "count": 1,
  "next_cursor": "",
  "records": [
    {
      "avg_daily_volume": 50000000,
      "days_to_cover": 2.2,
      "settlement_date": "2026-10-31",
      "short_interest": 110000000,
      "ticker": "AAPL"
    }
  ]
}

Get short volume

Get how many of a stock's shares were sold short on each trading day.

Inputs

TickertickertextRequired
The stock, such as AAPL.
Fromdate_fromdate
On or after this day.
Todate_todate
On or before this day.
Orderordertext
Which end to start from. Defaults to newest first.One of: desc (Newest first (default)), asc (Oldest first).
How manylimitnumber
How many to return, 1 to 1000. Defaults to 10.From 1 to 1000.
Next page cursorcursortext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many records this page holds
next_cursortext
Give this as 'Next page cursor' to get the next page; empty on the last page
recordslist
The short volume records
Example output
{
  "count": 1,
  "next_cursor": "",
  "records": [
    {
      "date": "2026-11-13",
      "exempt_volume": 67840,
      "non_exempt_volume": 5615873,
      "short_volume": 5683713,
      "short_volume_ratio": 34.95,
      "ticker": "AAPL",
      "total_volume": 16264662
    }
  ]
}

Get technical indicator

Get a moving average (SMA or EMA), the relative strength index (RSI) or MACD for a ticker, computed from its price bars.

Inputs

IndicatorindicatortextRequired
Which indicator to compute.One of: sma (Simple moving average (SMA)), ema (Exponential moving average (EMA)), rsi (Relative strength index (RSI)), macd.
TickertickertextRequired
The ticker, such as AAPL. Crypto is X:BTCUSD and forex is C:EURUSD; use 'Search tickers' to find one from a name.
Time spantimespantext
The bar size it is computed over. Defaults to day.One of: minute, hour, day (Day (default)), week, month, quarter, year.
Windowwindownumber
How many bars to average (SMA, EMA) or measure (RSI). Massive uses 50 when empty. Not used by MACD.At least 1.
Priceseries_typetext
Which price of each bar to use. Defaults to close.One of: close (Close (default)), open, high, low.
MACD short windowshort_windownumber
MACD only: the short EMA's bars. Defaults to 12.At least 1.
MACD long windowlong_windownumber
MACD only: the long EMA's bars. Defaults to 26.At least 1.
MACD signal windowsignal_windownumber
MACD only: the signal line's bars. Defaults to 9.At least 1.
Fromfrom_datedate
Only values on or after this day.
Toto_datedate
Only values on or before this day.
Adjust for splitsadjustedtrue/false
Adjust prices for stock splits. On by default.Default: true.
Orderordertext
Which end to start from. Defaults to newest first.One of: desc (Newest first (default)), asc (Oldest first).
How manylimitnumber
How many to return, 1 to 5000. Defaults to 10.From 1 to 5000.
Next page cursorcursortext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many records are returned
indicatortext
The indicator computed
next_cursortext
The cursor for the next page; empty on the last
tickertext
The ticker
valueslist
The values
Example output
{
  "count": 2,
  "indicator": "macd",
  "next_cursor": "",
  "ticker": "AAPL",
  "values": [
    {
      "histogram": 0.7041,
      "signal": 3.4527,
      "timestamp": "2026-11-16T05:00:00Z",
      "value": 4.1568
    },
    {
      "histogram": 0.8942,
      "signal": 3.2767,
      "timestamp": "2026-11-13T05:00:00Z",
      "value": 4.1709
    }
  ]
}

Get ticker overview

Get a company's details: name, exchange, description, website, market cap, employees, industry, address and logo.

Inputs

TickertickertextRequired
The ticker, such as AAPL. Crypto is X:BTCUSD and forex is C:EURUSD; use 'Search tickers' to find one from a name.
As ofdatedate
Show the company as it was on this day. Defaults to the latest.

Outputs

overviewobject
The company's details
Example output
{
  "overview": {
    "active": true,
    "address": {
      "address1": "ONE APPLE PARK WAY",
      "city": "CUPERTINO",
      "postal_code": "95014",
      "state": "CA"
    },
    "branding": {
      "icon_url": "https://api.massive.com/v1/reference/company-branding/icon.png",
      "logo_url": "https://api.massive.com/v1/reference/company-branding/logo.svg"
    },
    "cik": "0000320193",
    "composite_figi": "BBG000B9XRY4",
    "currency_name": "usd",
    "description": "Apple designs, manufactures and markets smartphones, personal computers, tablets, wearables and accessories.",
    "homepage_url": "https://www.apple.com",
    "last_updated_utc": "2026-11-17T07:10:15.800559102Z",
    "list_date": "1980-12-12",
    "locale": "us",
    "market": "stocks",
    "market_cap": 5126663165960,
    "name": "Apple Inc.",
    "phone_number": "(408) 996-1010",
    "primary_exchange": "XNAS",
    "round_lot": 100,
    "share_class_figi": "BBG001S5N8V8",
    "share_class_shares_outstanding": 14697926000,
    "sic_code": "3571",
    "sic_description": "ELECTRONIC COMPUTERS",
    "ticker": "AAPL",
    "ticker_root": "AAPL",
    "total_employees": 166000,
    "type": "CS",
    "weighted_shares_outstanding": 14697926000
  }
}

List dividends

List dividends with their ex-dividend, record and pay dates, for one ticker or all.

Inputs

Tickertickertext
Only this ticker's dividends. Leave empty for every ticker.
Ex-dividend fromex_dividend_fromdate
On or after this day.
Ex-dividend toex_dividend_todate
On or before this day.
Typedividend_typetext
Only this kind of dividend.One of: CD (Regular (cash dividend)), SC (Special cash), LT (Long-term capital gain), ST (Short-term capital gain).
Orderordertext
Which end to start from. Defaults to newest first.One of: desc (Newest first (default)), asc (Oldest first).
How manylimitnumber
How many to return, 1 to 1000. Defaults to 10.From 1 to 1000.
Next page cursorcursortext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many records this page holds
dividendslist
The dividends
next_cursortext
Give this as 'Next page cursor' to get the next page; empty on the last page
Example output
{
  "count": 1,
  "dividends": [
    {
      "cash_amount": 0.27,
      "currency": "USD",
      "declaration_date": "2026-11-02",
      "dividend_type": "CD",
      "ex_dividend_date": "2026-11-12",
      "frequency": 4,
      "id": "Efc26ecd4b3dcd7215ea595f126f9194832a57cb2e42487777b7527211617842c",
      "pay_date": "2026-11-16",
      "record_date": "2026-11-12",
      "ticker": "AAPL"
    }
  ],
  "next_cursor": ""
}

List exchanges

List the exchanges Massive covers, with their MIC codes.

Inputs

Asset classasset_classtext
Only exchanges for this kind of asset.One of: stocks, options, crypto, fx (Forex).
Regionlocaletext
Only exchanges in this region.One of: us (United States), global.

Outputs

countnumber
How many records are returned
exchangeslist
The exchanges
Example output
{
  "count": 1,
  "exchanges": [
    {
      "acronym": "AMEX",
      "asset_class": "stocks",
      "id": 1,
      "locale": "us",
      "mic": "XASE",
      "name": "NYSE American, LLC",
      "operating_mic": "XNYS",
      "type": "exchange",
      "url": "https://www.nyse.com/markets/nyse-american"
    }
  ]
}

List market holidays

List the upcoming days the US exchanges are closed or close early.

Inputs

None.

Outputs

countnumber
How many records are returned
holidayslist
The holidays
Example output
{
  "count": 2,
  "holidays": [
    {
      "close": "",
      "date": "2026-11-26",
      "exchange": "NYSE",
      "name": "Thanksgiving",
      "open": "",
      "status": "closed"
    },
    {
      "close": "2026-11-27T18:00:00.000Z",
      "date": "2026-11-27",
      "exchange": "NYSE",
      "name": "Thanksgiving",
      "open": "2026-11-27T14:30:00.000Z",
      "status": "early-close"
    }
  ]
}

List news

List recent news articles, about one ticker or about any.

Inputs

Tickertickertext
Only articles that mention this ticker. Leave empty for all news.
Published frompublished_fromdate
On or after this day.
Published topublished_todate
On or before this day.
Orderordertext
Which end to start from. Defaults to newest first.One of: desc (Newest first (default)), asc (Oldest first).
How manylimitnumber
How many to return, 1 to 1000. Defaults to 10.From 1 to 1000.
Next page cursorcursortext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

articleslist
The articles
countnumber
How many records this page holds
next_cursortext
Give this as 'Next page cursor' to get the next page; empty on the last page
Example output
{
  "articles": [
    {
      "article_url": "https://www.fool.com/investing/2026/11/16/example/",
      "author": "Jo Bloggs",
      "description": "A look at why Apple's suppliers are up this week.",
      "id": "56511660cf8a2ae963d96c022af778a2f2ddb85cbbb0c8af75994dfa677e44f1",
      "image_url": "https://example.com/image.jpg",
      "keywords": [
        "apple",
        "iphone"
      ],
      "published_utc": "2026-11-16T13:30:00Z",
      "publisher_name": "The Motley Fool",
      "tickers": [
        "AAPL"
      ],
      "title": "Apple supplier shares rise on strong iPhone demand"
    }
  ],
  "count": 1,
  "next_cursor": ""
}

List options contracts

List options contracts, optionally for one stock, of one type, with one expiry day or strike price. Active contracts only unless you ask for expired ones.

Inputs

Stockunderlying_tickertext
The stock the options are on, such as AAPL.
Typecontract_typetext
Calls or puts. Both by default.One of: call, put.
Expires onexpiration_datedate
Only contracts that expire on this day.
Strike pricestrike_pricenumber
Only contracts with exactly this strike price.
Expired contractsexpiredtrue/false
List contracts that have expired instead of active ones.Default: false.
Orderordertext
Sorted by ticker. Defaults to A to Z.One of: asc (Oldest first (default)), desc (Newest first).
How manylimitnumber
How many to return, 1 to 1000. Defaults to 10.From 1 to 1000.
Next page cursorcursortext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

contractslist
The options contracts
countnumber
How many records this page holds
next_cursortext
Give this as 'Next page cursor' to get the next page; empty on the last page
Example output
{
  "contracts": [
    {
      "cfi": "OCASPS",
      "contract_type": "call",
      "exercise_style": "american",
      "expiration_date": "2026-12-18",
      "primary_exchange": "BATO",
      "shares_per_contract": 100,
      "strike_price": 300,
      "ticker": "O:AAPL261218C00300000",
      "underlying_ticker": "AAPL"
    }
  ],
  "count": 1,
  "next_cursor": ""
}

List stock splits

List stock splits with their ratios, for one ticker or all.

Inputs

Tickertickertext
Only this ticker's splits. Leave empty for every ticker.
Split fromexecution_fromdate
On or after this day.
Split toexecution_todate
On or before this day.
Orderordertext
Which end to start from. Defaults to newest first.One of: desc (Newest first (default)), asc (Oldest first).
How manylimitnumber
How many to return, 1 to 1000. Defaults to 10.From 1 to 1000.
Next page cursorcursortext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many records this page holds
next_cursortext
Give this as 'Next page cursor' to get the next page; empty on the last page
splitslist
The splits
Example output
{
  "count": 1,
  "next_cursor": "",
  "splits": [
    {
      "execution_date": "2020-08-31",
      "id": "E88b8b2b6bafd665a61276b4909bf17d919f09bb163b687bbca10e035c3c74a3a",
      "split_from": 1,
      "split_to": 4,
      "ticker": "AAPL"
    }
  ]
}

List ticker types

List the asset types a ticker can have, with the codes 'Search tickers' filters by.

Inputs

None.

Outputs

countnumber
How many records are returned
typeslist
The types
Example output
{
  "count": 2,
  "types": [
    {
      "asset_class": "stocks",
      "code": "CS",
      "description": "Common Stock",
      "locale": "us"
    },
    {
      "asset_class": "stocks",
      "code": "ETF",
      "description": "Exchange Traded Fund",
      "locale": "us"
    }
  ]
}

List Treasury yields

List US Treasury yields by day, from 1 month to 30 years, in percent.

Inputs

Fromdate_fromdate
On or after this day.
Todate_todate
On or before this day.
Orderordertext
Which end to start from. Defaults to newest first.One of: desc (Newest first (default)), asc (Oldest first).
How manylimitnumber
How many to return, 1 to 1000. Defaults to 10.From 1 to 1000.
Next page cursorcursortext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many records this page holds
next_cursortext
Give this as 'Next page cursor' to get the next page; empty on the last page
yieldslist
The yields
Example output
{
  "count": 1,
  "next_cursor": "",
  "yields": [
    {
      "date": "2026-11-14",
      "yield_10_year": 4.1,
      "yield_1_month": 4.2,
      "yield_1_year": 3.9,
      "yield_20_year": 4.5,
      "yield_2_year": 3.8,
      "yield_30_year": 4.6,
      "yield_3_month": 4.1,
      "yield_3_year": 3.8,
      "yield_5_year": 3.9,
      "yield_6_month": 4.0,
      "yield_7_year": 4.0
    }
  ]
}

Search tickers

Find tickers by company name or symbol, A to Z, optionally narrowed to a market, an asset type or an exchange. Use it to find the ticker the other actions take.

Inputs

Search forsearchtext
Part of a name or ticker, such as apple or AAPL.
Marketmarkettext
Only tickers in this market.One of: stocks, crypto, fx (Forex), otc, indices.
Typeticker_typetext
Only tickers of this type, such as common stock.
Exchangeexchangetext
Only tickers listed on this exchange.
Active onlyactivetrue/false
Leave out tickers no longer traded. On by default.Default: true.
How manylimitnumber
How many to return, 1 to 1000. Defaults to 100.From 1 to 1000.
Next page cursorcursortext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many records this page holds
next_cursortext
Give this as 'Next page cursor' to get the next page; empty on the last page
tickerslist
The matching tickers
Example output
{
  "count": 1,
  "next_cursor": "YXA9JTVCJTIyQVBQTCUyMiU1RA",
  "tickers": [
    {
      "active": true,
      "cik": "0000320193",
      "composite_figi": "BBG000B9XRY4",
      "currency_name": "usd",
      "last_updated_utc": "2026-11-17T07:10:15.800559102Z",
      "locale": "us",
      "market": "stocks",
      "name": "Apple Inc.",
      "primary_exchange": "XNAS",
      "share_class_figi": "BBG001S5N8V8",
      "ticker": "AAPL",
      "type": "CS"
    }
  ]
}

On this page