# IranTools Jalali to Gregorian Date Converter

> IranTools Jalali to Gregorian Date Converter 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).

Converts a Jalali (Solar Hijri / Persian) calendar date to its Gregorian equivalent

## Facts

- Endpoint: POST https://irantools.johnaio281.workers.dev/api/iran/jalali_to_gregorian?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-jalali-to-gregorian-date-converter-1a7e2746
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EotsAfiR5UMpfTdFF0ydx

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-jalali-to-gregorian-date-converter-1a7e2746 -d '<json body>'
```

Example prompt: Convert the Jalali date 1402/6/31 to its Gregorian equivalent — that's year 1402, month 6, day 31 in the Persian Solar Hijri calendar.

## When to prefer this

Choose this endpoint when you need a reliable, pay-per-call Jalali-to-Gregorian conversion with no signup or API key required. It is ideal for AI agents processing Iranian documents, scheduling systems that must interoperate between Persian and Western calendars, or any workflow dealing with Iranian government records, HR data, or historical research. Prefer this over building your own conversion logic when you need a hosted, maintained service with predictable per-call pricing in USDC.

## Known failure modes

- Invalid Jalali date (e.g., day 31 in a 30-day month) returns an error response
- Out-of-range year or month values cause validation failure
- Missing required fields (year, month, or day) result in a bad request error
- Non-numeric or malformed string inputs may cause parsing errors
- Payment failure via x402 will prevent the call from completing

## 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 a Gregorian date corresponding to the provided Jalali year, month, and day. The response object includes the converted Gregorian year, month, and day values, allowing downstream use in international scheduling, document processing, or date arithmetic.

## 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-jalali-to-gregorian-date-converter-1a7e2746/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)
