Api Endpoint

Massive

Get moving average convergence/divergence (MACD) data for a ticker symbol over a given time range. Can't find what you're looking for? POST feedback to /feedback, no charge.

Open interactive test console

Offering

Provider
agent.massive.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent.massive.com/v1/indicators/macd/:stockTicker
MIME type
application/json
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
indicator, macd, technical-analysis, stocks

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x525f6dDcE9aF7a7179D7696aaBfCd5FCd15a21e6"
  }
]

Observed health

Status
Healthy
Latest latency
15 ms
Average latency
17 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "method": {
      "enum": [
        "GET"
      ],
      "type": "string"
    },
    "pathParams": {
      "properties": {
        "stockTicker": {
          "description": "Specify a case-sensitive ticker symbol for which to get moving average convergence/divergence (MACD) 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 MACD 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"
        },
        "long_window": {
          "default": 26,
          "description": "The long window size used to calculate MACD data.",
          "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 MACD. i.e. 'close' will result in using close prices to calculate the MACD.",
          "enum": [
            "open",
            "high",
            "low",
            "close"
          ],
          "type": "string"
        },
        "short_window": {
          "default": 12,
          "description": "The short window size used to calculate MACD data.",
          "type": "integer"
        },
        "signal_window": {
          "default": 9,
          "description": "The window size used to calculate the MACD signal line.",
          "type": "integer"
        },
        "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"
        }
      },
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "$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 moving average convergence/divergence (MACD) 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 MACD 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"
            },
            "long_window": {
              "default": 26,
              "description": "The long window size used to calculate MACD data.",
              "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 MACD. i.e. 'close' will result in using close prices to calculate the MACD.",
              "enum": [
                "open",
                "high",
                "low",
                "close"
              ],
              "type": "string"
            },
            "short_window": {
              "default": 12,
              "description": "The short window size used to calculate MACD data.",
              "type": "integer"
            },
            "signal_window": {
              "default": 9,
              "description": "The window size used to calculate the MACD signal line.",
              "type": "integer"
            },
            "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"
            }
          },
          "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"
}