1년 계획
특정 국가와 연도에 대해 공개된 공휴일 캘린더를 조회합니다.
방법론 읽기 →REST 또는 MCP를 통해 국가와 연도별 공휴일을 가져옵니다. 날짜를 확인하거나 국가 및 지역 범위에서 다음 공휴일을 찾을 수 있습니다.
curl --request GET \
--url "https://api.narwhalapi.com/v1/calendars/holidays/IDN/next?from_date=2026-08-01" \
--header "Authorization: Bearer $NARWHAL_API_KEY"{
"country": "IDN",
"from_date": "2026-08-01",
"coverage": [
{
"scope": "national_public",
"nationwide": true,
"subdivision_codes": []
},
{
"scope": "collective_leave",
"nationwide": true,
"subdivision_codes": []
}
],
"holiday": {
"date": "2026-08-17",
"name": "Independence Day",
"local_name": "Hari Kemerdekaan",
"subdivision_codes": [],
"nationwide": true,
"observed": null,
"scope": "national_public"
}
}Narwhal API로 팀에서 선택한 국가와 날짜 범위에 맞는 구독용 ICS 피드를 만드세요. 제공되는 공휴일, 경제 지표 발표 일정 또는 둘 모두를 포함할 수 있습니다. Google Calendar, Apple Calendar, Outlook 등 캘린더 클라이언트에서 사용할 수 있습니다.
curl --request POST \
--url "https://api.narwhalapi.com/v1/calendars/subscriptions" \
--header "Authorization: Bearer $NARWHAL_API_KEY" \
--header "Content-Type: application/json" \
--data '{"countries":["USA"],"start_date":"2026-09-01","end_date":"2026-12-31","include_releases":true,"include_holidays":true}'{
"subscription_id": "example-subscription",
"url": "https://api.narwhalapi.com/v1/calendars/subscriptions/EXAMPLE_TOKEN.ics",
"expires_at": "2026-12-31T23:59:59Z",
"refresh_note": "calendar clients control refresh latency"
}/v1/calendars/holidays/{country}/{year}/v1/calendars/holidays/{country}/on/{date}/v1/calendars/holidays/{country}/next특정 국가와 연도에 대해 공개된 공휴일 캘린더를 조회합니다.
방법론 읽기 →국가 및 지역 범위를 유지하면서 선택한 날짜의 공휴일을 찾아보세요.
연간 전체 목록을 검색하는 대신 선택한 날짜를 기준으로 다음 공휴일을 요청하세요.
공개된 국가·연도별 데이터 범위는 레퍼런스를 확인하세요. 전국 행사와 지역 행사는 구분되어 유지됩니다. 공휴일이라고 해서 은행의 휴무, 거래소의 휴장 또는 결제 업무의 중단을 뜻하는 것은 아닙니다.
공개된 데이터 범위에 지역 행사가 포함된 경우, 응답에는 해당 행정구역 정보가 유지됩니다.
요청한 국가·연도의 캘린더 데이터가 제공되지 않으면 오류를 반환합니다. 해당 국가에 공휴일이 없다는 뜻은 아닙니다.
아니요. 공휴일, 은행 휴일, 거래소 휴장은 서로 다른 캘린더을 따를 수 있습니다. 필요한 국가와 연도의 게시된 범위를 사용하세요.