Harness the power of the moon in your hands.

Welcome to Moon-API.com, your one-stop destination for all things lunar. Our APIs offer a wealth of information about the moon and its intriguing phases. Whether you're a developer, an astronomer, or simply someone who's fascinated by the moon, our APIs are designed to provide you with accurate and current lunar data.

Join Our Community of Lunar Explorers
With over 1000 active users and counting, Moon-API.com has cultivated a vibrant community of individuals passionate about the moon. From hobbyists to professionals, our users span various fields, united by a shared curiosity and desire to understand and appreciate the celestial wonder that is the Moon.  

Unleash the Potential of Moon-API.com
Whether you're a developer seeking precise lunar data for your applications, an astronomer studying celestial phenomena, or simply a moon enthusiast fascinated by its beauty, our APIs are tailored to meet your specific needs. From basic moon phase information to detailed lunar and solar data, we offer a range of endpoints to fuel your lunar exploration.

Why Choose Moon-API.com?

Our robust API gives you access to detailed information about the moon's current phase, its distance from Earth, its illumination, and much more. We've simplified the process of integrating this rich data into your applications or projects.

Comprehensive Lunar Data

Moon-API.com is your gateway to a treasure trove of comprehensive lunar data. This includes moon phase information, lunar events, moonrise/moonset times, and more, allowing you to delve into the captivating world of the moon.

Reliable and Accurate Data

Our API delivers dependable and precise lunar data sourced from reputable astronomical sources. This ensures that you have access to the most accurate information for your moon-related projects.

Developer-Friendly

Moon-API.com is designed with developers in mind, offering easy integration, clear documentation, and flexible subscription plans to cater to your specific needs and enable seamless integration into your applications.

Affordable Pricing

Moon-API.com offers cost-effective subscription plans, providing access to comprehensive lunar data at competitive prices, making it a budget-friendly choice for developers and enthusiasts.

Bulding Blocks

A Lunar Leap: My Personal Journey Creating Moon-API.com

It’s funny how certain curiosities can shape our lives in unexpected ways. For me, it was a fascination with the moon, a fascination that didn’t begin in my childhood, but as an adult.

Features

Discover the Power of Lunar Data

Real-Time Moon Phase Information

Stay up-to-date with accurate and real-time data on the current phase of the moon, its illumination, and age.

Lunar Events Tracking

Plan your lunar observations and celebrations by accessing precise timings for upcoming lunar events such as new moons, full moons, first quarters, and last quarters.

Moonrise and Moonset Times

Determine the exact times of moonrise and moonset for any location and date, allowing you to capture the moon's enchanting presence in your photography or outdoor adventures.

Moon Distance Tracking

Explore the moon's orbit and understand its impact on tides, celestial mechanics, and other astronomical phenomena with real-time data on the moon's distance from Earth.

Sun-Moon Integration

Combine the power of the moon and sun with our comprehensive API, providing you with detailed information on both celestial bodies, including their phases, rise/set times, and more.

Flexible Subscription Plans

Choose from a range of subscription plans to fit your needs, including free tiers for developers and affordable options for those requiring higher usage limits and advanced features.

Showcase: Inspiring Applications

Explore the innovative ways in which developers and creators have harnessed the power of the Moon-API to bring the magic of the moon to life. Check out these remarkable applications that showcase the versatility and potential of our API.

Moon Phase Alexa Flash Briefing Skill

Moon News - Alexa Skill for Daily Briefing

Developer: Luke Addington

Link: https://www.amazon.co.uk/Luke-Addington-Moon-News/dp/B07PM5S3MX

Description: Immerse yourself in the lunar world every day with the "Moon News" Alexa skill developed by Luke Addington. As part of your Daily Briefing, Moon News provides you with up-to-date information on the moon's current phase, ensuring you stay connected with the celestial realm. Start your day with a touch of moon magic and let Moon News be your guide to the lunar cycles.

Tidbyt - Phase Of Moon App

Tidbyt - Phase Of Moon App

Developer: Tidbyt 

Link: https://tidbyt.com/pages/apps

Description: The Moon Phase app on Tidbyt displays a captivating image accompanied by a text description of the current phase of the moon. With its attention to detail and global relevance, this app ensures accurate representation for both the Northern and Southern hemispheres


Would you like to showcase your own application that utilizes the Moon-API? Reach out to us, and we'll be thrilled to feature your creation in our showcase section.

Our Advanced API

The Advanced Moon Phase endpoint of the Moon API allows you to delve deep into the lunar realm by providing detailed moon phase data. This includes the current moon phase, illumination percentage, age in days since the last new moon, moon's distance from Earth, diameter relative to Earth's radius, and much more.

  • timestamp (integer): UNIX timestamp of the moon phase calculation
  • datestamp (string): Date and time in UTC format (e.g., "Thu, 01 Jun 2023 11:16:05 +0200")
  • moon (object): Contains moon-related data
    • phase (float): Moon phase as a number between 0 and 1.
    • illumination (string): Percentage of the moon's surface illuminated by the sun.
    • age_days (integer): Age of the moon in days since the last new moon.
    • lunar_cycle (string): Percentage of the complete lunar cycle completed.
    • phase_name (string): Name of the current moon phase, e.g., "New Moon", "Waxing Crescent", "First Quarter", "Waxing Gibbous", "Full Moon", "Waning Gibbous", "Last Quarter", "Waning Crescent".
    • stage (string): Stage of the moon's cycle, e.g., waxing, waning.
    • emoji (string): Visual representation of the current moon phase. Possible values: πŸŒ‘, πŸŒ’, πŸŒ“, πŸŒ”, πŸŒ•, πŸŒ–, πŸŒ—, 🌘.
    • zodiac (object): Zodiac information related to the moon and sun.
      • sun_sign (string): The sun sign based on the current date.
      • moon_sign (string): The moon sign based on the moon's position.
    • moonrise (string): The time of moonrise.
    • moonrise_timestamp (integer): The UNIX timestamp of moonrise.
    • moonset (string): The time of moonset.
    • moonset_timestamp (integer): The UNIX timestamp of moonset.
    • moon_altitude (float): The altitude of the moon above the horizon.
    • moon_distance (float): The distance between the Earth and the moon.
    • moon_azimuth (float): The azimuth of the moon's position.
    • moon_parallactic_angle (float): The parallactic angle of the moon.
  • sun (object): Contains sun-related data
    • sunrise (integer): UNIX timestamp for today's sunrise
    • sunrise_timestamp (string): The time of the next sunrise
    • sunset (integer): UNIX timestamp for today's sunset
    • sunset_timestamp (string): The time of the next sunset
    • solar_noon (string): The time when the sun reaches its highest point in the sky
    • day_length (string): The duration of daylight
    • sun_altitude (float): The altitude of the sun above the horizon
    • sun_distance (float): The distance between the Earth and the sun
    • sun_azimuth (float): The azimuth of the sun's position
  • moon_phases (object): Contains information about previous and upcoming moon phases
    • new_moon (object): Information about the new moon
      • current (object): Information about the current new moon
        • timestamp (integer): UNIX timestamp of the current new moon
        • datestamp (string): Date and time of the current new moon in UTC format
        • days_ago (integer): Number of days since the current new moon
      • next (object): Information about the next new moon
        • timestamp (integer): UNIX timestamp of the next new moon
        • datestamp (string): Date and time of the next new moon in UTC format
        • days_ahead (integer): Number of days until the next new moon
    • full_moon (object): Information about the full moon
      • current (object): Information about the current full moon
        • timestamp (integer): UNIX timestamp of the current full moon
        • datestamp (string): Date and time of the current full moon in UTC format
        • days_ago (integer): Number of days since the current full moon
      • next (object): Information about the next full moon
        • timestamp (integer): UNIX timestamp of the next full moon
        • datestamp (string): Date and time of the next full moon in UTC format
        • days_ahead (integer): Number of days until the next full moon
    • last_quarter (object): Information about the last quarter moon phase
      • current (object): Information about the current last quarter
        • timestamp (integer): UNIX timestamp of the current last quarter
        • datestamp (string): Date and time of the current last quarter in UTC format
        • days_ago (integer): Number of days since the current last quarter
      • next (object): Information about the next last quarter
        • timestamp (integer): UNIX timestamp of the next last quarter
        • datestamp (string): Date and time of the next last quarter in UTC format
        • days_ahead (integer): Number of days until the next last quarter
{
    "timestamp": 1685610965,
    "datestamp": "Thu, 01 Jun 2023 11:16:05 +0200",
    "sun": {
        "sunrise": 1685584270,
        "sunrise_timestamp": "01:51",
        "sunset": 1685648688,
        "sunset_timestamp": "19:44",
        "solar_noon": "12:57",
        "day_length": "16:18",
        "sun_altitude": 41.698139184701695,
        "sun_distance": 151643787.44305298,
        "sun_azimuth": 108.19562393041076
    },
    "moon": {
        "phase": "0.38966480971092",
        "illumination": "88%",
        "age_days": 12,
        "lunar_cycle": "38.97%",
        "phase_name": "Waxing Gibbous",
        "stage": "waxing",
        "emoji": "πŸŒ”",
        "zodiac": {
            "sun_sign": "Pisces",
            "moon_sign": "Libra"
          },
        "moonrise": "18:08",
        "moonrise_timestamp": 1685635680,
        "moonset": "03:18",
        "moonset_timestamp": 1685582280,
        "moon_altitude": -50.256859109962605,
        "moon_distance": 382878.864197106,
        "moon_azimuth": 339.31434124218265,
        "moon_parallactic_angle": -2.0214503141006763
    },
    "moon_phases": {
        "new_moon": {
            "current": {
                "timestamp": 1684507980,
                "datestamp": "Fri, 19 May 2023 16:53:00 +0200",
                "days_ago": 12
            },
            "next": {
                "timestamp": 1687059420,
                "datestamp": "Sun, 18 Jun 2023 05:37:00 +0200",
                "days_ahead": 16
            }
        },
        "first_quarter": {
            "current": {
                "timestamp": 1682699640,
                "datestamp": "Fri, 28 Apr 2023 18:34:00 +0200",
                "days_ago": 33
            },
            "next": {
                "timestamp": 1687056060,
                "datestamp": "Sun, 18 Jun 2023 04:41:00 +0200",
                "days_ahead": 16
            }
        },
        "full_moon": {
            "current": {
                "timestamp": 1683304440,
                "datestamp": "Fri, 05 May 2023 18:34:00 +0200",
                "days_ago": 26
            },
            "next": {
                "timestamp": 1685846460,
                "datestamp": "Sun, 04 Jun 2023 04:41:00 +0200",
                "days_ahead": 2
            }
        },
        "last_quarter": {
            "current": {
                "timestamp": 1683903180,
                "datestamp": "Fri, 12 May 2023 16:53:00 +0200",
                "days_ago": 19
            },
            "next": {
                "timestamp": 1686451260,
                "datestamp": "Sun, 11 Jun 2023 04:41:00 +0200",
                "days_ahead": 9
            }
        }
    }
}
Ad

Our Lunar Calendar Endpoint

Our Lunar Calendar endpoint offers a comprehensive view of the moon's phases for any given year or month. Whether you're interested in astrology, gardening, or simply curious about the moon's celestial dance, this endpoint provides a wealth of information at your fingertips.

Using the power of the Moon API, the calendar endpoint generates a detailed lunar calendar presented in a user-friendly Markdown format. Each day is represented along the X-axis, while the Y-axis displays the months of the year. The moon's phase for each day is depicted using the appropriate emoji, allowing you to easily visualize the moon's changing appearance throughout the calendar.

By exploring the Lunar Calendar, you can gain insights into the moon's waxing and waning phases, identify significant lunar events such as new moons and full moons, and understand the moon's influence on various natural phenomena. Whether you're planning outdoor activities, tracking planting cycles, or simply marveling at the moon's beauty, this lunar calendar will be a valuable companion.

Discover the mysteries of the moon's phases and explore the lunar calendar today. The Moon API's calendar endpoint in Markdown format is ready to provide you with a captivating lunar journey at your convenience.

| Month | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| January | πŸŒ” | πŸŒ” | πŸŒ• | πŸŒ• | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” |
| February | πŸŒ” | πŸŒ• | πŸŒ• | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ” |
| March | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ• | πŸŒ• | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” |
| April | πŸŒ” | πŸŒ” | πŸŒ• | πŸŒ• | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” |
| May | πŸŒ” | πŸŒ” | πŸŒ• | πŸŒ• | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” |
| June | πŸŒ” | πŸŒ• | πŸŒ• | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ” |
| July | πŸŒ” | πŸŒ• | πŸŒ• | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ” |
| August | πŸŒ• | πŸŒ• | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ• |
| September | πŸŒ• | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ• | πŸŒ• |
| October | πŸŒ• | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ• | πŸŒ• |
| November | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ• | πŸŒ• | πŸŒ• |
| December | πŸŒ• | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ– | πŸŒ— | πŸŒ— | πŸŒ— | πŸŒ— | 🌘 | 🌘 | 🌘 | 🌘 | πŸŒ‘ | πŸŒ‘ | πŸŒ‘ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ’ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ“ | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ” | πŸŒ• | πŸŒ• | - |

Check out
our amazing plans

At Moon-API.com, we're committed to delivering top-notch lunar data at unbeatable prices. We understand that everyone has different needs, and that's why we've created a variety of pricing plans to suit everyone from hobbyists to professional researchers. Discover our competitive pricing plans today and find the one that fits your needs perfectly.

Basic

FREE

  • Requests: 1000/month
  • Rate Limit: 1/sec
  • Personal Usage
  • +$0.002 each 
    other request
Choose Plan
Most Popular
Pro

$1

  • Requests: 10000/month
  • Rate Limit: 10/sec
  • Commercial Usage
  • +$0.0015 each other request
Choose Plan
Ultra

$5

  • Requests: 50,000/month
  • Rate Limit: 100/sec
  • Commercial Usage
  • +$0.001 each 
    other request
Choose Plan
Mega

$20

  • Requests: unlimited
  • Rate Limit: 1000/sec
  • Commercial Usage
  • No overage fees
Choose Plan

Get Started with the Moon Phase API Postman Collection

Ad