# Australian & NZ Public Holidays + Business Days Calculator (`geeky_goth_gamer/au-nz-public-holidays-business-days`) Actor

Public holidays for every Australian state, Tasmanian regional areas and New Zealand regions, plus a business-day calculator: is a date a business day, add N business days (due dates), count working days between dates. From $0.001 per date.

- **URL**: https://apify.com/geeky_goth_gamer/au-nz-public-holidays-business-days.md
- **Developed by:** [Chris Day](https://apify.com/geeky_goth_gamer) (community)
- **Categories:** Developer tools, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 holiday calendars

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Australia & NZ Public Holidays & Business Days (incl. Tasmanian regional)

Public holidays and business-day maths for **every Australian state and territory**, **every Tasmanian municipality** and **every New Zealand region**. Regional days are included: Royal Hobart Regatta or Recreation Day, the Launceston/Hobart/Burnie/Devonport show days, Agfest, King Island and Flinders Island shows, and NZ anniversary days.

### When an AI agent should use this

Use `geeky_goth_gamer/au-nz-public-holidays-business-days` when:

- You need the public holidays for an Australian state or territory, a Tasmanian municipality, or a New Zealand region.
- You need a due date N business days from a date (invoices, legal or payroll deadlines, delivery estimates) in AU or NZ.
- You need to know if a date is a business day, or count business days between two dates.

Don't use it for:

- Countries other than Australia and New Zealand.
- Trading hours of a specific shop.

**Example input:**

```json
{
  "mode": "addBusinessDays",
  "country": "AU",
  "region": "NSW",
  "dates": [
    "2026-12-24"
  ],
  "days": 5
}
```

**Output:** List mode: one item per holiday (`date`, `name`, `kind`, `countsAsDayOff`). Date modes: one item per date or range (`isBusinessDay` for check, `resultDate` and `holidaysSkipped` for add, `businessDays` for count).

**Cost:** $0.004 per location-year of holidays (list mode); $0.001 per date calculation.

**Call it from an agent:**

- Apify MCP server: add `https://mcp.apify.com/?tools=geeky_goth_gamer/au-nz-public-holidays-business-days` to your MCP client; the tool is `geeky_goth_gamer--au-nz-public-holidays-business-days`. Or use `call-actor` with `"actor": "geeky_goth_gamer/au-nz-public-holidays-business-days"`.
- Python: `ApifyClient(token).actor("geeky_goth_gamer/au-nz-public-holidays-business-days").call(run_input=...)`, then read `client.dataset(run["defaultDatasetId"]).list_items().items`.
- HTTP: `POST https://api.apify.com/v2/acts/geeky_goth_gamer~au-nz-public-holidays-business-days/run-sync-get-dataset-items?token=YOUR_TOKEN` with the input JSON as the body.

### Four modes

| Mode | Input | Output per row |
|---|---|---|
| `list` | `years` (up to 10) | Every holiday, with its kind, the area it applies to, and whether it counts as a day off |
| `check` | `dates` (up to 10,000) | `isBusinessDay`, `isHoliday`, `isWeekend` and the holidays on that date |
| `addBusinessDays` | `dates` + `days` (or per date) | `resultDate`, calendar days, and the holidays skipped. Negative `days` goes back in time |
| `countBusinessDays` | `ranges` of `{start, end}` | `businessDays` (start excluded and end included by default; both configurable) |

**Where:** `country` (AU or NZ), `region` (state such as `TAS`, or NZ region such as `WGN`), and for Tasmania `tasArea` (municipality). An optional `suburb` adds Launceston Cup detail. For Queensland, `qldBrisbane` covers the Ekka.

**Options:**

- `includeGovernmentHolidays`: Tasmanian State Service days (Easter Tuesday, Launceston Cup, Devonport Cup).
- `includeBankHolidays`: for example the NSW Bank Holiday.
- `weekendDays`: default Saturday and Sunday.
- `customClosures`: your own shutdown days.

### Example

```json
{"mode": "addBusinessDays", "tasArea": "hobart", "days": 5, "dates": ["2026-12-21", {"id": "inv-7", "date": "2026-02-06", "days": 1}]}
```

The first date returns `2026-12-30`, skipping Christmas Day and the Boxing Day substitute. The second returns `2026-02-10`, skipping the Royal Hobart Regatta.

### Why Tasmania is special

Tasmania's Statutory Holidays Act 2000 gives different parts of the State different holidays:

- The south gets the Royal Hobart Regatta in February.
- The rest of the State gets Recreation Day in November instead.
- Each region has its own show day.
- Some days are "State Service only".

Three municipalities are split by the Act's boundaries, so they appear as separate choices:

- Central Highlands
- Southern Midlands
- Glamorgan-Spring Bay

Two smaller places are also separate choices:

- Strathgordon (in Derwent Valley)
- The Bronte Park / Tarraleah / Wayatinah / Catagunya hydro towns (in Central Highlands)

All 11 regional rules are checked against WorkSafe Tasmania's official tables for 2026–2028 and tested for every year from 2011 to 2060.

### Holiday kinds

- `national`, `state`, `regional`: these are days off.
- `government`: Tasmanian State Service only. Not a day off unless `includeGovernmentHolidays` is on.
- `bank`: not a day off unless `includeBankHolidays` is on.
- `part-day`: for example SA/QLD Christmas Eve from 6 or 7 pm, or Devonport Cup from 11 am. Always still a business day.

### Pricing (pay per event)

- **Holiday calendar:** one location-year in `list` mode.
- **Date calculation:** one checked date, one addition, or one counted range.
- Invalid rows are free, and your maximum cost per run is respected.

### Coverage and honest limits

- **Sources:**
  - The open-source [`holidays`](https://github.com/vacanza/holidays) library (v0.109) covers national, state and NZ regional days.
  - The Tasmanian Statutory Holidays Act 2000, Schedules 1 and 2, covers Tasmanian regional and government-only days.
  - Tasmanian Easter Sunday is a holiday from 2027 (Act No. 18 of 2026).
- **Queensland:** only the Brisbane Ekka holiday is included, and only with `qldBrisbane`. Other QLD show holidays are not included.
- **NT:** regional show days are not included.
- **VIC:** the Melbourne Cup is treated as statewide (some councils substitute another day). The AFL Grand Final eve holiday is set each year by the government.
- **Future years:** dates more than two years ahead follow today's rules, and the run warns about this. Governments can add or move holidays at short notice (for example one-off days of mourning).
- Supported years: 2011–2060.
- This is not legal advice. Your award or agreement decides whether a holiday applies to your workplace.

# Actor input Schema

## `mode` (type: `string`):

What to do: "list" = all holidays for the given years (needs years); "check" = is each date a business day or holiday (needs dates); "addBusinessDays" = date + N business days, e.g. a due date (needs dates and days); "countBusinessDays" = business days between start and end (needs ranges).

## `country` (type: `string`):

"AU" (Australia, default) or "NZ" (New Zealand).

## `region` (type: `string`):

Australian state or territory (ACT, NSW, NT, QLD, SA, TAS, VIC, WA) or New Zealand region code (AUK = Auckland, BOP = Bay of Plenty, CAN = Canterbury, STC = South Canterbury, CIT = Chatham Islands, GIS = Gisborne, HKB = Hawke's Bay, MBH = Marlborough, MWT = Manawatū-Whanganui, NSN = Nelson, NTL = Northland, OTA = Otago, STL = Southland, TAS = Tasman, TKI = Taranaki, WGN = Wellington, WKO = Waikato, WTC = West Coast). Leave empty for nationwide holidays only.

## `tasArea` (type: `string`):

Tasmania only. Adds the regional holidays for this municipality (Royal Hobart Regatta or Recreation Day, show days, Agfest...). Municipalities split by the Act's boundaries are listed as separate choices.

## `suburb` (type: `string`):

Optional. In Tasmania, decides whether the State-Service-only Launceston Cup holiday is all day or from 11 am.

## `qldBrisbane` (type: `boolean`):

Queensland only. Include the Royal Queensland Show (Ekka) holiday, which applies to the Brisbane City Council area.

## `years` (type: `array`):

Used by mode "list". Years to list, e.g. \[2026, 2027]. Up to 10 years from 2011 to 2060. Defaults to the current year.

## `dates` (type: `array`):

Used by modes "check" and "addBusinessDays". Up to 10,000 dates as "YYYY-MM-DD", e.g. \["2026-12-24"], or objects {"id": "...", "date": "YYYY-MM-DD", "days": 5} to set a different number of days per date.

## `days` (type: `integer`):

Business days to add to each date. Use a negative number to go back in time. 0 returns the date itself if it is a business day, otherwise the next one.

## `ranges` (type: `array`):

Used by mode "countBusinessDays". Up to 10,000 objects like {"id": "invoice-7", "start": "2026-12-01", "end": "2027-01-31"}.

## `includeStartDate` (type: `boolean`):

countBusinessDays only: include the start date in the count (default false).

## `includeEndDate` (type: `boolean`):

countBusinessDays only: include the end date in the count (default true).

## `includeGovernmentHolidays` (type: `boolean`):

Tasmania: Easter Tuesday, Launceston Cup and Devonport Cup apply generally to the State Service only. Turn on if you follow the government calendar.

## `includeBankHolidays` (type: `boolean`):

Include bank-only holidays, for example the NSW Bank Holiday (first Monday in August). Off by default.

## `weekendDays` (type: `array`):

Days that are never business days, as \["SAT", "SUN"] (default). Use e.g. \["FRI", "SAT"] for a different working week.

## `customClosures` (type: `array`):

Optional. Up to 1,000 extra non-working dates (YYYY-MM-DD), such as a Christmas shutdown.

## Actor input object example

```json
{
  "mode": "list",
  "country": "AU",
  "region": "TAS",
  "qldBrisbane": false,
  "years": [
    2026,
    2027
  ],
  "dates": [
    "2026-12-24",
    "2026-10-22"
  ],
  "days": 5,
  "ranges": [
    {
      "start": "2026-12-01",
      "end": "2027-01-31"
    }
  ],
  "includeStartDate": false,
  "includeEndDate": true,
  "includeGovernmentHolidays": false,
  "includeBankHolidays": false,
  "weekendDays": [
    "SAT",
    "SUN"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "region": "TAS",
    "years": [
        2026,
        2027
    ],
    "dates": [
        "2026-12-24",
        "2026-10-22"
    ],
    "days": 5,
    "ranges": [
        {
            "start": "2026-12-01",
            "end": "2027-01-31"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("geeky_goth_gamer/au-nz-public-holidays-business-days").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "region": "TAS",
    "years": [
        2026,
        2027,
    ],
    "dates": [
        "2026-12-24",
        "2026-10-22",
    ],
    "days": 5,
    "ranges": [{
            "start": "2026-12-01",
            "end": "2027-01-31",
        }],
}

# Run the Actor and wait for it to finish
run = client.actor("geeky_goth_gamer/au-nz-public-holidays-business-days").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "region": "TAS",
  "years": [
    2026,
    2027
  ],
  "dates": [
    "2026-12-24",
    "2026-10-22"
  ],
  "days": 5,
  "ranges": [
    {
      "start": "2026-12-01",
      "end": "2027-01-31"
    }
  ]
}' |
apify call geeky_goth_gamer/au-nz-public-holidays-business-days --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,geeky_goth_gamer/au-nz-public-holidays-business-days"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/GDpS9ABbO6nERTwfz/builds/NleSshV4HmsT5HhAj/openapi.json
