Get ready to explore the enchanting world of the moon and its ever-changing phases with our API! With four distinct endpoints, you can access the perfect amount of information to suit your needs. Whether youโre looking for a brief overview, a plain-text description, a comprehensive analysis, or a visual representation, our API has you covered.
To begin exploring the moon and its phases, visit the Moon Phase API on RapidAPI and subscribe to the API. Once youโve subscribed, youโll have access to detailed documentation, code samples, and everything you need to start using the Moon Phase API in your projects. Enjoy your lunar adventures! ๐๐๐๐๐๐๐๐
1. Basic Endpoint
https://moon-phase.p.rapidapi.com/basic?lat=51.4826&lon=0.0077
phase_name
(type: string): Name of the current moon phasestage
(type: string): Stage of the moonโs cycledays_until_next_full_moon
(type: integer): The number of days until the next full moondays_until_next_new_moon
(type: integer): The number of days until the next new moon2. Plain Text Endpoint
https://moon-phase.p.rapidapi.com/plain-text
3. Advanced Endpoint
https://moon-phase.p.rapidapi.com/advanced?lat=51.4826&lon=0.0077
timestamp
(integer): UNIX timestamp of the moon phase calculationdatestamp
(string): Date and time in UTC formatmoon
(object): Contains moon-related data
phase
(float): Moon phase as a number between 0 and 1illumination
(string): Percentage of the moonโs surface illuminated by the sunage_days
(integer): Age of the moon in days since the last new moonlunar_cycle
(string): Percentage of the complete lunar cycle completedphase_name
(string): Name of the current moon phasestage
(string): Stage of the moonโs cycleemoji
(string): Visual representation of the current moon phasezodiac_sign
(string): The zodiac sign associated with the current datemoonrise
(string): The time of moonrisemoonrise_timestamp
(integer): The UNIX timestamp of moonrisemoonset
(string): The time of moonsetmoonset_timestamp
(integer): The UNIX timestamp of moonsetmoon_altitude
(float): The altitude of the moon above the horizonmoon_distance
(float): The distance between the Earth and the moonmoon_azimuth
(float): The azimuth of the moonโs positionmoon_parallactic_angle
(float): The parallactic angle of the moonsun
(object): Contains sun-related data
sunrise
(integer): UNIX timestamp for todayโs sunrisesunrise_timestamp
(string): The time of the next sunrisesunset
(integer): UNIX timestamp for todayโs sunsetsunset_timestamp
(string): The time of the next sunsetsolar_noon
(string): The time when the sun reaches its highest point in the skyday_length
(string): The duration of daylightsun_altitude
(float): The altitude of the sun above the horizonsun_distance
(float): The distance between the Earth and the sunsun_azimuth
(float): The azimuth of the sunโs positionmoon_phases
(object): Contains information about previous and upcoming moon phases
new_moon
(object): Information about the new moon phase
current
(object): Current new moon phase details
timestamp
(integer): UNIX timestamp of the current new moondatestamp
(string): Date and time of the current new moon in UTC formatdays_ago
(integer): Number of days since the current new moonnext
(object): Next new moon phase details
timestamp
(integer): UNIX timestamp of the next new moondatestamp
(string): Date and time of the next new moon in UTC formatdays_ahead
(integer): Number of days until the next new moonfirst_quarter
(object): Information about the first quarter moon phase
current
(object): Current first quarter moon phase details
timestamp
(integer): UNIX timestamp of the current first quarterdatestamp
(string): Date and time of the current first quarter in UTC formatdays_ago
(integer): Number of days since the current first quarternext
(object): Next first quarter moon phase details
timestamp
(integer): UNIX timestamp of the next first quarterdatestamp
(string): Date and time of the next first quarter in UTC formatdays_ahead
(integer): Number of days until the next first quarterfull_moon
(object): Information about the full moon phase
current
(object): Current full moon phase details
timestamp
(integer): UNIX timestamp of the current full moondatestamp
(string): Date and time of the current full moon in UTC formatdays_ago
(integer): Number of days since the current full moonnext
(object): Next full moon phase details
timestamp
(integer): UNIX timestamp of the next full moondatestamp
(string): Date and time of the next full moon in UTC formatdays_ahead
(integer): Number of days until the next full moonlast_quarter
(object): Information about the last quarter moon phase
current
(object): Current last quarter moon phase details
timestamp
(integer): UNIX timestamp of the current last quarterdatestamp
(string): Date and time of the current last quarter in UTC formatdays_ago
(integer): Number of days since the current last quarternext
(object): Next last quarter moon phase details
timestamp
(integer): UNIX timestamp of the next last quarterdatestamp
(string): Date and time of the next last quarter in UTC formatdays_ahead
(integer): Number of days until the next last quarter4. Emoji Endpoint
https://moon-phase.p.rapidapi.com/emoji
5. Calendar Endpoint
https://moon-phase.p.rapidapi.com/calendar?format=(markdown|html)