Massive (formerly Polygon.io) Markets API

Markets, exchanges, holidays, and status.

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v3/reference/markets List supported markets · List Markets #
Ask an LLM
“Which markets are supported for data?”
“What market types can I query?”
Tell an agent
List all supported markets.
Show me which markets are available.
GET /v3/reference/exchanges List exchanges by asset class · List Exchanges #
Ask an LLM
“Which exchanges are listed for stocks or options?”
“Can I filter exchanges by locale?”
Tell an agent
List exchanges for asset class {asset_class}.
Show exchanges in locale {locale}.
GET /v1/marketstatus/upcoming List upcoming US market holidays · List Upcoming Market Holidays #
Ask an LLM
“When is the next US stock market holiday?”
“Is the market closing early on an upcoming holiday?”
Tell an agent
List upcoming market holidays.
Show the holiday session schedule for US markets.
GET /v1/marketstatus/now Check whether US markets are open now · Get Current Market Status #
Ask an LLM
“Is the US stock market open right now?”
“Are we in pre-market or after-hours trading at the moment?”
Tell an agent
Check the current US market status.
Tell me if markets are open right now.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/massive-com:massive-com-markets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

massive-com-markets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Polygon Reference REST Markets API
  version: '1.0'
  description: 'Polygon Reference API exposes reference and corporate-actions data

    shared across asset classes via `https://api.polygon.io`. This spec

    covers tickers, ticker details, ticker types, markets, exchanges,

    market holidays, market status, conditions, splits, dividends, and

    ticker news. Auth uses an API key via `apiKey` query parameter or

    `Authorization: Bearer`.'
  contact:
    name: Polygon Documentation
    url: https://polygon.io/docs/stocks/get_v3_reference_tickers
servers:
- url: https://api.polygon.io
  description: Polygon REST API
security:
- apiKeyQuery: []
- bearerAuth: []
tags:
- name: Markets
  description: Markets, exchanges, holidays, and status.
paths:
  /v3/reference/markets:
    get:
      tags:
      - Markets
      operationId: listMarkets
      summary: List Markets
      responses:
        '200':
          description: Markets response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketsResponse'
  /v3/reference/exchanges:
    get:
      tags:
      - Markets
      operationId: listExchanges
      summary: List Exchanges
      parameters:
      - in: query
        name: asset_class
        schema:
          type: string
      - in: query
        name: locale
        schema:
          type: string
      responses:
        '200':
          description: Exchanges response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExchangesResponse'
  /v1/marketstatus/upcoming:
    get:
      tags:
      - Markets
      operationId: listUpcomingMarketHolidays
      summary: List Upcoming Market Holidays
      description: List upcoming US market holidays and the corresponding session schedule.
      responses:
        '200':
          description: Upcoming market holidays response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MarketHoliday'
  /v1/marketstatus/now:
    get:
      tags:
      - Markets
      operationId: getCurrentMarketStatus
      summary: Get Current Market Status
      description: Get the current trading status for US markets.
      responses:
        '200':
          description: Market status response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketStatusResponse'
components:
  schemas:
    Market:
      type: object
      properties:
        market:
          type: string
        desc:
          type: string
    ExchangesResponse:
      type: object
      properties:
        status:
          type: string
        request_id:
          type: string
        count:
          type: integer
        results:
          type: array
          items:
            $ref: '#/components/schemas/Exchange'
    MarketStatusResponse:
      type: object
      properties:
        market:
          type: string
        serverTime:
          type: string
          format: date-time
        exchanges:
          type: object
          additionalProperties:
            type: string
        currencies:
          type: object
          additionalProperties:
            type: string
        earlyHours:
          type: boolean
        afterHours:
          type: boolean
    MarketHoliday:
      type: object
      properties:
        exchange:
          type: string
        name:
          type: string
        date:
          type: string
          format: date
        status:
          type: string
        open:
          type: string
        close:
          type: string
    MarketsResponse:
      type: object
      properties:
        status:
          type: string
        results:
          type: array
          items:
            $ref: '#/components/schemas/Market'
    Exchange:
      type: object
      properties:
        id:
          type: integer
        type:
          type: string
        asset_class:
          type: string
        locale:
          type: string
        name:
          type: string
        acronym:
          type: string
        mic:
          type: string
        operating_mic:
          type: string
        participant_id:
          type: string
        url:
          type: string
          format: uri
  securitySchemes:
    apiKeyQuery:
      type: apiKey
      in: query
      name: apiKey
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key