# IranTools Iranian Holiday Check

> IranTools Iranian Holiday Check is a paid API for AI agents from irantools.johnaio281.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-22).

Checks whether a given Jalali (Solar Hijri) calendar date is an official Iranian public holiday

## Facts

- Endpoint: POST https://irantools.johnaio281.workers.dev/api/iran/iran_holiday_check?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/irantools-iranian-holiday-check-8b26e328
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WVET2iv7BnRNvHlv4XqwO

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 irantools-iranian-holiday-check-8b26e328 -d '<json body>'
```

Example prompt: Is the 1st of Farvardin 1403 an official public holiday in Iran according to the Iranian Solar Hijri calendar?

## When to prefer this

Use this endpoint when you need to determine whether a specific Jalali (Solar Hijri) calendar date is an official Iranian public holiday — especially in workflows involving Iranian business scheduling, payroll, compliance, or calendar automation. Prefer this over manual lookup or general-purpose LLM knowledge when you need a reliable, up-to-date programmatic answer about Iranian holiday status. Not suitable for Gregorian date inputs without prior conversion.

## Known failure modes

- Missing required fields (year, month, or day) returns a validation error
- Invalid Jalali date values (e.g. month 13, day 32) may return an error or unexpected result
- Non-numeric string values for year/month/day may fail schema validation
- Date outside the supported Jalali year range may return no result or an error
- Payment failure via x402 returns 402 Payment Required before the query is executed

## How this service works

Persian and Iranian utilities for AI agents, plus general text/Unicode tooling. Jalali (Solar Hijri) calendar conversion, Iranian national ID / SHEBA / bank card / postal code / economic code validation, province and city lookup, official public holidays, Persian text normalization, keyword extraction, sentence splitting, similarity, HTML stripping, RTL fixing, Unicode homoglyph folding, script detection, NFC/NFD normalization, grapheme counting, date description, business-day counting, slugify, FNV-1a hashing, Shannon entropy, format and encoding detection, byte sizes. Pay per call in USDC on Base via x402 - no signup, no API key, no KYC. The same tools are also exposed as MCP tools at /mcp.

## Output

Returns an object indicating whether the specified Jalali date is an official Iranian public holiday, likely including a boolean flag and the name or description of the holiday if applicable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "day",
  "year",
  "month"
 ],
 "properties": {
  "day": {
   "type": "string"
  },
  "year": {
   "type": "string"
  },
  "month": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/irantools-iranian-holiday-check-8b26e328/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from irantools.johnaio281.workers.dev](https://www.zero.xyz/host/irantools.johnaio281.workers.dev/llms.txt)
