# ScrapeMole Pulse – Long Weekend Lookup (Public Holidays)

> ScrapeMole Pulse – Long Weekend Lookup (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-17).

Returns long weekends (extended weekends around public holidays) for a given country and year, including bridge days needed and date ranges, sourced from Nager.Date.

## Facts

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

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-long-weekend-lookup-public-holidays-d96188d7
```

Example prompt: What are all the long weekends in Lithuania for 2026, including which ones need a bridge day to extend them?

## When to prefer this

Use this endpoint when an agent needs to identify multi-day holiday windows — especially those that can be extended with bridge days — for scheduling, travel planning, or HR purposes. It is specifically designed for long-weekend detection rather than simply listing all public holidays (use a sibling endpoint for that). Choose this over generic calendar APIs when you need structured data about which weekends are naturally extended by public holidays, per country.

## Known failure modes

- Missing required 'country' query parameter returns an error
- Invalid or unsupported country code returns an error or empty results
- Country not covered by Nager.Date (~100 countries supported) may return empty data
- Invalid year format returns a validation error
- Payment not settled (x402 flow failure) results in 402 response before work is done

## 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 listing all long weekends for the requested country and year. Each entry includes the start date, end date, total day count, a list of bridge days (weekdays between the holiday and the weekend), and a flag indicating whether a bridge day is needed to create the long weekend. Also includes metadata: country code, year, total count of long weekends found, and attribution to Nager.Date.

## 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": {
      "year": {
       "type": "string",
       "examples": [
        "2026"
       ],
       "description": "Calendar year (default current UTC year)."
      },
      "country": {
       "type": "string",
       "examples": [
        "LT"
       ],
       "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.",
  "year": 2026,
  "count": 1,
  "source": "Nager.Date public holiday API (https://date.nager.at)",
  "country": "LT",
  "weekends": [
   {
    "endDate": "2026-01-04",
    "dayCount": 4,
    "startDate": "2026-01-01",
    "bridgeDays": [
     "2026-01-02"
    ],
    "needBridgeDay": true
   }
  ],
  "sourceUrl": "https://date.nager.at"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapemole-pulse-long-weekend-lookup-public-holidays-d96188d7/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)
