Wind by Location API

The Wind by Location API provides comprehensive real-time and historical weather information, including temperature, wind speed, pressure, UV index, and precipitation, for any location.

About the API:  

The Wind by Location API provides detailed and accurate real-time and historical weather information, offering a comprehensive view of global weather conditions. When users make a request, they receive up-to-date data including key metrics such as temperature in degrees Celsius, wind speed and direction, atmospheric pressure in hectopascals (hPa), and a textual and visual description of current weather conditions (e.g., “scattered showers” or “clear skies”).

In addition to real-time data, the API provides extensive historical weather records. This includes minimum and maximum temperatures for specific dates, daily average temperatures, historical sunshine duration in hours, UV index levels, and precipitation data, showing both precipitation and snowfall distribution throughout the day.

For long-term analysis, the API provides summaries of extreme temperatures, average temperatures, total precipitation, sunshine hours and UV index over extended periods. This comprehensive data allows users to effectively track and analyze weather trends and patterns.

Overall, the Wind by Location API is an essential tool for understanding both current weather and historical trends, making it an invaluable tool for weather analysis and forecasting.

 

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

Enter the latitude, longitude or city and you will receive the current or historical winds.

 

What are the most common use cases of this API?

  1. Maritime Navigation Systems: Maritime navigation systems can integrate the Wind API to provide real-time wind data for ships and vessels. Captains and navigators can make informed decisions about routes and speeds, ensuring safe and efficient passage, while minimizing fuel consumption and maximizing cargo safety.

  2. Aviation Weather Services: Airlines and aviation services can utilize the Wind API to enhance their weather-related services. Pilots and flight planners can access accurate wind information, optimizing flight paths, takeoff, and landing procedures. This ensures smoother flights, reduces turbulence encounters, and enhances overall aviation safety.

  3. Renewable Energy Planning: Wind farms and other renewable energy projects heavily rely on wind patterns. The Wind API can aid in predicting wind conditions over a 4-day period, enabling renewable energy companies to optimize the positioning and operation of wind turbines. This ensures maximum energy generation by harnessing the most favorable wind speeds.

  4. Outdoor Event Planning: Event organizers for outdoor activities such as sports events, concerts, or festivals can benefit from the Wind API. By knowing the wind conditions in advance, organizers can plan event layouts, stage setups, and seating arrangements accordingly. This ensures that the event structures are secure and stable, enhancing the safety and enjoyment of attendees.

  5. Disaster Response and Emergency Management: During natural disasters like hurricanes or wildfires, emergency response teams can utilize the Wind API to anticipate wind patterns. This information is critical for planning evacuations, positioning emergency shelters, and deploying resources effectively. Accurate wind forecasts help authorities make timely decisions, ensuring the safety of affected populations.

 

Are there any limitations to your plans?

Besides the number of API calls available for the plan, there are no other limitations.

API Documentation

Endpoints


In case you indicate a country in addition to the location you must indicate the value in the parameter as follows: Rome, Italy



                                                                            
GET https://zylalabs.com/api/5002/wind+by+location+api/6314/localized+wind
                                                                            
                                                                        

Localized Wind - Endpoint Features

Object Description
query [Required] Insert a city
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"request":{"type":"City","query":"Buenos Aires, Argentina","language":"en","unit":"m"},"location":{"name":"Buenos Aires","country":"Argentina","region":"Distrito Federal","lat":"-34.588","lon":"-58.673","timezone_id":"America\/Argentina\/Buenos_Aires","localtime":"2024-09-05 21:26","localtime_epoch":1725571560,"utc_offset":"-3.0"},"current":{"observation_time":"12:26 AM","temperature":15,"weather_code":113,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0008_clear_sky_night.png"],"weather_descriptions":["Clear"],"wind_speed":9,"wind_degree":10,"wind_dir":"N","pressure":1017,"precip":0,"humidity":39,"cloudcover":0,"feelslike":15,"uv_index":1,"visibility":10,"is_day":"no"}}
                                                                                                                                                                                                                    
                                                                                                    

Localized Wind - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5002/wind+by+location+api/6314/localized+wind?query=Buenos Aires' --header 'Authorization: Bearer YOUR_API_KEY' 


    

To use this endpoint you must indicate a latitude and longitude in the parameter.



                                                                            
GET https://zylalabs.com/api/5002/wind+by+location+api/6315/winds+by+coordinates
                                                                            
                                                                        

Winds by coordinates - Endpoint Features

Object Description
query [Required] Insert a latitude and longitude
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"request":{"type":"LatLon","query":"Lat -34.59 and Lon -58.67","language":"en","unit":"m"},"location":{"name":"Buenos Aires","country":"Argentina","region":"Distrito Federal","lat":"-34.588","lon":"-58.673","timezone_id":"America\/Argentina\/Buenos_Aires","localtime":"2024-09-05 21:27","localtime_epoch":1725571620,"utc_offset":"-3.0"},"current":{"observation_time":"12:27 AM","temperature":15,"weather_code":113,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0008_clear_sky_night.png"],"weather_descriptions":["Clear"],"wind_speed":9,"wind_degree":10,"wind_dir":"N","pressure":1017,"precip":0,"humidity":39,"cloudcover":0,"feelslike":15,"uv_index":1,"visibility":10,"is_day":"no"}}
                                                                                                                                                                                                                    
                                                                                                    

Winds by coordinates - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5002/wind+by+location+api/6315/winds+by+coordinates?query=-34.588,-58.673' --header 'Authorization: Bearer YOUR_API_KEY' 


    

To use this endpoint you must indicate in the parameters the name of a city and a date.

You will also have an optional parameter where you can indicate if you want the API to return weather data divided by each hour (1 or 0). 0 is the default value.

Returns data as of 2021.



                                                                            
GET https://zylalabs.com/api/5002/wind+by+location+api/6316/historical+wind
                                                                            
                                                                        

Historical Wind - Endpoint Features

Object Description
query [Required] Insert a city
historical_date [Required] Insert a date
hourly [Optional] Enter 1 to split the weather data by hours or 0 not to split.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"request":{"type":"City","query":"Buenos Aires, Argentina","language":"en","unit":"m"},"location":{"name":"Buenos Aires","country":"Argentina","region":"Distrito Federal","lat":"-34.588","lon":"-58.673","timezone_id":"America\/Argentina\/Buenos_Aires","localtime":"2024-09-05 21:27","localtime_epoch":1725571620,"utc_offset":"-3.0"},"current":{"observation_time":"12:27 AM","temperature":15,"weather_code":113,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0008_clear_sky_night.png"],"weather_descriptions":["Clear"],"wind_speed":9,"wind_degree":10,"wind_dir":"N","pressure":1017,"precip":0,"humidity":39,"cloudcover":0,"feelslike":15,"uv_index":1,"visibility":10,"is_day":"no"},"historical":{"2024-08-08":{"date":"2024-08-08","date_epoch":1723075200,"astro":{"sunrise":"07:42 AM","sunset":"06:19 PM","moonrise":"09:52 AM","moonset":"10:19 PM","moon_phase":"Waxing Crescent","moon_illumination":20},"mintemp":4,"maxtemp":8,"avgtemp":6,"totalsnow":0,"sunhour":1,"uv_index":2}}}
                                                                                                                                                                                                                    
                                                                                                    

Historical Wind - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5002/wind+by+location+api/6316/historical+wind?query=Buenos Aires&historical_date=2024-08-08' --header 'Authorization: Bearer YOUR_API_KEY' 


    

To use this endpoint you must specify a city, a start and end date in the parameters.

 



                                                                            
GET https://zylalabs.com/api/5002/wind+by+location+api/6317/historical+data+series
                                                                            
                                                                        

Historical Data Series - Endpoint Features

Object Description
historical_date_start [Required] Indicates a start date
historical_date_end [Required] Indicates an end date
query [Required] Insert a city
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"request":{"type":"City","query":"Buenos Aires, Argentina","language":"en","unit":"m"},"location":{"name":"Buenos Aires","country":"Argentina","region":"Distrito Federal","lat":"-34.588","lon":"-58.673","timezone_id":"America\/Argentina\/Buenos_Aires","localtime":"2024-09-05 21:27","localtime_epoch":1725571620,"utc_offset":"-3.0"},"current":{"observation_time":"12:27 AM","temperature":15,"weather_code":113,"weather_icons":["https:\/\/cdn.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0008_clear_sky_night.png"],"weather_descriptions":["Clear"],"wind_speed":9,"wind_degree":10,"wind_dir":"N","pressure":1017,"precip":0,"humidity":39,"cloudcover":0,"feelslike":15,"uv_index":1,"visibility":10,"is_day":"no"},"historical":{"2024-07-07":{"date":"2024-07-07","date_epoch":1720310400,"astro":{"sunrise":"08:02 AM","sunset":"05:58 PM","moonrise":"09:34 AM","moonset":"07:38 PM","moon_phase":"Waxing Crescent","moon_illumination":2},"mintemp":3,"maxtemp":10,"avgtemp":6,"totalsnow":0,"sunhour":9,"uv_index":3},"2024-07-08":{"date":"2024-07-08","date_epoch":1720396800,"astro":{"sunrise":"08:01 AM","sunset":"05:59 PM","moonrise":"10:08 AM","moonset":"08:40 PM","moon_phase":"Waxing Crescent","moon_illumination":10},"mintemp":2,"maxtemp":8,"avgtemp":5,"totalsnow":0,"sunhour":9,"uv_index":2},"2024-07-09":{"date":"2024-07-09","date_epoch":1720483200,"astro":{"sunrise":"08:01 AM","sunset":"05:59 PM","moonrise":"10:37 AM","moonset":"09:40 PM","moon_phase":"Waxing Crescent","moon_illumination":17},"mintemp":1,"maxtemp":8,"avgtemp":4,"totalsnow":0,"sunhour":9,"uv_index":2},"2024-07-10":{"date":"2024-07-10","date_epoch":1720569600,"astro":{"sunrise":"08:01 AM","sunset":"06:00 PM","moonrise":"11:03 AM","moonset":"10:36 PM","moon_phase":"Waxing Crescent","moon_illumination":24},"mintemp":1,"maxtemp":9,"avgtemp":5,"totalsnow":0,"sunhour":9,"uv_index":2}}}
                                                                                                                                                                                                                    
                                                                                                    

Historical Data Series - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5002/wind+by+location+api/6317/historical+data+series?historical_date_start=2024-07-07&historical_date_end=2024-07-10&query=Buenos Aires' --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 Wind 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

The Wind by Location API provides detailed weather data, focusing specifically on wind conditions and other related weather information.

The Wind by Location API aggregates real-time wind data from various weather stations, satellites, and meteorological sources. It utilizes advanced algorithms to process and deliver precise wind speed and direction information for a given geographical location.

Yes, the Wind by Location API is designed for easy integration. It supports multiple programming languages and frameworks, allowing seamless integration into mobile apps, websites, and other software applications.

The Wind by Location API provides parameters where you can indicate a location, coordinates and dates. It provides detailed current and historical weather data such as temperature, weather descriptions, wind speed and direction, atmospheric pressure, humidity, cloudiness and precipitation.

Data is updated in real time, ensuring that users receive the most up-to-date and accurate wind information available.

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
199ms

Category:


Related APIs