ToolAssay

Get aggregate bars for a stock over a given date range in custom time window siz

Get aggregate bars for a stock over a given date range in custom time window sizes. For example, if timespan = ‘minute’ and multiplier = ‘5’ then 5-minute bars will be returned. Can't find what you're looking for? POST feedback to /feedback, no charge.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
632 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://agent.massive.com/v2/aggs/ticker/:stocksTicker/range/:multiplier/:timespan/:from/:to

CategoryMarket data
Provider hostagent.massive.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days19 from 7 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.01 632 ms
2026-11-25 valid payment request 402$0.01 664 ms
2026-11-24 valid payment request 402$0.01 665 ms
2026-11-23 valid payment request 402$0.01 632 ms
2026-11-22 valid payment request 402$0.01 626 ms
2026-11-21 valid payment request 402$0.01 599 ms
2026-11-20 valid payment request 402$0.01 606 ms
2026-11-19 valid payment request 402$0.01 600 ms
2026-11-18 valid payment request 402$0.01 660 ms
2026-11-17 valid payment request 402$0.01 647 ms
2026-11-16 valid payment request 402$0.01 635 ms
2026-11-15 valid payment request 402$0.01 595 ms
2026-11-14 valid payment request 402$0.01 635 ms
2026-11-13 valid payment request 402$0.01 664 ms
2026-11-12 valid payment request 402$0.01 664 ms
2026-11-11 valid payment request 402$0.01 628 ms
2026-11-10 valid payment request 402$0.01 660 ms
2026-11-09 valid payment request 402$0.01 627 ms
2026-11-08 valid payment request 402$0.01 597 ms
2026-11-07 valid payment request 402$0.01 657 ms
2026-11-06 valid payment request 402$0.01 665 ms
2026-11-05 valid payment request 402$0.01 624 ms
2026-11-04 valid payment request 402$0.01 627 ms
2026-11-03 valid payment request 402$0.01 618 ms
2026-11-02 valid payment request 402$0.01 607 ms
2026-11-01 valid payment request 402$0.01 617 ms
2026-10-31 valid payment request 402$0.01 590 ms
2026-10-29 valid payment request 402$0.01 616 ms

Example input (from the provider)

{
  "method": "GET",
  "pathParams": {
    "from": "2026-08-03",
    "multiplier": "1",
    "stocksTicker": "AAPL",
    "timespan": "day",
    "to": "2026-08-14"
  },
  "queryParams": {
    "adjusted": true,
    "limit": 120,
    "sort": "asc"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "pathParams": {
          "properties": {
            "from": {
              "description": "The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
              "type": "string"
            },
            "multiplier": {
              "description": "The size of the timespan multiplier.",
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "stocksTicker": {
              "description": "Specify a case-sensitive ticker symbol. For example, AAPL represents Apple Inc.",
              "type": "string"
            },
            "timespan": {
              "description": "The size of the time window.",
              "enum": [
                "minute",
                "hour",
                "day",
                "week",
                "month",
                "quarter",
                "year"
              ],
              "type": "string"
            },
            "to": {
              "description": "The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
              "type": "string"
            }
          },
          "required": [
            "from",
            "multiplier",
            "stocksTicker",
            "timespan",
            "to"
          ],
          "type": "object"
        },
        "queryParams": {
          "properties": {
            "adjusted": {
              "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.",
              "type": "boolean"
            },
            "limit": {
              "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 .",
              "type": "integer"
            },
            "sort": {
              "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).",
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON