---
agentTools:
  projectIndex: https://itick-cn.readme.io/llms.txt
---

# 市场假期

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "REST API",
    "description": "股票API 外汇API\n指数API。支持主流市场股票（美国、香港、中国、新加坡、日本等）、全球外汇、指数以及加密货币的实时、历史数据。标准易用接口风格，简明的文档以及丰富的各类示例，帮助开发者快速接入。提供长期免费股票API、免费外汇API、免费指数API、免费加密货币API的实时报价数据以及历史K线等金融数据。",
    "version": "1.0.0"
  },
  "tags": [
    {
      "name": "Base"
    }
  ],
  "paths": {
    "/symbol/holidays": {
      "get": {
        "summary": "市场假期",
        "deprecated": false,
        "description": "",
        "tags": [
          "Base"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "description": "响应码,0:成功"
                    },
                    "msg": {
                      "type": "string",
                      "description": "异常信息,不为0时存在"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "c": {
                            "type": "string",
                            "description": "市场代码"
                          },
                          "r": {
                            "type": "string",
                            "description": "市场国家名称"
                          },
                          "tz": {
                            "type": "integer",
                            "description": "市场时区"
                          },
                          "et": {
                            "type": "string",
                            "description": "日内交易时间"
                          },
                          "v": {
                            "type": "string",
                            "description": "年内假期日期"
                          },
                          "ey": {
                            "type": "string",
                            "description": "年份"
                          }
                        }
                      },
                      "description": "响应数据"
                    }
                  },
                  "required": [
                    "code",
                    "data"
                  ]
                },
                "examples": {
                  "1": {
                    "summary": "成功示例",
                    "value": {
                      "code": 200,
                      "status": "ok",
                      "data": [
                        {
                          "c": "AU",
                          "r": "Australia",
                          "v": "[\"2025-01-01\", \"2025-01-27\", \"2025-04-18\", \"2025-04-21\", \"2025-04-25\", \"2025-06-09\", \"2025-12-25\", \"2025-12-26\"]",
                          "et": "09:30 - 16:00",
                          "ey": "2025",
                          "vr": null,
                          "tz": 10
                        }
                      ]
                    }
                  }
                }
              }
            },
            "headers": {}
          }
        },
        "security": [
          {
            "apikey-header-token": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apikey-header-token": {
        "type": "apiKey",
        "in": "header",
        "name": "token"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.itick.org",
      "description": "正式环境"
    }
  ],
  "security": [
    {
      "apikey-header-token": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 103,
      "1": 57,
      "2": 232,
      "3": 234,
      "4": 16,
      "5": 204,
      "6": 75,
      "7": 45,
      "8": 215,
      "9": 219,
      "10": 183,
      "11": 145
    }
  }
}
```