# Hari Libur Nasional API

> Hari Libur Nasional API on Apizie: 2 endpoints (Daftar Hari Libur, Cek Tanggal) returned as clean JSON through one API key. 2 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/indonesia:hari-libur/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `indonesia:hari-libur`
- Category: Indonesia
- Status: live
- Source: https://date.nager.at
- Page: https://zieapi.vercel.app/api/indonesia/hari-libur
- OpenAPI: https://zieapi.vercel.app/api/indonesia/hari-libur/openapi.json

Hari libur nasional Indonesia per tahun dan cek apakah suatu tanggal libur, dari Nager.Date. Cuti bersama belum tentu tercakup.

## Endpoints

### Daftar Hari Libur
`GET https://zieapi.vercel.app/v1/indonesia:hari-libur/list`

| Parameter | Type | Required | Description |
|---|---|---|---|
| year | integer | no | Tahun (default: tahun ini) |

### Cek Tanggal
`GET https://zieapi.vercel.app/v1/indonesia:hari-libur/cek`

| Parameter | Type | Required | Description |
|---|---|---|---|
| date | string | no | Tanggal YYYY-MM-DD (default: hari ini WIB) |

## Example
```
curl "https://zieapi.vercel.app/v1/indonesia:hari-libur/list" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Hari Libur Nasional API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/indonesia:hari-libur/list with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Hari Libur Nasional API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the Hari Libur Nasional API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key indonesia:hari-libur.

### What is the status of the Hari Libur Nasional API?
Live: works with just an Apizie key
