Skip to content
POST/api/astro/day-night-length/

Day and night length

Reference

Request bodyJSON

Paste an API key above to send.

Code snippet

curl -X POST https://yogataraapi.prahlad.app/api/astro/day-night-length/ \
  -H "X-API-Key: $OCCULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date_time":"2026-06-02T06:30:00+05:30","latitude":26.9124,"longitude":75.7873,"timezone_as_float":5.5}'