Skip to content
Fourohtwo

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

Convert a Jalali (Solar Hijri, Persian, Shamsi) calendar date to the Gregorian calendar. Use it to turn a date written in the Iranian calendar back into an ISO 8601 date, to check whether a Jalali date is today, or to compare an Iranian deadline with a Western one. Returns the Gregorian year, month, day and weekday.

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

Uptime100% of 3 checks 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/jalali-to-gregorian?day=29&year=1405&month=7");
console.log(await res.json());

Example input

{
  "day": 29,
  "year": 1405,
  "month": 7
}