All the Aladhan.com API endpoints use a purely mathematical calculation to calculate the Hijri Date. Different countries and different governments set their own Hijri dates, and the API cannot cater to them all.
To adjust the date, you can use the
adjustment query parameter on any HTTP endpoint to add or remove days.
For instance https://api.aladhan.com/v1/gToH?date=07-12-2022 converts to 13-05-1444 and https://api.aladhan.com/v1/gToH?date=07-12-2022&adjustment=-1 converts to 12-05-1444.