Massive (formerly Polygon.io) · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Massive Com Stocks:trades API

3 actions 3 updates phrasing extends openapi/massive-com-stocks-trades-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 3

$.info
$.paths['/v2/ticks/stocks/trades/{ticker}/{date}'].get
$.paths['/v3/trades/{stockTicker}'].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 Stocks:trades API
  version: 1.0.0
extends: openapi/massive-com-stocks-trades-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: 2
- target: $.paths['/v2/ticks/stocks/trades/{ticker}/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a stock's trades for one day (legacy v2)
      effect: read
      questions:
      - Can I pull all trades for a stock on one date from the older v2 ticks endpoint?
      - Is there a legacy stock trades call that can return results in reverse order?
      instructions:
      - text: Get legacy v2 trades for {ticker} on {date}.
        slots:
          ticker: path.ticker
          date: path.date
      - text: Page legacy trades for {ticker} on {date} after timestamp {timestamp}.
        slots:
          ticker: path.ticker
          date: path.date
          timestamp: query.timestamp
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v3/trades/{stockTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a stock's trades over a time range
      effect: read
      questions:
      - What trades printed in a stock between two timestamps?
      - Can I get tick-level stock trades newest first?
      instructions:
      - text: Get trades for {stockTicker}.
        slots:
          stockTicker: path.stockTicker
      - text: List {stockTicker} trades since {timestamp_gte}.
        slots:
          stockTicker: path.stockTicker
          timestamp_gte: query.timestamp.gte
      method: generated
      generated: '2026-09-26'