# NetIntel Holiday Check API

> NetIntel Holiday Check API is a paid API for AI agents from netintel.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns public holidays for a given country and year, with optional check for whether a specific date is a holiday

## Facts

- Endpoint: GET https://netintel.dev/holidays/check
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-holiday-check-api-58b026dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PVhKL_KBipGicR6zTHP3z

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 netintel-holiday-check-api-58b026dc
```

Example prompt: Can you check whether June 19, 2025 is a public holiday in the US, and also list all US public holidays for 2025?

## When to prefer this

Use this endpoint when you need structured, scored public holiday data for a specific country and year, especially when you also want to verify whether a particular date falls on a holiday. Prefer this over generic calendar APIs when you need holiday type classification (Public, Bank, etc.) and a data quality grade. Ideal for scheduling, compliance, payroll, and travel use cases.

## Known failure modes

- Missing or invalid country_code returns an error — must be a valid ISO 3166-1 alpha-2 code
- Year out of range (outside 2000–2099) returns an error
- Invalid date format for the date parameter (must be YYYY-MM-DD) causes rejection
- Payment failure or insufficient USDC balance blocks the call via x402 protocol
- Unknown country code with no holiday data may return an empty holidays array

## How this service works

Look up public holidays for any country and year, check whether a specific date is a holiday, and calculate the next business day — so agents can handle scheduling, SLA calculations, deadline setting, and date-aware workflows without hardcoding country-specific holiday rules.

## Output

Returns a JSON object with the country code, year, full list of holidays (each with date, name, local name, types, and global flag), optional date_check result for a specific date query, total holiday count, and a quality score and grade for the data.

## 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_code"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD specific date to check — populates date_check with {date, is_holiday, is_weekend, is_business_day, holiday_name, next_business_day}; omitted → date_check is null"
      },
      "year": {
       "type": "integer",
       "description": "4-digit year (default: current year, range 2000-2099)"
      },
      "country_code": {
       "type": "string",
       "description": "ISO 3166-1 alpha-2 country code (e.g. US, GB, DE)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "year": {
       "type": "number"
      },
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "number"
      },
      "findings": {
       "type": "array"
      },
      "holidays": {
       "type": "array"
      },
      "date_check": {
       "type": [
        "object",
        "null"
       ]
      },
      "country_code": {
       "type": "string"
      },
      "total_holidays": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "year": 2026,
  "grade": "A",
  "score": 100,
  "findings": [],
  "holidays": [
   {
    "date": "2026-01-01",
    "name": "New Year's Day",
    "types": [
     "Public",
     "Bank"
    ],
    "is_global": true,
    "local_name": "New Year's Day"
   }
  ],
  "date_check": {
   "date": "2026-07-03",
   "is_holiday": true,
   "is_weekend": false,
   "holiday_name": "Independence Day",
   "is_business_day": false,
   "next_business_day": "2026-07-06"
  },
  "country_code": "US",
  "total_holidays": 17
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-holiday-check-api-58b026dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel.dev](https://www.zero.xyz/host/netintel.dev/llms.txt)
