AstroApp REST APIs: Output Examples


Table of Contents



Chart Data

Endpoint: apis/chart
Request: chartData
{
    "calcResultsAvailable"true,
    "chartData": {
        "chartDate""1964-08-05T09:00:00",
        "chartName""Chart REST API",
        "coordSys""G",
        "elev"1,
        "houseSystemID"1,
        "imgPath""https://astroapp.com/astro/adata/outdb/astroapp.com_mfjsMcDCnYK4kDO9RcS7_7374726f6170702e636f6d5f6d666a_astroapp.png",
        "jd"0.0,
        "lat"27.5,
        "lng"15.501,
        "tz""Australia/Brisbane",
        "version"1,
        "zodiacID"100
    },
    "houseCusps": [
        0.0,
        56.93525558719873,
        83.25745421804797,
        106.74889194032444,
        131.57180262843968,
        161.30469178328167,
        197.87174209003723,
        236.93525558719872,
        263.257454218048,
        286.7488919403244,
        311.5718026284397,
        341.30469178328167,
        17.87174209003722,
        56.93525558719873
    ],
    "objects": [
        {
            "id"0,
            "lat"0.0,
            "lng"132.5530611764038,
            "speed"0.9580980697973276
        },
        {
            "id"1,
            "lat"0.0,
            "lng"93.53453038354613,
            "speed"14.674778238770797
        },
        {
            "id"2,
            "lat"0.0,
            "lng"159.86355817522923,
            "speed"0.9883563240819169
        },
        {
            "id"3,
            "lat"0.0,
            "lng"89.71936319181324,
            "speed"0.6783372162947274
        },
        {
            "id"4,
            "lat"0.0,
            "lng"93.47211211448054,
            "speed"0.6659960311692098
        },
        {
            "id"5,
            "lat"0.0,
            "lng"53.51205084806141,
            "speed"0.12180744117520598
        },
        {
            "id"6,
            "lat"0.0,
            "lng"333.1183499288868,
            "speed"-0.06802003882006169
        },
        {
            "id"7,
            "lat"0.0,
            "lng"158.67161566181642,
            "speed"0.05794192721152667
        },
        {
            "id"8,
            "lat"0.0,
            "lng"225.08081533606764,
            "speed"0.004713567796983999
        },
        {
            "id"9,
            "lat"0.0,
            "lng"162.87797198775937,
            "speed"0.031318995996427394
        },
        {
            "id"11,
            "lat"0.0,
            "lng"91.49616109076942,
            "speed"-0.0033910007050202036
        },
        {
            "id"15,
            "lat"0.0,
            "lng"347.9524244980293,
            "speed"-0.035600876658640764
        }
    ]
}


Locations

Endpoint: apis/locations/name?cityName=Sunnyv&stateCode=ca&countryID=1
Request: locations by name

[
    {
        "cityName""Sunnyvale",
        "elevation"324,
        "lat"37.0509,
        "lng"-94.4952,
        "state""MO",
        "tz""America/Chicago"
    },
    {
        "cityName""Sunnyvale",
        "elevation"1650,
        "lat"39.7233,
        "lng"-104.872,
        "state""CO",
        "tz""America/Denver"
    },
    {
        "cityName""Sunnyvale",
        "elevation"37,
        "lat"37.3688,
        "lng"-122.036,
        "state""CA",
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Sunnyvale",
        "elevation"152,
        "lat"32.7965,
        "lng"-96.5608,
        "state""TX",
        "tz""America/Chicago"
    },
    {
        "cityName""Sunnyvale",
        "elevation"535,
        "lat"35.739,
        "lng"-82.1359,
        "state""NC",
        "tz""America/New_York"
    },
    {
        "cityName""Sunnyvale Heights",
        "elevation"1316,
        "lat"40.6913,
        "lng"-111.998,
        "state""UT",
        "tz""America/Denver"
    },
    {
        "cityName""Sunnyvale Park",
        "elevation"1313,
        "lat"40.6916,
        "lng"-111.994,
        "state""UT",
        "tz""America/Denver"
    },
    {
        "cityName""Sunnyview",
        "elevation"499,
        "lat"44.3447,
        "lng"-96.7853,
        "state""SD",
        "tz""America/Chicago"
    },
    {
        "cityName""Sunnyview",
        "elevation"11,
        "lat"38.7337,
        "lng"-77.0875,
        "state""VA",
        "tz""America/New_York"
    },
    {
        "cityName""Sunnyview",
        "elevation"398,
        "lat"40.7694,
        "lng"-82.5667,
        "state""OH",
        "tz""America/New_York"
    },
    {
        "cityName""Sunnyview",
        "elevation"247,
        "lat"39.7459,
        "lng"-86.0828,
        "state""IN",
        "tz""America/Indiana/Indianapolis"
    },
    {
        "cityName""Sunnyview Acres",
        "elevation"41,
        "lat"39.062,
        "lng"-76.6447,
        "state""MD",
        "tz""America/New_York"
    },
    {
        "cityName""Sunnyview Farms",
        "elevation"285,
        "lat"40.2934,
        "lng"-83.0996,
        "state""OH",
        "tz""America/New_York"
    }
]


Location Proximity Search

Endpoint: apis/locations/coord?lat=37.3688&lng=-122.036
Request: locations by coordinates (proximity searches)

[
    {
        "cityName""Sunnyvale",
        "elevation"37,
        "lat"37.3688,
        "lng"-122.036,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Cuernavaca",
        "elevation"46,
        "lat"37.3717,
        "lng"-122.062,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Aloha Mobile Village",
        "elevation"37,
        "lat"37.3535,
        "lng"-122.013,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Sylvan Park",
        "elevation"36,
        "lat"37.3814,
        "lng"-122.062,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Waverly Park",
        "elevation"49,
        "lat"37.3664,
        "lng"-122.071,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Ranchero Thunderbird Mobile Home Court",
        "elevation"27,
        "lat"37.3563,
        "lng"-122.003,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Rancho la Mesa Mobile Home Court",
        "elevation"29,
        "lat"37.3547,
        "lng"-122.003,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Lawrence",
        "elevation"18,
        "lat"37.3699,
        "lng"-121.996,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""El Camino Hospital",
        "elevation"48,
        "lat"37.3689,
        "lng"-122.08,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Cupertino",
        "elevation"72,
        "lat"37.323,
        "lng"-122.032,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Cuesta Park",
        "elevation"40,
        "lat"37.3775,
        "lng"-122.082,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Kaiser Permanente Santa Clara Medical Center",
        "elevation"39,
        "lat"37.3357,
        "lng"-121.999,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Woodland Acres",
        "elevation"77,
        "lat"37.3433,
        "lng"-122.079,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Mountain View",
        "elevation"34,
        "lat"37.3861,
        "lng"-122.084,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Monta Vista",
        "elevation"100,
        "lat"37.3227,
        "lng"-122.058,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Jackson Park",
        "elevation"17,
        "lat"37.3975,
        "lng"-122.079,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Loyola Corners",
        "elevation"71,
        "lat"37.3522,
        "lng"-122.086,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""City of Mountain View",
        "elevation"16,
        "lat"37.4005,
        "lng"-122.08,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""Blossom Valley",
        "elevation"42,
        "lat"37.3736,
        "lng"-122.091,
        "tz""America/Los_Angeles"
    },
    {
        "cityName""The Highlands",
        "elevation"92,
        "lat"37.3414,
        "lng"-122.085,
        "tz""America/Los_Angeles"
    }
]


Statistics by Sign

Endpoint: apis/stats/bysign
Request: number of planets in signs
{
    "chart": {
        "calcResultsAvailable"true,
        "chartData": {
            "chartDate""1964-08-05T09:00:00",
            "chartName""Chart REST API",
            "coordSys""G",
            "elev"1,
            "houseSystemID"1,
            "jd"0.0,
            "lat"27.5,
            "lng"15.501,
            "tz""Australia/Brisbane",
            "version"1,
            "zodiacID"100
        },
        "houseCusps": [
            0.0,
            56.93525558719873,
            83.25745421804797,
            106.74889194032444,
            131.57180262843968,
            161.30469178328167,
            197.87174209003723,
            236.93525558719872,
            263.257454218048,
            286.7488919403244,
            311.5718026284397,
            341.30469178328167,
            17.87174209003722,
            56.93525558719873
        ],
        "objects": [
            {
                "id"0,
                "lat"0.0,
                "lng"132.5530611764038,
                "speed"0.9580980697973276
            },
            {
                "id"1,
                "lat"0.0,
                "lng"93.53453038354613,
                "speed"14.674778238770797
            },
            {
                "id"2,
                "lat"0.0,
                "lng"159.86355817522923,
                "speed"0.9883563240819169
            },
            {
                "id"3,
                "lat"0.0,
                "lng"89.71936319181324,
                "speed"0.6783372162947274
            },
            {
                "id"4,
                "lat"0.0,
                "lng"93.47211211448054,
                "speed"0.6659960311692098
            },
            {
                "id"5,
                "lat"0.0,
                "lng"53.51205084806141,
                "speed"0.12180744117520598
            },
            {
                "id"6,
                "lat"0.0,
                "lng"333.1183499288868,
                "speed"-0.06802003882006169
            },
            {
                "id"7,
                "lat"0.0,
                "lng"158.67161566181642,
                "speed"0.05794192721152667
            },
            {
                "id"8,
                "lat"0.0,
                "lng"225.08081533606764,
                "speed"0.004713567796983999
            },
            {
                "id"9,
                "lat"0.0,
                "lng"162.87797198775937,
                "speed"0.031318995996427394
            },
            {
                "id"11,
                "lat"0.0,
                "lng"91.49616109076942,
                "speed"-0.0033910007050202036
            },
            {
                "id"15,
                "lat"0.0,
                "lng"347.9524244980293,
                "speed"-0.035600876658640764
            }
        ]
    },
    "output": [
        0,
        0,
        1,
        1,
        3,
        1,
        3,
        0,
        1,
        0,
        0,
        0,
        2
    ]
}

Dignities

Endpoint: apis/stats/bysign
Request: dignities
{
    "chart": {
        "calcResultsAvailable"true,
        "chartData": {
            "chartDate""1964-08-05T09:00:00",
            "chartName""Chart REST API",
            "coordSys""G",
            "elev"1,
            "houseSystemID"1,
            "jd"0.0,
            "lat"27.5,
            "lng"15.501,
            "tz""Australia/Brisbane",
            "version"0,
            "zodiacID"100
        },
        "houseCusps": [
            0.0,
            56.93525558719873,
            83.25745421804797,
            106.74889194032444,
            131.57180262843968,
            161.30469178328167,
            197.87174209003723,
            236.93525558719872,
            263.257454218048,
            286.7488919403244,
            311.5718026284397,
            341.30469178328167,
            17.87174209003722,
            56.93525558719873
        ],
        "objects": [
            {
                "id"0,
                "lat"0.0,
                "lng"132.5530611764038,
                "speed"0.9580980697973276
            },
            {
                "id"1,
                "lat"0.0,
                "lng"93.53453038354613,
                "speed"14.674778238770797
            },
            {
                "id"2,
                "lat"0.0,
                "lng"159.86355817522923,
                "speed"0.9883563240819169
            },
            {
                "id"3,
                "lat"0.0,
                "lng"89.71936319181324,
                "speed"0.6783372162947274
            },
            {
                "id"4,
                "lat"0.0,
                "lng"93.47211211448054,
                "speed"0.6659960311692098
            },
            {
                "id"5,
                "lat"0.0,
                "lng"53.51205084806141,
                "speed"0.12180744117520598
            },
            {
                "id"6,
                "lat"0.0,
                "lng"333.1183499288868,
                "speed"-0.06802003882006169
            },
            {
                "id"7,
                "lat"0.0,
                "lng"158.67161566181642,
                "speed"0.05794192721152667
            },
            {
                "id"8,
                "lat"0.0,
                "lng"225.08081533606764,
                "speed"0.004713567796983999
            },
            {
                "id"9,
                "lat"0.0,
                "lng"162.87797198775937,
                "speed"0.031318995996427394
            },
            {
                "id"11,
                "lat"0.0,
                "lng"91.49616109076942,
                "speed"-0.0033910007050202036
            },
            {
                "id"15,
                "lat"0.0,
                "lng"347.9524244980293,
                "speed"-0.035600876658640764
            }
        ]
    },
    "output": {
        "p0": [
            {
                "rulerId"-1,
                "score"0,
                "typeId"30
            }
        ],
        "p1": [
            {
                "rulerId"-1,
                "score"0,
                "typeId"30
            }
        ],
        "p2": [
            {
                "rulerId"-1,
                "score"0,
                "typeId"30
            }
        ],
        "p3": [
            {
                "rulerId"-1,
                "score"0,
                "typeId"30
            }
        ],
        "p4": [
            {
                "rulerId"-1,
                "score"0,
                "typeId"30
            }
        ],
        "p-2": [
            {
                "rulerId"-1,
                "score"-5,
                "typeId"8
            }
        ],
        "p5": [
            {
                "rulerId"-1,
                "score"-5,
                "typeId"30
            }
        ],
        "p6": [
            {
                "rulerId"-1,
                "score"0,
                "typeId"30
            }
        ]
    }
}


Returns

Endpoint: apis/returns
Request: returns
{
    "chart": {
        "calcResultsAvailable"true,
        "chartData": {
            "chartDate""1964-08-05T09:00:00",
            "chartName""Chart REST API transit",
            "coordSys""G",
            "elev"1,
            "houseSystemID"1,
            "jd"0.0,
            "lat"27.5,
            "lng"15.501,
            "tz""Australia/Brisbane",
            "version"1,
            "zodiacID"100
        },
        "houseCusps": [
            0.0,
            56.95275902492928,
            83.27215458584944,
            106.76314753306764,
            131.58736650324437,
            161.3227945684522,
            197.89140721059414,
            236.95275902492926,
            263.2721545858494,
            286.76314753306764,
            311.58736650324437,
            341.3227945684522,
            17.89140721059415,
            56.95275902492928
        ],
        "objects": [
            {
                "id"0,
                "lat"0.0,
                "lng"132.5530611764038,
                "speed"0.9580980697973276
            },
            {
                "id"1,
                "lat"0.0,
                "lng"93.53453038354613,
                "speed"14.674778238770797
            },
            {
                "id"2,
                "lat"0.0,
                "lng"159.86355817522923,
                "speed"0.9883563240819169
            },
            {
                "id"3,
                "lat"0.0,
                "lng"89.71936319181324,
                "speed"0.6783372162947274
            },
            {
                "id"4,
                "lat"0.0,
                "lng"93.47211211448054,
                "speed"0.6659960311692098
            },
            {
                "id"5,
                "lat"0.0,
                "lng"53.51205084806141,
                "speed"0.12180744117520598
            },
            {
                "id"6,
                "lat"0.0,
                "lng"333.1183499288868,
                "speed"-0.06802003882006169
            },
            {
                "id"7,
                "lat"0.0,
                "lng"158.67161566181642,
                "speed"0.05794192721152667
            },
            {
                "id"8,
                "lat"0.0,
                "lng"225.08081533606764,
                "speed"0.004713567796983999
            },
            {
                "id"9,
                "lat"0.0,
                "lng"162.87797198775937,
                "speed"0.031318995996427394
            },
            {
                "id"11,
                "lat"0.0,
                "lng"91.49616109076942,
                "speed"-0.0033910007050202036
            },
            {
                "id"15,
                "lat"0.0,
                "lng"347.9524244980293,
                "speed"-0.035600876658640764
            }
        ]
    },
    "output": {
        "calcResultsAvailable"true,
        "chartData": {
            "chartDate""2021-8-4",
            "chartName""",
            "coordSys""G",
            "elev"1,
            "houseSystemID"1,
            "jd"2459431.2338445922,
            "lat"27.5,
            "lng"15.501,
            "version"1,
            "zodiacID"100
        },
        "houseCusps": [
            0.0,
            311.3585607938214,
            351.275487917644,
            26.95491702929899,
            55.52322672222573,
            79.81647071251626,
            103.61275280437917,
            131.35856079382143,
            171.275487917644,
            206.954917029299,
            235.52322672222573,
            259.81647071251626,
            283.61275280437917,
            311.3585607938214
        ],
        "objects": [
            {
                "id"0,
                "lat"8.620605973064902E-5,
                "lng"132.553061176622,
                "speed"0.9578370337595968
            },
            {
                "id"1,
                "lat"1.6832187449050822,
                "lng"88.15485456168838,
                "speed"12.048738554801195
            },
            {
                "id"2,
                "lat"1.7687407498265875,
                "lng"136.0164040885154,
                "speed"2.029518133626368
            },
            {
                "id"3,
                "lat"1.195441765725595,
                "lng"166.4020116121209,
                "speed"1.1919450459287986
            },
            {
                "id"4,
                "lat"1.0701254460238154,
                "lng"153.69409128409856,
                "speed"0.629528609544344
            },
            {
                "id"5,
                "lat"-1.147776783360649,
                "lng"329.1772002087315,
                "speed"-0.12008955897333227
            },
            {
                "id"6,
                "lat"-0.7825733259321026,
                "lng"310.0004646286596,
                "speed"-0.07430004581686118
            },
            {
                "id"7,
                "lat"-0.41316969924545344,
                "lng"44.69603109244391,
                "speed"0.012675393746333585
            },
            {
                "id"8,
                "lat"-1.1554719789702426,
                "lng"352.7919892258184,
                "speed"-0.019288871340327873
            },
            {
                "id"9,
                "lat"-1.5980840676651638,
                "lng"295.14078633785084,
                "speed"-0.022657349877215866
            },
            {
                "id"11,
                "lat"0.0,
                "lng"68.86958086036282,
                "speed"-0.04908822193984953
            },
            {
                "id"15,
                "lat"2.3894374633218263,
                "lng"12.759204690545594,
                "speed"-0.01687211783422013
            }
        ],
        "spectialPoints": [
            311.3585607938214,
            235.52322672222573,
            233.18757708656918,
            158.2067697681883,
            320.79463209875007,
            327.52898405645226,
            267.1797705936806,
            147.52898405645226,
            0.0,
            0.0
        ]
    },
    "params": {
        "objects": [
            0,
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            11,
            13,
            15
        ],
        "bodyId"0,
        "harmonicValue"1,
        "isBackwards"false,
        "isPast"false,
        "isPrecess"false,
        "retPositionId"0,
        "retTypeId"0,
        "returnDegree"-1.0
    },
    "targetChart": {
        "chartDate""2020-08-05T01:00:00",
        "chartName""Chart REST API transit",
        "coordSys""G",
        "elev"1,
        "houseSystemID"1,
        "jd"0.0,
        "lat"27.5,
        "lng"15.501,
        "tz""Australia/Brisbane",
        "version"1,
        "zodiacID"100
    }
}


Progressions

Endpoint: apis/progressions
Request: progressions
{
    "chart": {
        "calcResultsAvailable"true,
        "chartData": {
            "chartDate""1964-08-05T09:00:00",
            "chartName""Chart REST API transit",
            "coordSys""G",
            "elev"1,
            "houseSystemID"1,
            "jd"0.0,
            "lat"27.5,
            "lng"15.501,
            "tz""Australia/Brisbane",
            "version"1,
            "zodiacID"100
        },
        "houseCusps": [
            0.0,
            56.95275902492928,
            83.27215458584944,
            106.76314753306764,
            131.58736650324437,
            161.3227945684522,
            197.89140721059414,
            236.95275902492926,
            263.2721545858494,
            286.76314753306764,
            311.58736650324437,
            341.3227945684522,
            17.89140721059415,
            56.95275902492928
        ],
        "objects": [
            {
                "id"0,
                "lat"0.0,
                "lng"132.5530611764038,
                "speed"0.9580980697973276
            },
            {
                "id"1,
                "lat"0.0,
                "lng"93.53453038354613,
                "speed"14.674778238770797
            },
            {
                "id"2,
                "lat"0.0,
                "lng"159.86355817522923,
                "speed"0.9883563240819169
            },
            {
                "id"3,
                "lat"0.0,
                "lng"89.71936319181324,
                "speed"0.6783372162947274
            },
            {
                "id"4,
                "lat"0.0,
                "lng"93.47211211448054,
                "speed"0.6659960311692098
            },
            {
                "id"5,
                "lat"0.0,
                "lng"53.51205084806141,
                "speed"0.12180744117520598
            },
            {
                "id"6,
                "lat"0.0,
                "lng"333.1183499288868,
                "speed"-0.06802003882006169
            },
            {
                "id"7,
                "lat"0.0,
                "lng"158.67161566181642,
                "speed"0.05794192721152667
            },
            {
                "id"8,
                "lat"0.0,
                "lng"225.08081533606764,
                "speed"0.004713567796983999
            },
            {
                "id"9,
                "lat"0.0,
                "lng"162.87797198775937,
                "speed"0.031318995996427394
            },
            {
                "id"11,
                "lat"0.0,
                "lng"91.49616109076942,
                "speed"-0.0033910007050202036
            },
            {
                "id"15,
                "lat"0.0,
                "lng"347.9524244980293,
                "speed"-0.035600876658640764
            }
        ]
    },
    "params": {
        "objects": [
            0,
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            11,
            13,
            15
        ],
        "aspects": [
            0,
            30,
            45,
            60,
            90,
            120,
            135,
            150,
            180
        ],
        "eventTypes": [
            1,
            3
        ],
        "isHouseIngress"true,
        "isMansionIngress"false,
        "isMidpoints"false,
        "isSignIngress"false,
        "isStations"false,
        "isStationsLat"false,
        "isToNatal"true,
        "isToProgressed"false,
        "progressionRate"0
    },

    "results": [
        {
            "aspectAngle"45.0,
            "eventType"1,
            "exactDate1""1964-12-6",
            "exactJD"2438736.217885014,
            "exactJD2"0.0,
            "exactLng"98.51205084806142,
            "exactLng2"53.51205084806141,
            "objectId1"5.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"30.0,
            "eventType"1,
            "exactDate1""1964-12-6",
            "exactJD"2438736.312299864,
            "exactJD2"0.0,
            "exactLng"192.87797198775937,
            "exactLng2"162.87797198775937,
            "objectId1"9.0,
            "objectId2"0.0
        },
        {
            "aspectAngle"60.0,
            "eventType"1,
            "exactDate1""1964-12-10",
            "exactJD"2438740.1815993916,
            "exactJD2"0.0,
            "exactLng"218.67161566181642,
            "exactLng2"158.67161566181642,
            "objectId1"7.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"60.0,
            "eventType"1,
            "exactDate1""1965-1-9",
            "exactJD"2438769.784528813,
            "exactJD2"0.0,
            "exactLng"219.86355817522923,
            "exactLng2"159.86355817522923,
            "objectId1"2.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"135.0,
            "eventType"1,
            "exactDate1""1965-2-14",
            "exactJD"2438805.7720540953,
            "exactJD2"0.0,
            "exactLng"0.08081533606764424,
            "exactLng2"225.08081533606764,
            "objectId1"8.0,
            "objectId2"3.0
        },

  ...
        {
            "aspectAngle"45.0,
            "eventType"1,
            "exactDate1""2020-7-20",
            "exactJD"2459051.287264872,
            "exactJD2"0.0,
            "exactLng"203.67161566181642,
            "exactLng2"158.67161566181642,
            "objectId1"7.0,
            "objectId2"1.0
        }
    ],

"targetChart": {
        "chartDate""2020-08-05T01:00:00",
        "chartName""Chart REST API transit",
        "coordSys""G",
        "elev"1,
        "houseSystemID"2,
        "jd"0.0,
        "lat"27.5,
        "lng"15.501,
        "tz""Australia/Brisbane",
        "version"1,
        "zodiacID"100
    }
}

Transits to Natal

Endpoint: apis/transits/natal
Request: transits to natal chart
        "calcResultsAvailable"true,
        "chartData": {
            "chartDate""1964-08-05T09:00:00",
            "chartName""REST API transit to natal example",
            "coordSys""G",
            "elev"1,
            "houseSystemID"1,
            "jd"0.0,
            "lat"27.5,
            "lng"15.501,
            "tz""Australia/Brisbane",
            "version"1,
            "zodiacID"100
        },
        "houseCusps": [
            0.0,
            56.95275902492928,
            83.27215458584944,
            106.76314753306764,
            131.58736650324437,
            161.3227945684522,
            197.89140721059414,
            236.95275902492926,
            263.2721545858494,
            286.76314753306764,
            311.58736650324437,
            341.3227945684522,
            17.89140721059415,
            56.95275902492928
        ],
        "objects": [
            {
                "id"0,
                "lat"0.0,
                "lng"132.5530611764038,
                "speed"0.9580980697973276
            },
            {
                "id"1,
                "lat"0.0,
                "lng"93.53453038354613,
                "speed"14.674778238770797
            },
            {
                "id"2,
                "lat"0.0,
                "lng"159.86355817522923,
                "speed"0.9883563240819169
            },
            {
                "id"3,
                "lat"0.0,
                "lng"89.71936319181324,
                "speed"0.6783372162947274
            },
            {
                "id"4,
                "lat"0.0,
                "lng"93.47211211448054,
                "speed"0.6659960311692098
            },
            {
                "id"5,
                "lat"0.0,
                "lng"53.51205084806141,
                "speed"0.12180744117520598
            },
            {
                "id"6,
                "lat"0.0,
                "lng"333.1183499288868,
                "speed"-0.06802003882006169
            },
            {
                "id"7,
                "lat"0.0,
                "lng"158.67161566181642,
                "speed"0.05794192721152667
            },
            {
                "id"8,
                "lat"0.0,
                "lng"225.08081533606764,
                "speed"0.004713567796983999
            },
            {
                "id"9,
                "lat"0.0,
                "lng"162.87797198775937,
                "speed"0.031318995996427394
            },
            {
                "id"11,
                "lat"0.0,
                "lng"91.49616109076942,
                "speed"-0.0033910007050202036
            },
            {
                "id"15,
                "lat"0.0,
                "lng"347.9524244980293,
                "speed"-0.035600876658640764
            }
        ]
    },
    "params": {
        "objects": [
            0,
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9,
            11,
            13,
            15
        ],
        "aspects": [
            0,
            30,
            45,
            60,
            90,
            120,
            135,
            150,
            180
        ],
        "nextStartDate""1964-11-03",
        "startDate""1964-08-05",
        "daysRange"90,
        "eventTypes": [
            1,
            3
        ],
        "exclusions"300,
        "lat"27.5,
        "lng"15.51,
        "tz""Australia/Brisbane"
    },
    "results": [
        {
            "aspectAngle"135.0,
            "eventType"1,
            "exactDate1""1964-8-5",
            "exactJD"2438612.9876087606,
            "exactJD2"0.0,
            "exactLng"0.08081533606764424,
            "exactLng2"0.0,
            "objectId1"8.0,
            "objectId2"3.0
        },

{
            "aspectAngle"30.0,
            "eventType"1,
            "exactDate1""1964-8-5",
            "exactJD"2438613.0718712728,
            "exactJD2"0.0,
            "exactLng"162.5530611764038,
            "exactLng2"0.0,
            "objectId1"0.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"60.0,
            "eventType"1,
            "exactDate1""1964-8-5",
            "exactJD"2438613.093947157,
            "exactJD2"0.0,
            "exactLng"222.87797198775937,
            "exactLng2"0.0,
            "objectId1"9.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"120.0,
            "eventType"1,
            "exactDate1""1964-8-5",
            "exactJD"2438613.243590379,
            "exactJD2"0.0,
            "exactLng"345.08081533606764,
            "exactLng2"0.0,
            "objectId1"8.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"120.0,
            "eventType"1,
            "exactDate1""1964-8-5",
            "exactJD"2438613.4386217035,
            "exactJD2"0.0,
            "exactLng"107.9524244980293,
            "exactLng2"0.0,
            "objectId1"15.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"135.0,
            "eventType"1,
            "exactDate1""1964-8-5",
            "exactJD"2438613.4498904315,
            "exactJD2"0.0,
            "exactLng"108.1183499288868,
            "exactLng2"0.0,
            "objectId1"6.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"60.0,
            "eventType"1,
            "exactDate1""1964-8-6",
            "exactJD"2438613.8162756944,
            "exactJD2"0.0,
            "exactLng"113.51205084806142,
            "exactLng2"0.0,
            "objectId1"5.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"45.0,
            "eventType"1,
            "exactDate1""1964-8-6",
            "exactJD"2438613.827118952,
            "exactJD2"0.0,
            "exactLng"203.67161566181642,
            "exactLng2"0.0,
            "objectId1"7.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"45.0,
            "eventType"1,
            "exactDate1""1964-8-6",
            "exactJD"2438613.908129905,
            "exactJD2"0.0,
            "exactLng"204.86355817522923,
            "exactLng2"0.0,
            "objectId1"2.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"45.0,
            "eventType"1,
            "exactDate1""1964-8-6",
            "exactJD"2438614.1131259603,
            "exactJD2"0.0,
            "exactLng"207.87797198775937,
            "exactLng2"0.0,
            "objectId1"9.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"30.0,
            "eventType"1,
            "exactDate1""1964-8-6",
            "exactJD"2438614.238457875,
            "exactJD2"0.0,
    "exactLng"119.71936319181324,
            "exactLng2"0.0,
            "objectId1"3.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"30.0,
            "eventType"1,
            "exactDate1""1964-8-6",
            "exactJD"2438614.3594890675,
            "exactJD2"0.0,
            "exactLng"121.49616109076942,
            "exactLng2"0.0,
            "objectId1"11.0,
            "objectId2"1.0
        },
....
{
            "aspectAngle"180.0,
            "eventType"3,
            "exactDate1""1964-11-2",
            "exactJD"2438701.897527213,
            "exactJD2"0.0,
            "exactLng"197.89140721059414,
            "exactLng2"0.0,
            "objectId1"12.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"60.0,
            "eventType"3,
            "exactDate1""1964-11-2",
            "exactJD"2438702.319088355,
            "exactJD2"0.0,
            "exactLng"323.2721545858494,
            "exactLng2"0.0,
            "objectId1"8.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"135.0,
            "eventType"3,
            "exactDate1""1964-11-3",
            "exactJD"2438702.5594466547,
            "exactJD2"0.0,
            "exactLng"116.3227945684522,
            "exactLng2"0.0,
            "objectId1"11.0,
            "objectId2"1.0
        },
        {
            "aspectAngle"30.0,
            "eventType"3,
            "exactDate1""1964-11-3",
            "exactJD"2438702.609204694,
            "exactJD2"0.0,
            "exactLng"266.95275902492926,
            "exactLng2"0.0,
            "objectId1"7.0,
            "objectId2"1.0
        }
    ]
}


Static values:

Planets:
Zodiac:
House Systems:
Coordinate Systems:

Aspects:
The APIs will accept any angle. You don't have to be limited to major aspects only.



JSON Request Details

        "chartData":
        {
            "chartName":"Horoscope REST API",    //Name
            "chartDate":"1964-08-05T09:00:00",       //Date in ISO format
            "lng":"15.501",                                     //Geographic Longitude of the location at birth (or chart location in general). Decimal value, negative values represent West longitude, positive values are for the East longitude
            "lat":"27.50",                                        //Geographic Latitude. Decimal value, negative values represent South latitude, positive values are for the North longitude
            "elev":1,                                               //Elevation of the location at birth. Leave as 0 if not known
            "tz":"Australia/Brisbane",                       //Time Zone
            "zodiacID":100,                                    //100 is the default value representing Tropical Zodiac
            "houseSystemID":1,                             //House System. Refer to the supported House System values above
            "coordSys":"G",                                   //Coordinates system used for calculations. Refer to the Coordinates System values above
            "version":1                                           //Chart version - use this if you want to support tracking of the chart updates.
        },


"calcRequestProps":
    {
        "needImage":"Y",                                    //Set to Y if you want APIs to generate an image of the chart. The link to the chart image will be returned in Response. For performance reasons, it's recommended to keep this as "N" if chart image is not required.
        "needAspects":"Y"                                  //Set to Y if you want aspects data to be provided in Response. Otherwise keep it as "N" (no).
    },

"params":{
        "objects": [
            0,1,2,3,4,5,6,7,8,9,11,13,15             //Object IDs to be included in calculations. Please refer to the list of Planet IDs above.
        ],
       "aspects":[                                          //Aspect angles. Integer or decimal values indicating aspects to include in Response. For example, 0 value means conjunction (0 degrees of angular separation), 180 means opposition, 120 - trine, and so on.
            {
                "angle":0,
                "orb":10                                      //Orb - is the integer or decimal value indicating precision of the aspect calculations to be considered. For example, if you specify orb as 10 for conjunctions, this means two planets will be considered in conjunction if their angular separation is 0 degrees +/- 10 degrees. So, 2 planets with 9 degrees of angular separation would still be considered conjunct in this scenario.
            },
            {
                "angle":45,
                "orb":1
            },
            {
                "angle":60,
                "orb":5
            },
            {
                "angle":90,
                "orb":8
            },
            {
                "angle":120,
                "orb":9
            },
            {
                "angle":135,
                "orb":2
            },
            {
                "angle":150,
                "orb":3
            },
            {
                "angle":180,
                "orb":10
            }
        ]
    }


JSON Response Details


Objects position/details representation

"objects": [
        {
            "id"0,                                    //Sun (please refer to the planet ID listing above)
            "lat"0.0,                                //Latitude of the Sun
            "lng"132.5530611764038,      //Longitude of the Sun
            "speed"0.9580980697973276 //Speed in longitude of the Sun. Negative speed means the planet is retrograde.
        },
...]

Statistics by Sign
Each number in the output array represents the number of planets in corresponding signs (1 - Aries, 2 - Taurus, 3 - Gemini, 4 - Cancer, 5 - Leo, 6 - Virgo, 7 - Libra, 8 - Scorpio, 9 - Sagittarius, 10 - Capricorn, 11 - Aquarius; 12 - Pisces. The signs start with index 1 in the array. For example, position with index=1 in the array corresponds to Aries and Aries has 0 planets in it; position #2 represents Taurus and Taurus contains 1 planet in it.
    "output": [
        0,
        0,   //House #1
        1,   //House #2
        1,   //House #3
        3,   //House #4
        1,   //House #5
        3,   //House #6
        0,   //House #7
        1,   //House #8
        0,   //House #9
        0,   //House #10
        0,   //House #11
        2    //House #12
    ]

Events Results (Progressions, Transits, etc)
"results": [
        {
            "aspectAngle"45.0,                     //Aspect angle. In this case 45 is semi-square. Please refer to the Aspects angles listing above for further details.
            "eventType"1,                            //1 - this indicates Progression or Transit to Natal planets. Please referf to the OpenAPI docs for details
            "exactDate1""1964-12-6",          //Date of the event. If the event repeats (in case of retrograde planets going direct), the exactDate2 parameter will also be present for the 2nd event date.
            "exactJD"2438736.217885014,  //Julian Date of the event
            "exactJD2"0.0,                           //Julian Date of the 2nd event in the series (if applicable)
            "exactLng"98.51205084806142, //Longitude of the event (of the aspect forming planet at the moment of the event)
            "exactLng2"53.51205084806141, //Longitude of the 2nd event if available (of the aspect forming planet at the moment of the event)
            "objectId1"5.0,                           //Object ID. This is ID of the first planet making an aspect. In this case it's 5 - that corresponds to Jupiter. Refer to the Planet IDs listing above
            "objectId2"1.0                            //This is ID of the second planet making an aspect. In this case it's 1 - that corresponds to the Moon. Refer to the Planet IDs listing above
        },
// The above JSON means that Jupiter is making semi-square aspect to the Moon on December 6th, 1964.
{
            "aspectAngle"60.0,                    //Aspect angle. In this case the angle is 60, which is a sextile. Please refer to the Aspects angles listing above for further details.
            "eventType"3,                            //3 - Progression or Transit to Natal house cusps. Please referf to the OpenAPI docs for further details
            "exactDate1""1964-11-2",          //Date of the event.
            "exactJD"2438702.319088355, //Julian Date of the event
            "exactJD2"0.0,                        //Julian Date of the 2nd event in the series (if available)
            "exactLng"323.2721545858494, //Longitude of the event (of the aspect forming planet at the moment of the event)
            "exactLng2"0.0,                     //Longitude of the 2nd event if available (of the aspect forming planet at the moment of the event)
            "objectId1"8.0,                        //For House Cusp events ("eventType"3), this is the number of the house. So, in this case it's house 8.
            "objectId2"1.0                         //Object ID. This is ID of the planet making an aspect to the house cusp.
        },
// The above JSON means that the Moon is making sextile aspect to the 8th house cusp on November 2nd, 1964.
...
]


Editions: