Dive into Massive's RESTful APIs for seamless data access. This category covers API endpoints, usage, best practices, and tips for efficiently retrieving financial data through RESTful services.
Knowledge Base/REST
Knowledge Base
REST
- Title
- How do I get intraday bars for a futures contract?
- Aggregates Category
Aggregates
- REST Category
REST
- Description
- Look up the contract that was trading on the date you want with the futures contracts endpoint, then ask the futures aggregates endpoint for that contract ticker at the resolution you need, such as 1min.
- Title
- What is the difference between RESTful APIs and WebSockets?
- FAQ Category
FAQ
- REST Category
REST
- WebSockets Category
WebSockets
- Description
- A REST call asks Massive one question and gets one answer, so it suits history and snapshots. A WebSocket holds one connection open and pushes every new event as it happens, so it suits live data. Both cover the same asset classes and use the same API key.
- Title
- What is the function of the limit parameter in Massive's aggregate endpoint?
- Aggregates Category
Aggregates
- REST Category
REST
- Description
- It caps how many base units the endpoint scans, not how many bars it returns. On any minute-based request the base unit is one minute, so a 1-hour request with limit 50 scans 50 minutes and returns one bar. The maximum is 50,000.
- Title
- What is the max number of tickers I can pass through Massive's snapshot?
- REST Category
REST
- Description
- Two hundred and fifty. A request with 250 tickers in ticker.any_of succeeds and 251 returns HTTP 400, so split a larger universe into batches of 250 or fewer.
- Title
- What is the request limit for Massive's RESTful APIs?
- REST Category
REST
- Description
- Five requests a minute per asset class you have not subscribed to, and no limit on the ones you have. The limit is counted per asset class rather than per account, so a paid Options plan does not lift the limit on your stock requests.
- Title
- Why am I not authorized (NOT_AUTHORIZED) when calling Massive's REST API or WebSockets?
- Account Category
Account
- FAQ Category
FAQ
- REST Category
REST
- WebSockets Category
WebSockets
- Description
- Your API key is valid, but the request asks for something your plan does not cover, or, for flat files, the exchange agreements may be unsigned. The message narrows it down: not entitled, a data timeframe your tier does not reach, or forbidden.

