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