Hijri Date Widget
Show today’s Hijri and Gregorian date on any website in under a minute. No frameworks, no tracking, no dependencies — just a tiny script served from a global edge network.
API reference
GET /api/widget/today accepts the following query parameters:
| Parameter | Allowed values | Description |
|---|---|---|
| lang | en · ar · ur | Interface language & RTL direction. |
| offset | -2 … +2 | Shift the base date by this many days. |
| theme | light · dark · auto | Colour scheme. |
| format | json · html | Response format (default json). |
Served from a global edge network with 5-minute caching. Returns Access-Control-Allow-Origin: * so it works from any website.