Astrology icon

Astrology

Perform astrological calculations via Astrology API

Actions231

Data → Lunar Metrics (Enhanced)

AI-generated

Summary

Calculates enhanced lunar metrics based on provided birth date and time along with location details, offering either a simplified key data response or the full detailed API response.

Inputs

  • Year (required) — Four-digit birth year (e.g., 1990).
  • Month (required) — Birth month as a number from 1 (January) to 12 (December).
  • Day (required) — Day of birth in the month (1 to 31).
  • Hour (required) — Birth hour in 24-hour format (0-23, where 0=midnight).
  • Minute (required) — Birth minute (0 to 59).
  • Location Type (required) — Indicates whether the birth location is specified by city name (which auto-detects coordinates) or by exact latitude/longitude coordinates.
  • City (required) — If Location Type is 'City Name', the birth city name (e.g., "London").
  • Country Code (required) — If Location Type is 'City Name', the ISO 2-letter country code corresponding to the city (e.g., GB).
  • Latitude (required) — If Location Type is 'Coordinates', the geographic latitude in decimal degrees (-90 to 90, positive is North).
  • Longitude (required) — If Location Type is 'Coordinates', the geographic longitude in decimal degrees (-180 to 180, positive is East).
  • Simplify — Boolean flag to return a simplified response with key lunar metric data only; when false, returns full detailed API data with all metadata.

Output shape

a JSON object with lunar metrics data

The returned JSON shape depends on the 'Simplify' input: if true, a simplified object with essential lunar metrics is returned; if false, the full detailed API response including all metadata is returned.

Examples

Example 1: Calculate enhanced lunar metrics for a birth on June 15, 1990 at 14:30 in London, UK, returning simplified key data.

Year=1990, Month=6, Day=15, Hour=14, Minute=30, Location Type='City Name', City='London', Country Code='GB', Simplify=true

Example 2: Calculate detailed enhanced lunar metrics for birth on January 1, 2000 at 00:00 with coordinates latitude=40.71, longitude=-74.01 (New York City).

Year=2000, Month=1, Day=1, Hour=0, Minute=0, Location Type='Coordinates', Latitude=40.71, Longitude=-74.01, Simplify=false

Links

Discussion