Tool detail
Massive
Returns OHLC aggregate bars for a stock ticker over a date range, bucketed into custom time windows (e.g. 5-minute bars).
Categories: Market prices
Use when
- get historical price bars for a stock over a date range
- build a custom-interval candlestick series for a ticker
- pull minute or daily OHLC data for backtesting
Not for
- not real-time streaming quotes
- not options, futures, or crypto data
Inputs
GET path (required): stocksTicker, multiplier, timespan, from, to; query (optional): adjusted (bool), limit (int, max 50000), sort (asc|desc).
Admitted input schema
{
"type": "object",
"properties": {
"adjusted": {
"type": "boolean",
"description": "Whether or not the results are adjusted for splits. By default, results are adjusted. Set this to false to get results that are NOT adjusted for splits."
},
"limit": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000. Read more about how limit is used to calculate aggregate results in our article on Aggregate Data API Improvements ."
},
"sort": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"enum": [
"asc",
"desc"
],
"description": "Sort the results by timestamp. `asc` will return results in ascending order (oldest at the top), `desc` will return results in descending order (newest at the top)."
}
},
"required": [],
"additionalProperties": false
}Endpoint
- Method
GET- URL
https://agent.massive.com/v2/aggs/ticker/{stocksTicker}/range/{multiplier}/{timespan}/{from}/{to}
Payment
- Protocol
- x402
- Listed price
- $0.01 USDC per call on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- GET https://agent.massive.com/v2/aggs/ticker/:stocksTicker/range/:multiplier/:timespan/:from/:to
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z