# US public holidays 2026 and 2027

**Use case:** 

Every US public holiday for 2026 and 2027, one row per holiday, with the official and local names and the date. Change the country codes or years to get the same for any of more than 200 countries.

## Input

```json
{
  "mode": "holidays",
  "countries": [
    "US"
  ],
  "years": [
    2026,
    2027
  ],
  "types": [
    "public"
  ],
  "ranges": [
    {
      "start": "2026-01-01",
      "end": "2026-03-31"
    }
  ],
  "days": 5,
  "offset": 2,
  "unit": "days",
  "maxItems": 10000
}
```

## Output

```json
{
  "country": {
    "label": "Country",
    "format": "string"
  },
  "region": {
    "label": "Region",
    "format": "string"
  },
  "date": {
    "label": "Holiday date",
    "format": "string"
  },
  "name": {
    "label": "Holiday name",
    "format": "string"
  },
  "start": {
    "label": "Start",
    "format": "string"
  },
  "end": {
    "label": "End date",
    "format": "string"
  },
  "startDate": {
    "label": "Start date",
    "format": "string"
  },
  "resultDate": {
    "label": "Result date",
    "format": "string"
  },
  "deadline": {
    "label": "SLA deadline",
    "format": "string"
  },
  "businessDays": {
    "label": "Business days",
    "format": "number"
  },
  "holidaysSkipped": {
    "label": "Holidays skipped",
    "format": "number"
  }
}
```

## About this Actor

This example demonstrates how to use [Business Days & Public Holidays (200+ countries)](https://apify.com/finaldynamics/business-days-calculator-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/finaldynamics/business-days-calculator-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/finaldynamics/business-days-calculator-api.md

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`).
