Skip to content

A-Levin/saudi-hijri-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

167 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saudi Hijri API

Free Hijri date API based on Saudi Arabia's official calendar from SPA.gov.sa.

Usage

curl https://A-Levin.github.io/saudi-hijri-api/api/hijri.json

Response

{
  "current": {
    "day": 13,
    "month": 7,
    "year": 1447,
    "month_name_ar": "رجب",
    "month_name_en": "Rajab",
    "gregorian": "2026-01-02",
    "updated_at": "2026-01-02T12:00:00"
  },
  "history": [...],
  "source": "spa.gov.sa"
}

How it works

GitHub Actions scrapes spa.gov.sa every 6 hours and updates the JSON file. GitHub Pages serves it as a static API.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors