Astrology icon

Astrology

Perform astrological calculations via Astrology API

Actions231

Data → Lunar Metrics

AI-generated

Summary

Calculate lunar metrics for a given birth date and location to retrieve moon-related astrological data, optionally returning a simplified response.

Inputs

  • Year (required) — Birth year in 4-digit format (e.g., 1990)
  • Month (required) — Birth month as number 1-12 (January=1, December=12)
  • Day (required) — Birth day of month (1-31)
  • Hour (required) — Birth hour in 24-hour format (0-23, where 0=midnight, 12=noon)
  • Minute (required) — Birth minute (0-59)
  • Location Type (required) — Choose birth location specification: by city name (auto-detects coordinates) or exact latitude/longitude
  • City (required) — Birth city name (e.g., "London", "New York", "Kyiv"), required if Location Type is City Name
  • Country Code (required) — 2-letter ISO country code for the birth city (e.g., US, GB, UA), required if Location Type is City Name
  • Latitude (required) — Geographic latitude of birth location in decimal degrees (-90 to 90, positive=North), required if Location Type is Coordinates
  • Longitude (required) — Geographic longitude of birth location in decimal degrees (-180 to 180, positive=East), required if Location Type is Coordinates
  • Simplify — Whether to return a simplified response with key data only; disable to receive full API response with all metadata

Output shape

a single JSON object containing lunar astrological metrics corresponding to the provided birth date and location

The response includes detailed moon-related metrics. If 'Simplify' is enabled, the output contains only key top-level fields; otherwise, the full API response with all metadata is returned.

Examples

Example 1: Calculate lunar metrics using city and country code for location, simplifying output

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

Example 2: Calculate full lunar metrics using geographic coordinates, no simplification

Year=1990, Month=6, Day=15, Hour=14, Minute=30, Location Type=Coordinates, Latitude=51.5074, Longitude=-0.1278, Simplify=false

Links

Discussion