The Moon Phase Tracker API is a powerful and versatile tool that provides detailed and accurate information about the phases of the Moon. Designed to enhance your understanding of celestial phenomena, this API is a valuable resource for a wide range of applications and interests. By simply specifying the desired city, you can access a wealth of lunar data tailored to your location.
One of the most outstanding features of the Moon Phase Tracker API is its ability to provide real-time updates of various lunar parameters, ensuring that you always have the latest information at your fingertips. Providing information such as next full moon, next new moon, today moonrise, today moonset and more.
The Moon Phase Tracker API is a versatile and easy-to-use tool that simplifies the integration process for users of different programming languages. Whether you are creating a stargazing application, a weather forecasting tool or an educational resource, you will find that integrating the Moon Phase Tracker API is a simple and efficient process.
One of the main advantages of the Moon Phase Tracker API is its compatibility with a wide range of programming languages. This compatibility ensures that users can seamlessly incorporate moon phase data into their projects without the burden of extensive modifications or complex customizations. Whether you prefer to program in Python, JavaScript, Ruby, Java, PHP or any other popular programming language, you can easily access and use the lunar data API without compatibility issues.
Although the Moon Phase Tracker API is currently focused on providing data for a large number of cities in Hungary, its potential applications are very broad. From astronomy and photography to weather forecasting and outdoor event planning, this API simplifies access to crucial lunar information. Whether you are an experienced user or simply appreciate the beauty of the night sky, the Moon Phases API is your gateway to the celestial world, offering you a deeper connection to the ever-changing phases of the Moon.
It will receive parameters and provide you with a JSON.
Astronomical applications: integration of lunar data into applications for astronomers and stargazers.
Weather forecasting: Include moonrise and moonset times for accurate weather predictions.
Agriculture: Plan planting and harvesting based on lunar phases.
Fishing: Determine optimal fishing times using moon phase information.
Gardening: Plan gardening tasks according to lunar cycles.
Besides the number of API calls, there is no other limitation.
To use this endpoint, users must indicate a city in the parameter.
Moon Phase by city - Endpoint Features
| Object | Description |
|---|---|
city |
[Required] |
{
"moon": {
"phase": "Waxing Crescent",
"info": "This phase occurs between the new Moon and first quarter phases. At the beginning of this stage, we see a thin, crescent-shape Moon, which, in the Northern Hemisphere, appears on the right side. The lit area slowly widens each day, covering more and more of the right side of the Moon’s surface until the first quarter phase, when the Moon’s entire right side is illuminated. (In the Southern Hemisphere, the same thing happens, only on the left side.)\r\n\r\nSome lunar and lunisolar calendars, such as the Islamic (or Hijri) calendar, define the start of a month as when the Moon first becomes visible, which is usually a day or so after the new Moon, during its waxing crescent stage.",
"visible": "27.7%",
"altitude": "17.4°",
"distance": "387,097km",
"next_full_moon": "2023.09.29 11:57",
"next_new_moon": "2023.10.14 19:55",
"today_moonrise": "12:15",
"today_moonset": "20:49",
"img_flat": "https:\/\/api.omw.hu\/img\/moon\/b9e2044c-6679-45e3-a7c1-1d23d3a5eb2f.png"
},
"location": "Budapest",
"today": "2023.09.20",
"last_update": "2023.09.20 17:31",
"supported": "budapest, debrecen, gyor, kecskemet, keszthely, miskolc, pecs, sopron, szeged, "
}
curl --location --request GET 'https://zylalabs.com/api/2576/moon+phase+tracker+api/2572/moon+phase+by+city?city=budapest' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
To use this API you must indicate the name of a Hungarian city among (budapest, debrecen, gyor, kecskemet, keszthely, miskolc, pecs, sopron, szeged).
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
Moon Phase Tracker API is a tool that provides users with information about moon phases of Hungarian cities.
The API returns detailed lunar data, including the current moon phase, visibility percentage, altitude, distance from Earth, next full and new moon dates, and today's moonrise and moonset times for specified Hungarian cities.
Key fields in the response include "phase" (current moon phase), "visible" (percentage of the moon illuminated), "altitude" (angle above the horizon), "distance" (distance from Earth), and timestamps for "next_full_moon," "next_new_moon," "today_moonrise," and "today_moonset."
The response data is structured in JSON format, with a main "moon" object containing various attributes related to the moon's current state and upcoming events, making it easy to parse and utilize in applications.
The endpoint provides information on the moon's current phase, visibility, altitude, distance, and timings for the next full and new moons, as well as today's moonrise and moonset times, all tailored to a specified Hungarian city.
The primary parameter required is the city name, which must be a valid Hungarian city. This allows users to customize their requests to receive lunar data specific to their location.
Users can leverage the returned data for various applications, such as planning outdoor activities based on moonrise and moonset times, understanding lunar phases for gardening or fishing, and enhancing astronomical observations with precise lunar information.
The Moon Phase Tracker API sources its lunar data from astronomical calculations and reliable celestial databases, ensuring that the information provided is accurate and up-to-date for users.
Typical use cases include astronomy applications, weather forecasting, agricultural planning, fishing schedules, and gardening tasks, all of which benefit from understanding lunar phases and timings.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
273ms
Service Level:
100%
Response Time:
134ms
Service Level:
100%
Response Time:
86ms
Service Level:
100%
Response Time:
189ms
Service Level:
81%
Response Time:
1,338ms
Service Level:
100%
Response Time:
192ms
Service Level:
100%
Response Time:
2,452ms
Service Level:
100%
Response Time:
597ms
Service Level:
100%
Response Time:
46ms
Service Level:
100%
Response Time:
630ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
18,499ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
9,013ms
Service Level:
100%
Response Time:
20ms
Service Level:
100%
Response Time:
3,138ms
Service Level:
100%
Response Time:
3,030ms
Service Level:
100%
Response Time:
2,654ms
Service Level:
100%
Response Time:
18,392ms
Service Level:
100%
Response Time:
3,373ms