Calendar & Cycles

Planetary Phases

Calculate the synodic phase of each planet relative to the Sun (new, crescent, first quarter, gibbous, full, disseminating, last quarter, balsamic).

post/planetary-phases

Request body

datestring required
timestring required
timezoneOffsetnumber nullable

Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC.

latitudenumber required
longitudenumber required
houseSystemstring
namestring
citystring
zodiacType'tropical' | 'sidereal'
ayanamsaIdnumber nullable
ayanamsa'fagan-bradley' | 'lahiri' | 'de-luce' | 'raman' | 'krishnamurti' | 'kp' | 'yukteshwar' | 'jn-bhasin' | 'true-citra' | 'djwhal-khul'

Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.

cosmogramboolean

Response

Successful calculation

okboolean

Example response

{
  "ok": true
}

Changes

Changed in 4 of the 13 revisions of this API.4107

  • 8ab5a768b52144See the full diff
    • removed the optional property data/phases/items/oriental from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/phases/items/phase from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/phases/items/planet from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/phases/items/synodic_angle from the response with the 200 status

      response-optional-property-removed

    • added the optional property data/phases/items/planetId to the response with the 200 status

      response-optional-property-added

    • added the optional property data/phases/items/planetName to the response with the 200 status

      response-optional-property-added

    • added the optional property data/phases/items/quarter to the response with the 200 status

      response-optional-property-added

    • added the optional property data/phases/items/visibility to the response with the 200 status

      response-optional-property-added

    • added the new optional request property ayanamsa

      new-optional-request-property

    • the timezoneOffset request property's max was set to 14.00

      request-property-max-set

    • the timezoneOffset request property's min was set to -14.00

      request-property-min-set

  • b0533bcc12c0442See the full diff
    • the request property latitude became not nullable

      request-property-became-not-nullable

    • the request property longitude became not nullable

      request-property-became-not-nullable

    • the request property latitude became required

      request-property-became-required

    • the request property longitude became required

      request-property-became-required

    • the latitude request property's max was set to 90.00

      request-property-max-set

    • the longitude request property's max was set to 180.00

      request-property-max-set

    • the latitude request property's min was set to -90.00

      request-property-min-set

    • the longitude request property's min was set to -180.00

      request-property-min-set

    • the latitude request property default value 0 was removed

      request-property-default-value-removed

    • the longitude request property default value 0 was removed

      request-property-default-value-removed