Massive (formerly Polygon.io) · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Massive Com Indices:aggregates API

7 actions 7 updates phrasing extends openapi/massive-com-indices-aggregates-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Massive (formerly Polygon.io)'s API. It is a proposal applied on top of the contract, not a document Massive (formerly Polygon.io) publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/v1/indicators/ema/{indicesTicker}'].get
$.paths['/v1/indicators/macd/{indicesTicker}'].get
$.paths['/v1/indicators/rsi/{indicesTicker}'].get
$.paths['/v1/indicators/sma/{indicesTicker}'].get
$.paths['/v2/aggs/ticker/{indicesTicker}/prev'].get
$.paths['/v2/aggs/ticker/{indicesTicker}/range/{multiplier}/{timespan}/{from}/{to}'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Massive Com Indices:aggregates API
  version: 1.0.0
extends: openapi/massive-com-indices-aggregates-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/v1/indicators/ema/{indicesTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the exponential moving average of an index
      effect: read
      questions:
      - What's the exponential moving average of the S&P 500 index?
      - Can I get an EMA for a market index over a custom window?
      instructions:
      - text: Calculate the EMA for index {indicesTicker}.
        slots:
          indicesTicker: path.indicesTicker
      - text: Get the {window}-period exponential moving average of {indicesTicker}.
        slots:
          window: query.window
          indicesTicker: path.indicesTicker
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/indicators/macd/{indicesTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get MACD for an index
      effect: read
      questions:
      - Is MACD signaling a trend change on the Nasdaq-100 index?
      - Can I tune the long window for an index MACD?
      instructions:
      - text: Get MACD for index {indicesTicker}.
        slots:
          indicesTicker: path.indicesTicker
      - text: Compute MACD on {indicesTicker} with long window {long_window}.
        slots:
          indicesTicker: path.indicesTicker
          long_window: query.long_window
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/indicators/rsi/{indicesTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the relative strength index of an index
      effect: read
      questions:
      - Is the broad market index overbought on RSI?
      - What is the daily RSI of a stock market index?
      instructions:
      - text: Get the RSI for index {indicesTicker}.
        slots:
          indicesTicker: path.indicesTicker
      - text: Calculate a {window}-period RSI for {indicesTicker} on {timespan} bars.
        slots:
          window: query.window
          indicesTicker: path.indicesTicker
          timespan: query.timespan
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/indicators/sma/{indicesTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the simple moving average of an index
      effect: read
      questions:
      - Is an index trading above its 200-day simple moving average?
      - Can I get the simple moving average of a market index?
      instructions:
      - text: Calculate the simple moving average of index {indicesTicker}.
        slots:
          indicesTicker: path.indicesTicker
      - text: Get the {window}-period SMA for {indicesTicker}.
        slots:
          window: query.window
          indicesTicker: path.indicesTicker
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/aggs/ticker/{indicesTicker}/prev'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an index's previous-day OHLC
      effect: read
      questions:
      - Where did an index close on the prior trading day?
      - What were yesterday's open, high, low and close for a market index?
      instructions:
      - text: Get the previous close for index {indicesTicker}.
        slots:
          indicesTicker: path.indicesTicker
      - text: Show yesterday's OHLC for {indicesTicker}.
        slots:
          indicesTicker: path.indicesTicker
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/aggs/ticker/{indicesTicker}/range/{multiplier}/{timespan}/{from}/{to}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get index value bars over a date range
      effect: read
      questions:
      - Can I get hourly bars for an index across a date range?
      - What were the daily values of a market index last quarter?
      instructions:
      - text: Get {multiplier}-{timespan} bars for {indicesTicker} from {from} to {to}.
        slots:
          multiplier: path.multiplier
          timespan: path.timespan
          indicesTicker: path.indicesTicker
          to: path.to
          from: path.from
      - text: Pull index candles for {indicesTicker} between {from} and {to}.
        slots:
          indicesTicker: path.indicesTicker
          to: path.to
          from: path.from
      method: generated
      generated: '2026-09-26'