Weather by Location API

The Weather by Location API provides accurate weather predictions tailored to specific locations, catering to a wide range of applications and industries.

About the API:  

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.

 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Weather applications: Develop weather apps and websites that provide users with up-to-date, location-specific weather forecasts and conditions.

  2. 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.

  3. 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.

  4. Energy management: Optimize power generation and distribution by controlling weather conditions, such as wind speed and solar radiation, to increase energy efficiency.

  5. 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.

Are there any limitations to your plans?

Besides the number of API calls, there is no other limitation.

API Documentation

Endpoints


To use this endpoint you must indicate a latitude and longitude. You can also indicate the unit of measurement (standard, metric, imperial).



                                                                            
GET https://zylalabs.com/api/4026/weather+by+location+api/4812/forecast
                                                                            
                                                                        

Forecast - Endpoint Features

Object Description
lat [Required]
lon [Required]
units [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"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,...
                                                                                                                                                                                                                    
                                                                                                    

Forecast - CODE SNIPPETS


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' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Weather by Location API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

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.

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
818ms

Category:


Related APIs