82trust / 100

Hijri

by Hijri Date Converter in Documents & files

x402 APIPassing, checked 2 h ago

Convert Gregorian dates to Hijri (Umm al-Qura calendar) and back. Returns day/month/year, Arabic and English month names, and a formatted Arabic date string. Essential for agents handling Islamic events, Ramadan, Hajj seasons, or Arabic documents.

GET https://bazaar-catalog.vercel.app/api/hijri

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
242 ms typical, 242 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://bazaar-catalog.vercel.app/api/hijri?date=2026-08-03"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fbazaar-catalog.vercel.app%2Fapi%2Fhijri
const res = await pay("https://bazaar-catalog.vercel.app/api/hijri?date=2026-08-03");
console.log(await res.json());

Example input

{
  "date": "2026-08-03"
}

Example output

{
  "calendar": "Umm al-Qura",
  "gregorian": "2026-08-03",
  "hijri": {
    "date": "1448-02-19",
    "day": 19,
    "formattedAr": "19 صفر 1448هـ",
    "month": 2,
    "monthNameAr": "صفر",
    "monthNameEn": "Safar",
    "year": 1448
  },
  "weekdayEn": "Monday"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402244 ms$0.01
7 h agoPassed402242 ms$0.01