☰ DiAstrologer API Docs

Panchang

14 endpoint(s).

Endpoint Method Summary Auth
/api/v1/panchang/abhijit POST Abhijit Muhurta
/api/v1/panchang/choghadiya POST Choghadiya
/api/v1/panchang/daily GET Daily Panchang
/api/v1/panchang/gulika-kaal POST Gulika Kaal
/api/v1/panchang/hora POST Planetary Hours
/api/v1/panchang/karana POST Karana (Half Tithi)
/api/v1/panchang/moonrise-moonset POST Moon Timings
/api/v1/panchang/nakshatra POST Daily Nakshatra
/api/v1/panchang/rahu-kaal POST Rahu Kaal
/api/v1/panchang/sunrise-sunset POST Sun Timings
/api/v1/panchang/tithi POST Tithi (Lunar Day)
/api/v1/panchang/vara POST Weekday
/api/v1/panchang/yamaganda POST Yamaganda
/api/v1/panchang/yoga POST Daily Yoga

POST /api/v1/panchang/abhijit

Abhijit Muhurta

Get Abhijit Muhurta - most auspicious time around midday. 48 minutes before and after local noon.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/abhijit' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/choghadiya

Choghadiya

Get Choghadiya periods for the day. 8 periods for day, 8 for night.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/choghadiya' \
  -H 'Authorization: Bearer <API_KEY>'

GET /api/v1/panchang/daily

Daily Panchang

Get complete daily Panchang with Tithi, Nakshatra, Yoga, Karana, and Vara. This is the main endpoint for daily panchang display.

Param In Type Required Description
date query string yes
latitude query number yes
longitude query number yes
timezone query string no

Response 200VedicApiResponse

Example

curl -X GET 'https://api.example.com/api/v1/panchang/daily' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/gulika-kaal

Gulika Kaal

Get Gulika Kaal timing - inauspicious period.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/gulika-kaal' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/hora

Planetary Hours

Get Hora (planetary hours) for the day. Each hour is ruled by a planet in sequence.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/hora' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/karana

Karana (Half Tithi)

Get Karana for the given date. 2 Karanas per Tithi (60 total per lunar month).

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/karana' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/moonrise-moonset

Moon Timings

Get Moonrise and Moonset times.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/moonrise-moonset' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/nakshatra

Daily Nakshatra

Get Moon's Nakshatra for the given date. Nakshatra = Moon longitude / 13°20'.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/nakshatra' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/rahu-kaal

Rahu Kaal

Get Rahu Kaal timing for the given date. Inauspicious period ruled by Rahu.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/rahu-kaal' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/sunrise-sunset

Sun Timings

Get Sunrise and Sunset times.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/sunrise-sunset' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/tithi

Tithi (Lunar Day)

Get Tithi (lunar day) for the given date and location. Tithi = 12° of Moon-Sun elongation.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/tithi' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/vara

Weekday

Get Vara (weekday) with planetary lord.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/vara' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/yamaganda

Yamaganda

Get Yamaganda timing - inauspicious period ruled by Yama.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/yamaganda' \
  -H 'Authorization: Bearer <API_KEY>'

POST /api/v1/panchang/yoga

Daily Yoga

Get Nitya Yoga for the given date. Yoga = (Sun + Moon longitude) / 13°20'.

Request body (application/json)

Field Type Required Description
date string yes Date in YYYY-MM-DD format
latitude number yes
longitude number yes
timezone string no
place_name any no

Response 200VedicApiResponse

Example

curl -X POST 'https://api.example.com/api/v1/panchang/yoga' \
  -H 'Authorization: Bearer <API_KEY>'