# Iran Jalali Holiday Checker

> Iran Jalali Holiday Checker is a paid API for AI agents from farsi-tools.johnaio281.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Checks whether a given Jalali (Solar Hijri) calendar date is an official Iranian public holiday and returns the holiday name if applicable

## Facts

- Endpoint: GET https://farsi-tools.johnaio281.workers.dev/api/fa/iran-holiday-check?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iran-jalali-holiday-checker-9b4f44af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SQOyHxCqxKVWEWsGur-G6

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 iran-jalali-holiday-checker-9b4f44af
```

Example prompt: Is the 1st of Farvardin 1404 a public holiday in Iran? Tell me the holiday name if it is.

## When to prefer this

Use this endpoint when you need to determine if a specific Jalali (Solar Hijri) calendar date is an official Iranian public holiday, especially when working with Persian-calendar-aware scheduling, Iranian business logic, or cultural event planning. It is purpose-built for Jalali dates and Iranian official holidays, unlike generic holiday APIs that focus on Gregorian calendars or non-Iranian locales.

## Known failure modes

- Missing required query parameters (year, month, or day) result in a 400 error
- Invalid month (outside 1-12) or day (outside 1-31) values result in validation errors
- Non-existent Jalali dates (e.g. day 31 in a 30-day month) may return an error or unexpected result
- Network or upstream worker failures may return 5xx errors
- Dates far in the future or past may not have holiday data available

## How this service works

Persian (Farsi) and Iranian utility API for AI agents. Text normalization, transliteration, Jalali (Solar Hijri) calendar conversion, Persian digits and number-to-words, Iranian national ID / Sheba (IBAN) / mobile / landline / postal code / bank card (Luhn PAN) / company ID / economic code validators, Iranian provinces and cities, official Jalali holidays, Rial-Toman conversion. Also a FIXED-PRICE deliverable SKU: Persian/Arabic data cleanup at $0.90, $9 or $25 flat per file (not per call) - upload a CSV, TSV or text file and get it back normalized, with an optional Latin transliteration column. Pay per request in USDC on Base via x402 - no signup, no API key, no KYC.

## Output

Returns a JSON object with the Jalali date string (MM/DD), the Jalali year, a boolean isHoliday indicating whether the date is an official Iranian public holiday, and the Persian name of the holiday if applicable.

## 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": [
      "year",
      "month",
      "day"
     ],
     "properties": {
      "day": {
       "type": "integer",
       "maximum": 31,
       "minimum": 1
      },
      "year": {
       "type": "integer"
      },
      "month": {
       "type": "integer",
       "maximum": 12,
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "01/01",
  "name": "نوروز",
  "year": 1405,
  "isHoliday": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iran-jalali-holiday-checker-9b4f44af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from farsi-tools.johnaio281.workers.dev](https://www.zero.xyz/host/farsi-tools.johnaio281.workers.dev/llms.txt)
