Hijri Calendar (India crescent)
POSTAvailable
https://api.96astroapi.com/v1/panchang/hijri-indiaThe tabular Hijri date and, for each month of a year (or the month of a date), the start India is likely to see by crescent visibility (Yallop q-value at sunset, with each evening checked), Ramadan and Eid ul-Fitr.
- Credits
- 1 credit
- Input
- Specific input
- Output
- JSON
- Delivery
- Direct response
- Languages
- English; translated term names with
labels
| Header | Value and description |
|---|---|
AuthorizationRequired | Bearer YOUR_API_KEYYour sandbox (sk_test_...) or live (sk_live_...) key. X-API-Key: <key> is accepted instead. |
Content-TypeRequired | application/jsonThe body is JSON. |
Idempotency-KeyOptional | <unique string>Makes retries safe: a repeated key with the same body replays the stored response and is never charged twice. (1 to 200 characters) |
| Field | Description |
|---|---|
datestring | nullOptional | A date. Default: Limits: format date |
yearinteger | nullOptional | Or a year. Default: Limits: minimum 1900, maximum 2100 Example: |
latitudenumber | nullOptional | Place for the crescent (default Delhi). Default: Limits: minimum -60, maximum 60 |
longitudenumber | nullOptional | Place longitude. Default: Limits: minimum -180, maximum 180 |
utc_offset_hoursnumber | nullOptional | Clock offset (default 5.5). Default: Limits: minimum -14, maximum 14 |
labelsstringOptional | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed values: asbndeesfrguhiitjaknkomlmrnenlorpaplptrusitatetrur |
Response · fields in data
Inferred from the example response: a guide to the shape, not a contract.
place· objectmethod· stringbasis· stringyear· numbermonths· array of objectramadan_start_india· stringeid_ul_fitr_india· string
Example request
curl -X POST https://api.96astroapi.com/v1/panchang/hijri-india \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"year": 2026
}'Example response
{
"data": {
"place": {
"lat": 28.6139,
"lon": 77.209,
"tz": 5.5
},
"method": "Tabular Hijri (30-year cycle, civil epoch) plus Yallop q-value crescent estimate at sunset + 4/9 lag; predicted visible if q >= -0.014 (Yallop A/B) and the moon sets after the sun; month starts the day after the first evening predicted visible",
"basis": "Estimate only. The actual month start in India depends on a sighting announcement (Markazi Chand Committee, Imarat-e-Shariah, Lucknow Eidgah and others) and can differ from this prediction and from Saudi Arabia by a day.",
"year": 2026,
"months": [
{
"hijri_year": 1447,
"month": 8,
"month_name": "Shaban",
"tabular_start": "2026-01-20",
"predicted_start_india": "2026-01-21",
"conjunction_ist": "2026-01-19 01:22",
"yallop_q_first_visible_evening": 1.101
},
…Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items.
Error responses
- 400invalid_request
- 401invalid_key, expired_key
- 402payment_required
- 403account_suspended, plan_upgrade_required, plan_family_not_included, key_scope_denied, ip_not_allowed, origin_not_allowed, publishable_key_not_allowed
- 404not_found
- 409idempotency_conflict
- 413payload_too_large
- 422invalid_request, unsupported_language
- 429rate_limited, quota_exhausted, spend_cap_reached, project_budget_exceeded
- 500computation_failed
- 502unavailable
- 503unavailable, maintenance, temporarily_unavailable
- 504deadline_exceeded
Errors are never charged. What each status means and what to do: errors.

