Christmas in Hesse
25.12.2020 for country DE, state HE: a holiday.
Input
{
"date": "25.12.2020",
"country": "DE",
"state": "HE"
}Output · HTTP 200
{
"result": {
"date": "2020-12-25 00:00:00",
"start": "2020-12-24T23:00:00.000Z",
"end": "2020-12-25T23:00:00.000Z",
"name": "1. Weihnachtstag",
"type": "public",
"isHoliday": true
}
}Show curl command
curl -X POST 'https://api.1001fx.com/datetime/isholiday' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-H 'Content-Type: application/json' \
-d '{"date":"25.12.2020","country":"DE","state":"HE"}'