Massive (formerly Polygon.io) · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Massive Com Crypto:aggregates API

8 actions 8 updates phrasing extends openapi/massive-com-crypto-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 8

$.info
$.paths['/v1/indicators/ema/{cryptoTicker}'].get
$.paths['/v1/indicators/macd/{cryptoTicker}'].get
$.paths['/v1/indicators/rsi/{cryptoTicker}'].get
$.paths['/v1/indicators/sma/{cryptoTicker}'].get
$.paths['/v2/aggs/grouped/locale/global/market/crypto/{date}'].get
$.paths['/v2/aggs/ticker/{cryptoTicker}/prev'].get
$.paths['/v2/aggs/ticker/{cryptoTicker}/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 Crypto:aggregates API
  version: 1.0.0
extends: openapi/massive-com-crypto-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: 7
- target: $.paths['/v1/indicators/ema/{cryptoTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the exponential moving average of a crypto pair
      effect: read
      questions:
      - What is the exponential moving average of Bitcoin over the last few weeks?
      - Can I compute an EMA on a crypto pair with a custom window length?
      instructions:
      - text: Calculate the exponential moving average for {cryptoTicker}.
        slots:
          cryptoTicker: path.cryptoTicker
      - text: Get the {window}-period EMA for {cryptoTicker} on {timespan} bars.
        slots:
          window: query.window
          timespan: query.timespan
          cryptoTicker: path.cryptoTicker
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/indicators/macd/{cryptoTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get MACD for a crypto pair
      effect: read
      questions:
      - Is MACD showing a bullish crossover on Ethereum?
      - Can I set custom short, long and signal windows for a crypto MACD?
      instructions:
      - text: Get MACD and its signal line for {cryptoTicker}.
        slots:
          cryptoTicker: path.cryptoTicker
      - text: Compute MACD for {cryptoTicker} with short window {short_window} and long window {long_window}.
        slots:
          short_window: query.short_window
          long_window: query.long_window
          cryptoTicker: path.cryptoTicker
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/indicators/rsi/{cryptoTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the relative strength index of a crypto pair
      effect: read
      questions:
      - Is a cryptocurrency overbought or oversold according to RSI?
      - What's the 14-period RSI reading for a crypto pair right now?
      instructions:
      - text: Get the relative strength index for {cryptoTicker}.
        slots:
          cryptoTicker: path.cryptoTicker
      - text: Calculate a {window}-period RSI for {cryptoTicker}.
        slots:
          window: query.window
          cryptoTicker: path.cryptoTicker
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/indicators/sma/{cryptoTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the simple moving average of a crypto pair
      effect: read
      questions:
      - What's the 50-day simple moving average of a crypto pair?
      - Can I get an unweighted moving average for a cryptocurrency?
      instructions:
      - text: Calculate the simple moving average for {cryptoTicker}.
        slots:
          cryptoTicker: path.cryptoTicker
      - text: Get the {window}-period SMA for {cryptoTicker} using {timespan} bars.
        slots:
          window: query.window
          timespan: query.timespan
          cryptoTicker: path.cryptoTicker
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/aggs/grouped/locale/global/market/crypto/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get daily OHLC for every crypto pair
      effect: read
      questions:
      - Can I get the open, high, low and close for the whole crypto market on one day?
      - What did every cryptocurrency pair do on a given date?
      instructions:
      - text: Get grouped daily bars for all crypto pairs on {date}.
        slots:
          date: path.date
      - text: Show the entire crypto market's OHLC for {date}.
        slots:
          date: path.date
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/aggs/ticker/{cryptoTicker}/prev'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a crypto pair's previous-day OHLC
      effect: read
      questions:
      - What was yesterday's open, high, low and close for a crypto pair?
      - Where did a cryptocurrency close on the prior day?
      instructions:
      - text: Get the previous day's close for {cryptoTicker}.
        slots:
          cryptoTicker: path.cryptoTicker
      - text: Show yesterday's OHLC bar for {cryptoTicker}.
        slots:
          cryptoTicker: path.cryptoTicker
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/aggs/ticker/{cryptoTicker}/range/{multiplier}/{timespan}/{from}/{to}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get crypto price bars over a date range
      effect: read
      questions:
      - Can I get 5-minute candles for a crypto pair across a date range?
      - What were the hourly OHLC bars for a cryptocurrency last week?
      instructions:
      - text: Get {multiplier}-{timespan} bars for {cryptoTicker} from {from} to {to}.
        slots:
          multiplier: path.multiplier
          timespan: path.timespan
          cryptoTicker: path.cryptoTicker
          from: path.from
          to: path.to
      - text: Pull daily candles for {cryptoTicker} between {from} and {to}, limited to {limit} bars.
        slots:
          cryptoTicker: path.cryptoTicker
          from: path.from
          to: path.to
          limit: query.limit
      method: generated
      generated: '2026-09-26'