Lunar Return Context Endpoint #
POST /api/v5/context/lunar-return #
Generates an AI-optimized XML-structured interpretation of a Lunar Return chart. The Lunar Return occurs roughly every 27.3 days when the Moon returns to its exact natal position. This chart is used to forecast the emotional themes and events for the coming month.
Request Body #
subject(object, required): The natal subject. See Subject Object Reference.{ "name": "John Doe", "year": 1990, "month": 1, "day": 1, "hour": 12, "minute": 0, "city": "London", "nation": "GB", "longitude": -0.1278, "latitude": 51.5074, "timezone": "Europe/London" }
Search parameters (provide year or iso_datetime):
year(integer, required unlessiso_datetimeis set): Calendar year to search for the next return (1-3000).month(integer, optional): Month (1-12) to start the search from. Requiresyear.day(integer, optional): Day (1-31) to start the search from. Defaults to1. Useful for finding the second Lunar Return in a month.iso_datetime(string, optional): ISO 8601 formatted datetime to start the search from. E.g."2025-05-01T00:00:00+00:00". Alternative toyear/month/day.
Return-specific options (optional):
wheel_type(string):"dual"(default) or"single".include_house_comparison(boolean): Include house overlay comparison for dual wheel. Default:true.return_location(object, optional): Override the location for the return chart. See Lunar Return Chart for the fullreturn_locationfield reference.
Computation options (optional, at request body root level):
active_points(array of strings): Override which celestial points are included. See Active Points.active_aspects(array of objects): Override which aspects are calculated and their orbs. See Active Aspects.distribution_method(string):"weighted"(default) or"pure_count".custom_distribution_weights(object): Custom weights map for weighted distribution.
Rendering options (theme, language, style, split_chart, transparent_background, show_house_position_comparison, show_cusp_position_comparison, show_degree_indicators, show_aspect_icons, show_zodiac_background_ring, double_chart_aspect_grid_type, custom_title) are not accepted on this endpoint.
Complete Request Example #
{
"subject": {
"name": "John Doe",
"year": 1990,
"month": 1,
"day": 1,
"hour": 12,
"minute": 0,
"city": "London",
"nation": "GB",
"longitude": -0.1278,
"latitude": 51.5074,
"timezone": "Europe/London"
},
"year": 2024,
"month": 5,
"day": 1
}
Response Body #
status(string):"OK".return_type(string):"Lunar".wheel_type(string):"dual"or"single".context(string): The AI-optimized XML context string for the lunar return.chart_data(object): The complete calculated lunar return chart data (same structure as the Lunar Return Data endpoint).
Complete Response Example #
{
"status": "OK",
"return_type": "Lunar",
"wheel_type": "dual",
"context": "<chart_analysis type=\"Lunar Return\"><subject>John Doe</subject>...</chart_analysis>",
"chart_data": {
"first_subject": { ... },
"second_subject": { ... },
"aspects": [ ... ]
}
}