Try Astrologer API

Subscribe to support and grow the project.

Lunar Return Context Endpoint #

POST /api/v5/context/lunar-return #

📘 View Complete Example

Provides structured astrological context for AI interpretations of Lunar Return charts. This endpoint identifies key emotional themes and planetary placements for the lunar cycle, delivering a formatted summary that enables an external AI to generate human-readable monthly forecasts.

Request Body #

  • subject (object, required): The Natal 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 (integer, required): The year of the return.
  • month (integer, required): The month of the return.
  • day (integer, optional): Day (1-31) to start the search from. Defaults to 1. Useful for finding the second Lunar Return in a month.
  • return_location (object, optional): Relocation for the return.
  • Computation options: active_points, active_aspects, distribution_method, custom_distribution_weights (identical to /api/v5/chart-data/lunar-return). Rendering options such as theme, language, split_chart, transparent_background, show_house_position_comparison, show_cusp_position_comparison, show_degree_indicators, custom_title are not accepted here.

Complete Request Example #

{
  "subject": {
    "name": "John Doe",
    "year": 1990,
    "month": 1,
    "day": 1,
    "hour": 12,
    "minute": 0,
    "city": "London",
    "nation": "GB",
    "lng": -0.1278,
    "lat": 51.5074,
    "tz_str": "Europe/London"
  },
  "year": 2024,
  "month": 5,
  "day": 1
}

Response Body #

  • status (string): “OK” on success.
  • context (string): The generated AI text interpretation of the lunar return.
  • chart_data (object): The complete calculated lunar return chart data.

Complete Response Example #

{
  "status": "OK",
  "context": "Lunar Return Analysis for May 2024...\nThe Moon is in the 4th House...",
  "chart_data": {
    "natal_subject": { ... },
    "return_subject": { ... },
    "aspects_list": [ ... ]
    // ... full return data
  }
}