massive-api
Massive(Massive) Market Data Skill
A CLI tool and JS client wrapper for the Massive(Massive) financial data APIs. Covers stocks, crypto, forex, options, indices, futures, market status, news, and reference data.
CLI Usage
npx -y massive-cli <command> [options]
All commands output JSON to stdout. Use --help for a list of commands or <command> --help for command-specific options.
Command Structure
Commands are organized by asset class with subcommands:
Stocks
npx -y massive-cli stocks <subcommand> [options]
Available subcommands:
aggs- Stock aggregate bars (OHLCV)trades- Stock tradesquotes- Stock quotes (NBBO)snapshot- Stock ticker snapshotopen-close- Stock daily open/closeprevious- Stock previous day aggregatesgrouped- Stock grouped daily aggregatessma- Simple Moving Averageema- Exponential Moving Averagersi- Relative Strength Indexmacd- Moving Average Convergence/Divergencelast-trade- Last stock tradelast-quote- Last stock quote
See Stocks Commands Reference for full details.
Crypto
npx -y massive-cli crypto <subcommand> [options]
Available subcommands:
aggs- Crypto aggregate barstrades- Crypto tradessnapshot- Crypto ticker snapshotsnapshot-direction- Crypto snapshot by direction (gainers/losers)snapshot-tickers- Crypto snapshot for multiple tickersopen-close- Crypto daily open/closeprevious- Crypto previous day aggregatesgrouped- Crypto grouped daily aggregatessma- Simple Moving Averageema- Exponential Moving Averagersi- Relative Strength Indexmacd- Moving Average Convergence/Divergencelast-trade- Last crypto trade
See Crypto Commands Reference for full details.
Forex
npx -y massive-cli forex <subcommand> [options]
Available subcommands:
aggs- Forex aggregate barsquotes- Forex quotessnapshot- Forex ticker snapshotprevious- Forex previous day aggregatesgrouped- Forex grouped daily aggregatessma- Simple Moving Averageema- Exponential Moving Averagersi- Relative Strength Indexmacd- Moving Average Convergence/Divergencelast-quote- Last forex quote
Standalone commands:
currency-conversion- Currency conversion
See Forex Commands Reference for full details.
Options
npx -y massive-cli options <subcommand> [options]
Available subcommands:
aggs- Options aggregate barstrades- Options tradesquotes- Options quotesopen-close- Options daily open/closechain- Options chaincontract- Options contract detailsprevious- Options previous day aggregatessma- Simple Moving Averageema- Exponential Moving Averagersi- Relative Strength Indexmacd- Moving Average Convergence/Divergencelast-trade- Last options trade
See Options Commands Reference for full details.
Indices
npx -y massive-cli indices <subcommand> [options]
Available subcommands:
aggs- Indices aggregate barsopen-close- Indices daily open/closesnapshot- Indices ticker snapshotprevious- Indices previous day aggregatessma- Simple Moving Averageema- Exponential Moving Averagersi- Relative Strength Indexmacd- Moving Average Convergence/Divergence
See Indices Commands Reference for full details.
Reference Data
Standalone commands for reference data:
tickers- Query all ticker symbolsticker-details- Get ticker detailsticker-types- Get ticker types mappingexchanges- List all exchangesconditions- List all conditionsdividends- Get dividend datastock-splits- Get stock splits datafinancials- Get financial dataipos- Get IPO datarelated-companies- Get related companies
See Reference Data Commands Reference for full details.
Market
Standalone commands for market data:
market-status- Get market statusmarket-holidays- Get market holidays
See Market Commands Reference for full details.
News
Standalone command for news:
news- Get news articles
See News Commands Reference for full details.