Nager.Date

Get Next Public Holidays

The upcoming public holidays in a country.

Unverified

What the model is told

Get the next public holidays in a country, starting from today, with dates and names. Use it to tell a customer when the next closure or bank holiday is. Some holidays apply only to certain regions, shown in the counties field.

Request

GEThttps://date.nager.at/api/v3/NextPublicHolidays/{{countryCode}}

Headers

None.

Parameters

  • countryCode stringTwo-letter ISO country code, for example GB.

Try this tool

This runs in your browser and calls Nager.Date directly. Nothing goes through our servers.

Parameters
Two-letter ISO country code, for example GB.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "2ae72099-cdbf-4c5d-9574-fb6de1c31559",
    "type": "HTTP_REQUEST",
    "label": "Get Next Public Holidays",
    "name": "get_next_public_holidays",
    "customName": false,
    "description": "Get the next public holidays in a country, starting from today, with dates and names. Use it to tell a customer when the next closure or bank holiday is. Some holidays apply only to certain regions, shown in the counties field.",
    "parameters": [
      {
        "name": "countryCode",
        "type": "string",
        "description": "Two-letter ISO country code, for example GB."
      }
    ],
    "config": {
      "endpoint": {
        "method": "GET",
        "url": "https://date.nager.at/api/v3/NextPublicHolidays/{{countryCode}}"
      },
      "headers": [],
      "body": null,
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.