> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qfex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reference Market Holidays

> Return reference-market holiday dates from the calendar used by QFEX Slack alerts. Dates are local calendar dates, not UTC closure timestamps. These are not QFEX trading halts or instrument-specific session schedules; US futures may have shortened sessions on these dates. Weekends and early closes are not separately listed. Check incomplete_markets before interpreting an empty result. No authentication is required. See /refdata for symbol market_hours and /calendar for earnings and economic events.



## OpenAPI

````yaml https://api.qfex.com/contracts/2026-10-29/openapi.yaml get /market-holidays
openapi: 3.1.0
info:
  contact:
    email: support@qfex.com
    name: QFEX Support
  description: REST API for QFEX
  license:
    name: QFEX License
    url: https://qfex.com/license
  title: QFEX REST API
  version: '2026-10-29'
servers:
  - description: Production server
    url: https://api.qfex.com
security: []
paths:
  /market-holidays:
    get:
      tags:
        - market-data
      summary: Reference Market Holidays
      description: >-
        Return reference-market holiday dates from the calendar used by QFEX
        Slack alerts. Dates are local calendar dates, not UTC closure
        timestamps. These are not QFEX trading halts or instrument-specific
        session schedules; US futures may have shortened sessions on these
        dates. Weekends and early closes are not separately listed. Check
        incomplete_markets before interpreting an empty result. No
        authentication is required. See /refdata for symbol market_hours and
        /calendar for earnings and economic events.
      operationId: read-market-holidays
      parameters:
        - description: First holiday date, inclusive (YYYY-MM-DD).
          explode: false
          in: query
          name: from
          required: true
          schema:
            description: First holiday date, inclusive (YYYY-MM-DD).
            format: date
            type: string
        - description: Last holiday date, inclusive. Maximum 366 days per request.
          explode: false
          in: query
          name: to
          required: true
          schema:
            description: Last holiday date, inclusive. Maximum 366 days per request.
            format: date
            type: string
        - description: Optional reference market. Omit to return all markets.
          explode: false
          in: query
          name: market
          schema:
            description: Optional reference market. Omit to return all markets.
            enum:
              - us_equities
              - us_futures
              - kr_equities
              - se_equities
              - jp_equities
              - cn_equities
            type: string
        - description: >-
            Published API contract date. Omit or use latest for the latest
            contract; explicit dates stay pinned. Applies to request validation
            and response format.
          in: query
          name: api_version
          schema:
            examples:
              - '2026-10-29'
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketHolidaysData'
          description: OK
          headers:
            Cache-Control:
              schema:
                type: string
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security: []
components:
  schemas:
    MarketHolidaysData:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - >-
              https://api.qfex.com/contracts/2026-10-29/schemas/MarketHolidaysData.json
          format: uri
          readOnly: true
          type: string
        coverage:
          description: >-
            Available snapshot windows for selected markets, independent of the
            requested dates.
          items:
            $ref: '#/components/schemas/MarketHolidayCoverage'
          type:
            - array
            - 'null'
        holidays:
          items:
            $ref: '#/components/schemas/MarketHoliday'
          type:
            - array
            - 'null'
        incomplete_markets:
          description: >-
            Markets without calendar coverage for every requested date. Missing
            dates do not imply that a market is open.
          items:
            type: string
          type:
            - array
            - 'null'
        source_sha256:
          description: >-
            SHA-256 of the Entimos Slack holiday calendar source used to
            generate this snapshot.
          type: string
      required:
        - holidays
        - coverage
        - incomplete_markets
        - source_sha256
      type: object
    ErrorModel:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://api.qfex.com/contracts/2026-10-29/schemas/ErrorModel.json
          format: uri
          readOnly: true
          type: string
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    MarketHolidayCoverage:
      additionalProperties: false
      properties:
        from:
          format: date
          type: string
        market:
          type: string
        market_name:
          type: string
        to:
          format: date
          type: string
      required:
        - market
        - market_name
        - from
        - to
      type: object
    MarketHoliday:
      additionalProperties: false
      properties:
        date:
          format: date
          type: string
        market:
          type: string
        name:
          type: string
      required:
        - market
        - date
        - name
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.