# ScrapeMole Pulse – Next Public Holidays

> ScrapeMole Pulse – Next Public Holidays is a paid API for AI agents from pulse.scrapemole.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-21).

Returns the next upcoming public holidays for a specified country, powered by the Nager.Date public holiday API covering ~100 countries.

## Facts

- Endpoint: GET https://pulse.scrapemole.workers.dev/v1/holidays/next?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapemole-pulse-next-public-holidays-72890c9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Htfpw7RB_2Wv7m3isUbE4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scrapemole-pulse-next-public-holidays-72890c9d
```

Example prompt: What are the next 5 public holidays in Germany? I need to make sure I don't schedule any meetings on those days.

## When to prefer this

Choose this endpoint when you need upcoming (future-looking) public holidays for a specific country without specifying a year, and you want the results ordered by proximity to today. Prefer it over the list-by-year endpoint when scheduling, travel planning, or payroll automation requires only the next N holidays from now. It is backed by Nager.Date with ~100-country coverage and returns rich metadata including local names and holiday types.

## Known failure modes

- Missing or invalid country code returns an error — must be a valid ISO 3166-1 alpha-2 code (e.g. 'DE', not 'Germany')
- Country not supported by Nager.Date returns empty results or error — coverage is ~100 countries
- Limit out of range (outside 1–50) may be rejected or clamped
- Payment failure via x402 (insufficient USDC balance or network issue) blocks the request
- No upcoming holidays found returns count 0 with an empty holidays array

## How this service works

Pay-per-call "state of the world" lookups that language models cannot know on their own: official ECB exchange rates (latest, historical, conversion), the current time and DST-aware time-zone conversion for scheduling, global weather forecasts (MET Norway, by coordinates or place name), official US National Weather Service forecasts and active watches/warnings/advisories (by state, point, place or zone), the live Hacker News front page, public holidays for ~100 countries (list by year, check a date, next holidays, long weekends, available countries via Nager.Date), and geocoding / reverse geocoding (place or address ↔ coordinates via Photon and Nominatim over OpenStreetMap). Public, non-personal data with sources and licences in every response. USDC via x402, no accounts.

Payments: x402 v2, scheme "exact", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://pulse.scrapemole.workers.dev/terms

## Output

A JSON object containing the country code, a count of returned holidays, and an array of upcoming holiday objects each with date (ISO 8601), English name, local name, holiday types (e.g. Public), and a global flag indicating nationwide applicability. Also includes source attribution to Nager.Date and a disclaimer note.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country"
     ],
     "properties": {
      "limit": {
       "type": "string",
       "default": "10",
       "examples": [
        "5"
       ],
       "description": "Max holidays to return (1-50)."
      },
      "country": {
       "type": "string",
       "examples": [
        "DE"
       ],
       "description": "ISO 3166-1 alpha-2 country code."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Public holiday calendars for ~100 countries; dates and names may vary by region and year. Informational only.",
  "count": 2,
  "source": "Nager.Date public holiday API (https://date.nager.at)",
  "country": "DE",
  "holidays": [
   {
    "date": "2026-12-25",
    "name": "Christmas Day",
    "types": [
     "Public"
    ],
    "global": true,
    "localName": "Erster Weihnachtstag",
    "countryCode": "DE"
   }
  ],
  "sourceUrl": "https://date.nager.at"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapemole-pulse-next-public-holidays-72890c9d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pulse.scrapemole.workers.dev](https://www.zero.xyz/host/pulse.scrapemole.workers.dev/llms.txt)
