The Weather by Location API is a versatile and powerful tool that provides highly accurate, location-specific weather information and forecasts. With a strong commitment to accuracy and reliability, this API addresses a broad spectrum of applications and industries, making it an indispensable asset for those who need real-time weather information tailored to specific geographic coordinates.
In essence, this API works on a simple principle: it allows users to access comprehensive weather data by specifying latitude and longitude coordinates. This geographically focused approach ensures that the retrieved data pertains directly to the designated area, allowing users to make well-informed decisions and plans based on local weather conditions.
The Weather by Location API integrates seamlessly into various applications, providing a seamless experience and optimized access to weather data.
By facilitating the seamless integration of weather data into applications and websites, this API provides users with the means to provide their audience with real-time, hyper-localized weather updates. Whether users are planning a trip, organizing outdoor activities or simply checking the forecast for their daily commute, they can rely on accurate forecasts tailored to their exact location.
It will receive parameters and provide you with a JSON.
Weather applications: Develop weather apps and websites that provide users with up-to-date, location-specific weather forecasts and conditions.
Agriculture: Help farmers optimize their crop management strategies by providing weather data for their specific fields, assisting in decisions related to planting, irrigation and harvesting.
Transportation and logistics: Integrate weather information into transportation and logistics systems to improve route planning, vehicle safety and delivery times, especially in adverse weather conditions.
Energy management: Optimize power generation and distribution by controlling weather conditions, such as wind speed and solar radiation, to increase energy efficiency.
Outdoor event planning: Event organizers can use the API to make informed decisions about scheduling outdoor events, such as weddings, sports matches and concerts, based on weather forecasts.
Besides the number of API calls, there is no other limitation.
To use this endpoint you must indicate a latitude and longitude. You can also indicate the unit of measurement (standard, metric, imperial).
Forecast - Endpoint Features
| Object | Description |
|---|---|
lat |
[Required] |
lon |
[Required] |
units |
[Required] |
{"lat":55.84,"lon":36.62,"timezone":"Europe\/Moscow","timezone_offset":10800,"current":{"dt":1724613477,"sunrise":1724552710,"sunset":1724604383,"temp":21.07,"feels_like":21.37,"pressure":1020,"humidity":82,"dew_point":17.88,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.95,"wind_deg":219,"wind_gust":1,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}]},"minutely":[{"dt":1724613480,"precipitation":0},{"dt":1724613540,"precipitation":0},{"dt":1724613600,"precipitation":0},{"dt":1724613660,"precipitation":0},{"dt":1724613720,"precipitation":0},{"dt":1724613780,"precipitation":0},{"dt":1724613840,"precipitation":0},{"dt":1724613900,"precipitation":0},{"dt":1724613960,"precipitation":0},{"dt":1724614020,"precipitation":0},{"dt":1724614080,"precipitation":0},{"dt":1724614140,"precipitation":0},{"dt":1724614200,"precipitation":0},{"dt":1724614260,"precipitation":0},{"dt":1724614320,"precipitation":0},{"dt":1724614380,"precipitation":0},{"dt":1724614440,"precipitation":0},{"dt":1724614500,"precipitation":0},{"dt":1724614560,"precipitation":0},{"dt":1724614620,"precipitation":0},{"dt":1724614680,"precipitation":0},{"dt":1724614740,"precipitation":0},{"dt":1724614800,"precipitation":0},{"dt":1724614860,"precipitation":0},{"dt":1724614920,"precipitation":0},{"dt":1724614980,"precipitation":0},{"dt":1724615040,"precipitation":0},{"dt":1724615100,"precipitation":0},{"dt":1724615160,"precipitation":0},{"dt":1724615220,"precipitation":0},{"dt":1724615280,"precipitation":0},{"dt":1724615340,"precipitation":0},{"dt":1724615400,"precipitation":0},{"dt":1724615460,"precipitation":0},{"dt":1724615520,"precipitation":0},{"dt":1724615580,"precipitation":0},{"dt":1724615640,"precipitation":0},{"dt":1724615700,"precipitation":0},{"dt":1724615760,"precipitation":0},{"dt":1724615820,"precipitation":0},{"dt":1724615880,"precipitation":0},{"dt":1724615940,"precipitation":0},{"dt":1724616000,"precipitation":0},{"dt":1724616060,"precipitation":0},{"dt":1724616120,"precipitation":0},{"dt":1724616180,"precipitation":0},{"dt":1724616240,"precipitation":0},{"dt":1724616300,"precipitation":0},{"dt":1724616360,"precipitation":0},{"dt":1724616420,"precipitation":0},{"dt":1724616480,"precipitation":0},{"dt":1724616540,"precipitation":0},{"dt":1724616600,"precipitation":0},{"dt":1724616660,"precipitation":0},{"dt":1724616720,"precipitation":0},{"dt":1724616780,"precipitation":0},{"dt":1724616840,"precipitation":0},{"dt":1724616900,"precipitation":0},{"dt":1724616960,"precipitation":0},{"dt":1724617020,"precipitation":0}],"hourly":[{"dt":1724612400,"temp":21.07,"feels_like":21.37,"pressure":1020,"humidity":82,"dew_point":17.88,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.95,"wind_deg":219,"wind_gust":1,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724616000,"temp":20.41,"feels_like":20.67,"pressure":1020,"humidity":83,"dew_point":17.43,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.01,"wind_deg":210,"wind_gust":1.04,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724619600,"temp":19.58,"feels_like":19.79,"pressure":1020,"humidity":84,"dew_point":16.8,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.94,"wind_deg":218,"wind_gust":0.98,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724623200,"temp":18.62,"feels_like":18.78,"pressure":1020,"humidity":86,"dew_point":16.23,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.96,"wind_deg":243,"wind_gust":0.96,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724626800,"temp":17.59,"feels_like":17.73,"pressure":1020,"humidity":89,"dew_point":15.76,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.03,"wind_deg":234,"wind_gust":1.03,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724630400,"temp":16.51,"feels_like":16.59,"pressure":1020,"humidity":91,"dew_point":15,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.29,"wind_deg":251,"wind_gust":1.27,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724634000,"temp":16.19,"feels_like":16.27,"pressure":1020,"humidity":92,"dew_point":14.93,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.27,"wind_deg":249,"wind_gust":1.24,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724637600,"temp":15.95,"feels_like":16.03,"pressure":1020,"humidity":93,"dew_point":14.78,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.16,"wind_deg":235,"wind_gust":1.16,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724641200,"temp":16.01,"feels_like":16.04,"pressure":1021,"humidity":91,"dew_point":14.57,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.23,"wind_deg":224,"wind_gust":1.23,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724644800,"temp":17.77,"feels_like":17.8,"pressure":1021,"humidity":84,"dew_point":14.97,"uvi":0.35,"clouds":0,"visibility":10000,"wind_speed":1.35,"wind_deg":211,"wind_gust":2.05,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724648400,"temp":20.1,"feels_like":20.02,"pressure":1021,"humidity":71,"dew_point":14.76,"uvi":0.96,"clouds":0,"visibility":10000,"wind_speed":1.42,"wind_deg":213,"wind_gust":2.26,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724652000,"temp":22.34,"feels_like":22.25,"pressure":1021,"humidity":62,"dew_point":14.69,"uvi":1.96,"clouds":0,"visibility":10000,"wind_speed":1.4,"wind_deg":215,"wind_gust":2.06,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724655600,"temp":24.23,"feels_like":24.14,"pressure":1021,"humidity":55,"dew_point":14.51,"uvi":3.16,"clouds":0,"visibility":10000,"wind_speed":1.6,"wind_deg":220,"wind_gust":2.22,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724659200,"temp":25.72,"feels_like":25.63,"pressure":1021,"humidity":49,"dew_point":14.19,"uvi":4.27,"clouds":0,"visibility":10000,"wind_speed":1.76,"wind_deg":212,"wind_gust":2.2,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724662800,"temp":26.91,"feels_like":27,"pressure":1021,"humidity":44,"dew_point":13.79,"uvi":4.99,"clouds":0,"visibility":10000,"wind_speed":1.69,"wind_deg":222,"wind_gust":1.96,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724666400,"temp":27.79,"feels_like":27.55,"pressure":1021,"humidity":41,"dew_point":13.58,"uvi":5.04,"clouds":0,"visibility":10000,"wind_speed":1.47,"wind_deg":220,"wind_gust":1.64,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724670000,"temp":28.39,"feels_like":27.94,"pressure":1021,"humidity":39,"dew_point":13.25,"uvi":4.41,"clouds":0,"visibility":10000,"wind_speed":1.4,"wind_deg":214,"wind_gust":1.54,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724673600,"temp":28.65,"feels_like":28.1,"pressure":1020,"humidity":38,"dew_point":13.15,"uvi":3.33,"clouds":0,"visibility":10000,"wind_speed":1.24,"wind_deg":231,"wind_gust":1.46,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724677200,"temp":28.47,"feels_like":28.01,"pressure":1020,"humidity":39,"dew_point":13.11,"uvi":2.12,"clouds":0,"visibility":10000,"wind_speed":0.97,"wind_deg":244,"wind_gust":1.18,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724680800,"temp":27.98,"feels_like":27.72,"pressure":1020,"humidity":41,"dew_point":13.57,"uvi":1.07,"clouds":0,"visibility":10000,"wind_speed":0.59,"wind_deg":257,"wind_gust":0.82,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724684400,"temp":26.4,"feels_like":26.4,"pressure":1020,"humidity":53,"dew_point":16.12,"uvi":0.41,"clouds":0,"visibility":10000,"wind_speed":0.24,"wind_deg":324,"wind_gust":0.19,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724688000,"temp":23.15,"feels_like":23.11,"pressure":1020,"humidity":61,"dew_point":15.32,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.56,"wind_deg":8,"wind_gust":0.43,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1724691600,"temp":20.87,"feels_like":20.76,"pressure":1021,"humidity":67,"dew_point":14.5,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.73,"wind_deg":10,"wind_gust":0.7,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724695200,"temp":19.83,"feels_like":19.75,"pressure":1021,"humidity":72,"dew_point":14.47,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.69,"wind_deg":19,"wind_gust":0.64,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724698800,"temp":19.12,"feels_like":19.02,"pressure":1021,"humidity":74,"dew_point":14.38,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.41,"wind_deg":62,"wind_gust":0.46,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724702400,"temp":18.62,"feels_like":18.5,"pressure":1021,"humidity":75,"dew_point":14.2,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.28,"wind_deg":131,"wind_gust":0.51,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724706000,"temp":18.28,"feels_like":18.15,"pressure":1022,"humidity":76,"dew_point":13.95,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.31,"wind_deg":201,"wind_gust":0.5,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1724709600,"temp":17.91,"feels_like":17.74,"pressure":1022,"humidity":76,"dew_point":13.73,"uvi":0}],"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/4026/weather+by+location+api/4812/forecast?lat=37.0902&lon=95.7129&units=metric' --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 the user must indicate a latitude and longitude along with a unit (metric, standard, imperial).
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.
It is an API that allows users to obtain weather data through a location.
By providing accurate weather data based on latitude and longitude coordinates, the API allows users to offer customized weather forecasts by location.
The Forecast endpoint returns comprehensive weather data, including current conditions, hourly forecasts, and minute-by-minute precipitation predictions. It provides details such as temperature, humidity, wind speed, and weather descriptions.
Key fields in the response include "current" for current weather conditions, "minutely" for minute-by-minute precipitation, "timezone" for local time, and "weather" for descriptions of weather conditions.
The response data is structured in JSON format, with nested objects for current weather, hourly forecasts, and minute-by-minute data. Each section contains relevant fields like temperature, humidity, and weather conditions.
Users can specify latitude, longitude, and the unit of measurement (standard, metric, imperial) to customize their data requests. This allows for tailored weather information based on user preferences.
The Forecast endpoint provides information on current weather, hourly forecasts, minute-by-minute precipitation, wind speed, humidity, temperature, and atmospheric pressure, ensuring comprehensive weather insights.
Data accuracy is maintained through partnerships with reliable meteorological sources and continuous updates. The API employs quality checks to ensure the information provided is current and precise.
Typical use cases include developing weather applications, assisting farmers with crop management, enhancing logistics planning, and aiding event organizers in scheduling outdoor activities based on weather forecasts.
Users can analyze the returned data to make informed decisions, such as planning outdoor events based on weather conditions or optimizing agricultural practices by monitoring local forecasts and precipitation patterns.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
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.
Service Level:
100%
Response Time:
79ms
Service Level:
100%
Response Time:
2,034ms
Service Level:
100%
Response Time:
683ms
Service Level:
100%
Response Time:
830ms
Service Level:
100%
Response Time:
217ms
Service Level:
100%
Response Time:
77ms
Service Level:
100%
Response Time:
83ms
Service Level:
100%
Response Time:
395ms
Service Level:
100%
Response Time:
746ms
Service Level:
100%
Response Time:
7,076ms
Service Level:
100%
Response Time:
1,430ms
Service Level:
100%
Response Time:
904ms
Service Level:
100%
Response Time:
482ms
Service Level:
100%
Response Time:
369ms
Service Level:
100%
Response Time:
627ms
Service Level:
100%
Response Time:
478ms
Service Level:
100%
Response Time:
1,364ms
Service Level:
100%
Response Time:
1,274ms
Service Level:
100%
Response Time:
1,107ms
Service Level:
100%
Response Time:
271ms