---
title: Retrieve holidays that will occur in the next year.
slug: fx-api/retrieve-holidays-that-will-occur-in-the-next-year
docTags: 
createdAt: 2025-05-30T02:39:22.452Z
---

{
  "id": "tM3eRIooNd7TWKRqtcaDP",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://sand-api.monoova.com/global/v1/holidays",
    "servers": [
      {
        "url": "https://sand-api.monoova.com/global/v1/holidays",
        "description": "Monoova Global server"
      }
    ],
    "name": "Retrieve holidays that will occur in the next year.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "currency_id",
          "type": "integer",
          "description": ""
        },
        {
          "kind": "optional",
          "name": "currency_code",
          "type": "object",
          "description": "<p>Either this or the currency_id is required.</p>",
          "customType": "CurrencyCode",
          "schema": [],
          "modelRef": "#/components/schemas/CurrencyCode"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "A list of holidays.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "holidays",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/Holiday",
                "customType": "Holiday[]",
                "schema": []
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "lMph0PDV0dASDE02B-ylK",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'https://sand-api.monoova.com/global/v1/holidays?currency_code=object' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "twPskYpZY0iKkEt74dpPe",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://sand-api.monoova.com/global/v1/holidays?currency_code=object\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "4Os3mnJFi06lR4TVTZ30L",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://sand-api.monoova.com/global/v1/holidays?currency_code=object\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "7n-w2Q2OmQZx1wEQrtHOQ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://sand-api.monoova.com/global/v1/holidays?currency_code=object\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "lMph0PDV0dASDE02B-ylK"
    },
    "results": {
      "languages": [
        {
          "id": "pjZr9ikOrO51H_K_l8dSW",
          "language": "200",
          "code": "// A list of holidays.\n{\n  \"holidays\": [\n    \"\"\n  ]\n}"
        }
      ],
      "selectedLanguageId": "pjZr9ikOrO51H_K_l8dSW"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}