Skip to content
Fourohtwo

farsi-tools.johnaio281.workers.dev/api/fa/gregorian-to-jalali

Convert a Gregorian (ISO, Western) calendar date to the Jalali, Solar Hijri, Persian or Shamsi calendar used in Iran. Use it to display a date to Iranian users, to schedule work in the Iranian calendar, or to convert a Gregorian deadline into a Jalali date. Returns the Jalali year, month, day and month name.

BaseAnswering
GEThttps://farsi-tools.johnaio281.workers.dev/api/fa/gregorian-to-jalali

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://farsi-tools.johnaio281.workers.dev/api/fa/gregorian-to-jalali?day=21&year=2026&month=10");
console.log(await res.json());

Example input

{
  "day": 21,
  "year": 2026,
  "month": 10
}