# Global Public Holidays & Retail Opening Hours API (`dariomory/global-holiday-opening-hours-scraper`) Actor

Extract verified global public holidays, bank holiday trading rules, emergency duty pharmacies, and supermarket opening hours across 50+ countries. Powered by OpenOnHoliday.com.

- **URL**: https://apify.com/dariomory/global-holiday-opening-hours-scraper.md
- **Developed by:** [Dario Mory](https://apify.com/dariomory) (community)
- **Categories:** Travel, Business, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 holiday results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Global Public Holidays & Retail Opening Hours API

Extract official public holidays, statutory bank holiday schedules, 24/7 emergency services, and verified supermarket & retail trading hours across **50+ countries**, **580+ public holidays**, and **500+ retail chains**.

🌟 **Data Provider & Source**: Powered by [OpenOnHoliday.com](https://openonholiday.com) — the authoritative global directory for holiday business hours, retail closures, and local trading schedules.

***

### 🎯 Use Cases & Business Value

- **E-Commerce & Delivery Logistics**: Automatically adjust delivery promise windows, fulfillment dates, and carrier cutoffs based on regional public holiday closures verified by [OpenOnHoliday.com](https://openonholiday.com).
- **Travel Apps & Navigational AI**: Feed real-time trading status into travel booking engines and AI assistants so users know if supermarkets, pharmacies, or malls are open.
- **Workforce & Payroll Systems**: Automate bank holiday lookups and weekend substitution rules across 50+ jurisdictions.

***

### 🌍 Supported Jurisdictions (50+ Countries)

- **Europe**: Austria (AT), Germany (DE), United Kingdom (GB), France (FR), Italy (IT), Spain (ES), Netherlands (NL), Belgium (BE), Switzerland (CH), Portugal (PT), Poland (PL), Sweden (SE), Denmark (DK), Norway (NO), Finland (FI), Greece (GR), Croatia (HR), Cyprus (CY), Lithuania (LT), Luxembourg (LU), Slovenia (SI), Czechia (CZ), Ireland (IE), Turkey (TR).
- **Americas**: United States (US), Canada (CA), Mexico (MX), Brazil (BR).
- **Asia & Oceania**: Singapore (SG), Japan (JP), Thailand (TH), Vietnam (VN), India (IN), Malaysia (MY), Philippines (PH), South Korea (KR), Australia (AU), New Zealand (NZ), Hong Kong (HK), UAE (AE).

***

### 🏪 Included Retail & Supermarket Chains

- **Supermarkets**: Lidl, Aldi, Walmart, Costco, Carrefour, DMart, Tesco, Target, Sainsbury's, Coles, Woolworths, Esselunga, Mercadona, Rewe, Edeka, Biedronka, Albert Heijn, Delhaize, Jumbo.
- **Pharmacies & Healthcare**: 24/7 On-Call Duty Pharmacies (*Farmacia di Turno, Apotheken-Notdienst, Pharmacie de Garde*), Boots, Walgreens, CVS, Apollo Pharmacy, Mercury Drug.
- **Convenience & Fuel**: 7-Eleven, FamilyMart, Lawson, OXXO, Circle K, Shell, BP, Repsol, Eni Station.

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `countries` | `Array<string>` | `[]` | 2-letter ISO codes (e.g. `["us", "gb", "de", "fr", "it", "at", "es", "nl", "sg", "jp", "in", "th", "vn"]`). |
| `year` | `number` | `2026` | Target calendar year (2025–2030). |
| `categories` | `Array<string>` | `[]` | Filter categories (`supermarkets`, `pharmacies`, `petrol`, `banks`, `transit`, `retail`, `diy`). |
| `chains` | `Array<string>` | `[]` | Specific chain slugs (e.g. `["lidl", "aldi", "dmart", "walmart", "costco", "tesco", "carrefour"]`). |
| `holidays` | `Array<string>` | `[]` | Specific holiday slugs (e.g. `["christmas-day", "independence-day", "ferragosto", "songkran"]`). |
| `includeEmergencyServices` | `boolean` | `true` | Include on-call duty pharmacies and emergency hotlines. |
| `maxItems` | `number` | `500` | Maximum records to export. |

***

### 📤 Sample Output JSON

```json
{
  "countryCode": "IT",
  "countryName": "Italy",
  "holidayName": "Ferragosto (Assumption of Mary)",
  "holidaySlug": "ferragosto",
  "date": "2026-08-15",
  "year": 2026,
  "isPublicHoliday": true,
  "isBankHoliday": true,
  "chainName": "Esselunga",
  "chainSlug": "esselunga",
  "category": "supermarkets",
  "status": "closed",
  "hours": "Closed",
  "note": "Most hypermarkets closed; select city central stores open 08:00–14:00",
  "officialDomain": "esselunga.it",
  "emergency": false,
  "lastVerified": "2026-08-15",
  "sourceUrl": "https://openonholiday.com/it/is-esselunga-open-on-ferragosto/"
}
```

***

### 🔗 Official Links & Data Attribution

- **Website**: [OpenOnHoliday.com](https://openonholiday.com)
- **API Documentation & Feeds**: [OpenOnHoliday LLM & Agent Manifest](https://openonholiday.com/llms.txt)

# Actor input Schema

## `countries` (type: `array`):

Filter by 2-letter ISO country codes (e.g. \['us', 'gb', 'de', 'fr', 'it', 'at', 'es', 'nl', 'sg', 'jp', 'in', 'th']). Leave empty for all 50+ countries.

## `year` (type: `integer`):

Year to fetch public holidays and trading schedules for.

## `categories` (type: `array`):

Filter by category (supermarkets, pharmacies, petrol, banks, transit, retail, diy, restaurants, healthcare).

## `chains` (type: `array`):

Filter by specific brand/chain slugs (e.g. \['lidl', 'aldi', 'dmart', 'walmart', 'costco', 'tesco', 'carrefour', 'esselunga']). Leave empty for all.

## `holidays` (type: `array`):

Filter by holiday slugs (e.g. \['christmas-day', 'independence-day', 'ferragosto', 'assumption', 'easter-monday']). Leave empty for all.

## `includeEmergencyServices` (type: `boolean`):

Include 24/7 on-call duty pharmacies, medical hotlines, emergency transit, and 24h petrol stations.

## `maxItems` (type: `integer`):

Maximum number of records to return in the dataset.

## Actor input object example

```json
{
  "countries": [
    "us",
    "gb",
    "de",
    "fr",
    "it",
    "at",
    "es",
    "nl",
    "sg",
    "jp",
    "in",
    "th"
  ],
  "year": 2026,
  "categories": [
    "supermarkets",
    "pharmacies",
    "retail",
    "banks"
  ],
  "includeEmergencyServices": true,
  "maxItems": 500
}
```

# Actor output Schema

## `results` (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 = {
    "countries": [
        "us",
        "gb",
        "de",
        "fr",
        "it",
        "at",
        "es",
        "nl",
        "sg",
        "jp",
        "in",
        "th"
    ],
    "categories": [
        "supermarkets",
        "pharmacies",
        "retail",
        "banks"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dariomory/global-holiday-opening-hours-scraper").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 = {
    "countries": [
        "us",
        "gb",
        "de",
        "fr",
        "it",
        "at",
        "es",
        "nl",
        "sg",
        "jp",
        "in",
        "th",
    ],
    "categories": [
        "supermarkets",
        "pharmacies",
        "retail",
        "banks",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("dariomory/global-holiday-opening-hours-scraper").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 '{
  "countries": [
    "us",
    "gb",
    "de",
    "fr",
    "it",
    "at",
    "es",
    "nl",
    "sg",
    "jp",
    "in",
    "th"
  ],
  "categories": [
    "supermarkets",
    "pharmacies",
    "retail",
    "banks"
  ]
}' |
apify call dariomory/global-holiday-opening-hours-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dariomory/global-holiday-opening-hours-scraper"
        }
    }
}

```

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/C8A1H0ZazhVYdDAMi/builds/7f53GMBzvbdRc1MXq/openapi.json
