ToolAssay

Get the simple moving average (SMA) for a ticker symbol over a given time range

Get the simple moving average (SMA) for a ticker symbol over a given time range. 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
630 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/v1/indicators/sma/:stockTicker

CategoryEverything else
Provider hostagent.massive.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.01 589 ms
2026-11-25 valid payment request 402$0.01 665 ms
2026-11-24 valid payment request 402$0.01 632 ms
2026-11-23 valid payment request 402$0.01 630 ms
2026-11-22 valid payment request 402$0.01 616 ms
2026-11-21 valid payment request 402$0.01 592 ms
2026-11-20 valid payment request 402$0.01 635 ms
2026-11-19 valid payment request 402$0.01 597 ms
2026-11-18 valid payment request 402$0.01 599 ms
2026-11-17 valid payment request 402$0.01 619 ms
2026-11-16 valid payment request 402$0.01 667 ms
2026-11-15 valid payment request 402$0.01 601 ms
2026-11-14 valid payment request 402$0.01 623 ms
2026-11-13 valid payment request 402$0.01 632 ms
2026-11-12 valid payment request 402$0.01 620 ms
2026-11-11 valid payment request 402$0.01 663 ms
2026-11-10 valid payment request 402$0.01 666 ms
2026-11-09 valid payment request 402$0.01 591 ms
2026-11-08 valid payment request 402$0.01 593 ms
2026-11-07 valid payment request 402$0.01 656 ms

Example input (from the provider)

{
  "method": "GET",
  "pathParams": {
    "stockTicker": "AAPL"
  },
  "queryParams": {
    "adjusted": true,
    "expand_underlying": false,
    "limit": 10,
    "order": "desc",
    "series_type": "close",
    "timespan": "day",
    "window": 50
  },
  "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": {
            "stockTicker": {
              "description": "Specify a case-sensitive ticker symbol for which to get simple moving average (SMA) data. For example, AAPL represents Apple Inc.",
              "type": "string"
            }
          },
          "required": [
            "stockTicker"
          ],
          "type": "object"
        },
        "queryParams": {
          "properties": {
            "adjusted": {
              "default": true,
              "description": "Whether or not the aggregates used to calculate the simple moving average are adjusted for splits. By default, aggregates are adjusted. Set this to false to get results that are NOT adjusted for splits.",
              "type": "boolean"
            },
            "expand_underlying": {
              "default": false,
              "description": "Whether or not to include the aggregates used to calculate this indicator in the response.",
              "type": "boolean"
            },
            "limit": {
              "default": 10,
              "description": "Limit the number of results returned, default is 10 and max is 5000",
              "maximum": 5000,
              "type": "integer"
            },
            "order": {
              "default": "desc",
              "description": "The order in which to return the results, ordered by timestamp.",
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            },
            "series_type": {
              "default": "close",
              "description": "The price in the aggregate which will be used to calculate the simple moving average. i.e. 'close' will result in using close prices to calculate the simple moving average (SMA).",
              "enum": [
                "open",
                "high",
                "low",
                "close"
              ],
              "type": "string"
            },
            "timespan": {
              "default": "day",
              "description": "The size of the aggregate time window.",
              "enum": [
                "minute",
                "hour",
                "day",
                "week",
                "month",
                "quarter",
                "year"
              ],
              "type": "string"
            },
            "timestamp": {
              "description": "Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.",
              "type": "string"
            },
            "timestamp.gt": {
              "description": "Range by timestamp.",
              "type": "string"
            },
            "timestamp.gte": {
              "description": "Range by timestamp.",
              "type": "string"
            },
            "timestamp.lt": {
              "description": "Range by timestamp.",
              "type": "string"
            },
            "timestamp.lte": {
              "description": "Range by timestamp.",
              "type": "string"
            },
            "window": {
              "default": 50,
              "description": "The window size used to calculate the simple moving average (SMA). i.e. a window size of 10 with daily aggregates would result in a 10 day moving average.",
              "type": "integer"
            }
          },
          "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