{"coord":{"lon":150.6,"lat":-34.9667},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"base":"stations","main":{"temp":16.6,"feels_like":15.7,"temp_min":16.07,"temp_max":18.36,"pressure":1005,"humidity":53},"visibility":10000,"wind":{"speed":6.71,"deg":280,"gust":9.83},"clouds":{"all":21},"dt":1687491111,"sys":{"type":2,"id":2010723,"country":"AU","sunrise":1687467934,"sunset":1687503217},"timezone":36000,"id":2166893,"name":"Falls Creek","cod":200}
curl --location --request GET 'https://zylalabs.com/api/39/current+weather+and+forecasted+weather+api/111/current+weather?q=boston,US&units=metric&lang=en&mode=json' --header 'Authorization: Bearer YOUR_API_KEY'
{"cod":"200","message":0,"cnt":40,"list":[{"dt":1667250000,"main":{"temp":16.32,"feels_like":16.04,"temp_min":15.48,"temp_max":16.32,"pressure":1013,"sea_level":1013,"grnd_level":1010,"humidity":78,"temp_kf":0.84},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"clouds":{"all":75},"wind":{"speed":1.32,"deg":232,"gust":1.51},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2022-10-31 21:00:00"},{"dt":1667260800,"main":{"temp":15.72,"feels_like":15.33,"temp_min":14.51,"temp_max":15.72,"pressure":1012,"sea_level":1012,"grnd_level":1009,"humidity":76,"temp_kf":1.21},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"clouds":{"all":83},"wind":{"speed":2.72,"deg":265,"gust":3.04},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2022-11-01 00:00:00"},{"dt":1667271600,"main":{"temp":13.69,"feels_like":13.31,"temp_min":12.38,"temp_max":13.69,"pressure":1012,"sea_level":1012,"grnd_level":1009,"humidity":84,"temp_kf":1.31},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":72},"wind":{"speed":3.33,"deg":243,"gust":4.44},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2022-11-01 03:00:00"},{"dt":1667282400,"main":{"temp":12,"feels_like":11.63,"temp_min":12,"temp_max":12,"pressure":1012,"sea_level":1012,"grnd_level":1010,"humidity":91,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":51},"wind":{"speed":3.53,"deg":242,"gust":5.17},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2022-11-01 06:00:00"},{"dt":1667293200,"main":{"temp":13.04,"feels_like":12.72,"temp_min":13.04,"temp_max":13.04,"pressure":1011,"sea_level":1011,"grnd_level":1009,"humidity":89,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":81},"wind":{"speed":3.84,"deg":216,"gust":5.57},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2022-11-01 09:00:00"},{"dt":1667304000,"main":{"temp":12.95,"feels_like":12.62,"temp_min":12.95,"temp_max":12.95,"pressure":1010,"sea_level":1010,"grnd_level":1008,"humidity":89,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":79},"wind":{"speed":3.71,"deg":201,"gust":5.92},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2022-11-01 12:00:00"},{"dt":1667314800,"main":{"temp":12.86,"feels_like":12.47,"temp_min":12.86,"temp_max":12.86,"pressure":1009,"sea_level":1009,"grnd_level":1007,"humidity":87,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":89},"wind":{"speed":4.6,"deg":161,"gust":7.11},"visibility":10000,"pop":0.03,"sys":{"pod":"d"},"dt_txt":"2022-11-01 15:00:00"},{"dt":1667325600,"main":{"temp":12.61,"feels_like":12.2,"temp_min":12.61,"temp_max":12.61,"pressure":1010,"sea_level":1010,"grnd_level":1008,"humidity":87,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":94},"wind":{"speed":6.09,"deg":265,"gust":11.73},"visibility":7480,"pop":0.66,"rain":{"3h":1.6},"sys":{"pod":"d"},"dt_txt":"2022-11-01 18:00:00"},{"dt":1667336400,"main":{"temp":11.6,"feels_like":10.8,"temp_min":11.6,"temp_max":11.6,"pressure":1010,"sea_level":1010,"grnd_level":1008,"humidity":76,"temp_kf":0},"weather":[{"id":501,"main":"Rain","description":"moderate rain","icon":"10d"}],"clouds":{"all":100},"wind":{"speed":7.71,"deg":276,"gust":11.22},"visibility":10000,"pop":1,"rain":{"3h":5.53},"sys":{"pod":"d"},"dt_txt":"2022-11-01 21:00:00"},{"dt":1667347200,"main":{"temp":12.15,"feels_like":11.38,"temp_min":12.15,"temp_max":12.15,"pressure":1011,"sea_level":1011,"grnd_level":1009,"humidity":75,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"clouds":{"all":64},"wind":{"speed":8.21,"deg":276,"gust":11.59},"visibility":10000,"pop":0.8,"sys":{"pod":"d"},"dt_txt":"2022-11-02 00:00:00"},{"dt":1667358000,"main":{"temp":11.35,"feels_like":10.53,"temp_min":11.35,"temp_max":11.35,"pressure":1014,"sea_level":1014,"grnd_level":1012,"humidity":76,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":2},"wind":{"speed":6.53,"deg":283,"gust":10.21},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2022-11-02 03:00:00"},{"dt":1667368800,"main":{"temp":11.12,"feels_like":10.27,"temp_min":11.12,"temp_max":11.12,"pressure":1016,"sea_level":1016,"grnd_level":1014,"humidity":76,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":10},"wind":{"speed":4.36,"deg":271,"gust":6.44},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2022-11-02 06:00:00"},{"dt":1667379600,"main":{"temp":10.82,"feels_like":9.99,"temp_min":10.82,"temp_max":10.82,"pressure":1016,"sea_level":1016,"grnd_level":1015,"humidity":78,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":98},"wind":{"speed":3.47,"deg":265,"gust":5.68},"visibility":10000,"pop":0.35,"rain":{"3h":0.51},"sys":{"pod":"n"},"dt_txt":"2022-11-02 09:00:00"},{"dt":1667390400,"main":{"temp":10.69,"feels_like":9.75,"temp_min":10.69,"temp_max":10.69,"pressure":1017,"sea_level":1017,"grnd_level":1015,"humidity":74,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":99},"wind":{"speed":3.17,"deg":271,"gust":4.32},"visibility":10000,"pop":0.33,"sys":{"pod":"n"},"dt_txt":"2022-11-02 12:00:00"},{"dt":1667401200,"main":{"temp":10.23,"feels_like":9.21,"temp_min":10.23,"temp_max":10.23,"pressure":1018,"sea_level":1018,"grnd_level":1016,"humidity":73,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":97},"wind":{"speed":2.83,"deg":281,"gust":3.76},"visibility":10000,"pop":0.04,"sys":{"pod":"d"},"dt_txt":"2022-11-02 15:00:00"},{"dt":1667412000,"main":{"temp":12.09,"feels_like":10.97,"temp_min":12.09,"temp_max":12.09,"pressure":1019,"sea_level":1019,"grnd_level":1017,"humidity":62,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"clouds":{"all":84},"wind":{"speed":3.29,"deg":281,"gust":4.32},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2022-11-02 18:00:00"},{"dt":1667422800,"main":{"temp":12.61,"feels_like":11.44,"temp_min":12.61,"temp_max":12.61,"pressure":1018,"sea_level":1018,"grnd_level":1016,"humidity":58,"temp_kf":0},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"clouds":{"all":37},"wind":{"speed":5.36,"deg":274,"gust":6.46},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2022-11-02 21:00:00"},{"dt":1667433600,"main":{"temp":11.73,"feels_like":10.66,"temp_min":11.73,"temp_max":11.73,"pressure":1018,"sea_level":1018,"grnd_level":1016,"humidity":65,"temp_kf":0},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"clouds":{"all":47},"wind":{"speed":6.19,"deg":281,"gust":8.05},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2022-11-03 00:00:00"},{"dt":1667444400,"main":{"temp":10.93,"feels_like":9.91,"temp_min":10.93,"temp_max":10.93,"pressure":1018,"sea_level":1018,"grnd_level":1016,"humidity":70,"temp_kf":0},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02n"}],"clouds":{"all":21},"wind":{"speed":6.45,"deg":293,"gust":9.8},"visibility":10000,"pop":0.01,"sys":{"pod":"n"},"dt_txt":"2022-11-03 03:00:00"},{"dt":1667455200,"main":{"temp":10.8,"feels_like":9.71,"temp_min":10.8,"temp_max":10.8,"pressure":1018,"sea_level":1018,"grnd_level":1016,"humidity":68,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":59},"wind":{"speed":6.32,"deg":294,"gust":9.7},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2022-11-03 06:00:00"},{"dt":1667466000,"main":{"temp":9.94,"feels_like":6.85,"temp_min":9.94,"temp_max":9.94,"pressure":1018,"sea_level":1018,"grnd_level":1016,"humidity":73,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":66},"wind":{"speed":7.03,"deg":306,"gust":9.56},"visibility":10000,"pop":0.04,"sys":{"pod":"n"},"dt_txt":"2022-11-03 09:00:00"},{"dt":1667476800,"main":{"temp":8.72,"feels_like":6.25,"temp_min":8.72,"temp_max":8.72,"pressure":1018,"sea_level":1018,"grnd_level":1016,"humidity":74,"temp_kf":0},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03n"}],"clouds":{"all":49},"wind":{"speed":4.38,"deg":344,"gust":8.15},"visibility":10000,"pop":0,"sys":{"pod":"n"},"dt_txt":"2022-11-03 12:00:00"},{"dt":1667487600,"main":{"temp":7.81,"feels_like":6.06,"temp_min":7.81,"temp_max":7.81,"pressure":1020,"sea_level":1020,"grnd_level":1018,"humidity":73,"temp_kf":0},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"clouds":{"all":23},"wind":{"speed":2.73,"deg":349,"gust":3.12},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2022-11-03 15:00:00"},{"dt":1667498400,"main":{"temp":10.18,"feels_like":8.79,"temp_min":10.18,"temp_max":10.18,"pressure":1022,"sea_level":1022,"grnd_level":1020,"humidity":59,"temp_kf":0},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"clouds":{"all":16},"wind":{"speed":2.07,"deg":355,"gust":2.87},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2022-11-03 18:00:00"},{"dt":1667509200,"main":{"temp":11.88,"feels_like":10.43,"temp_min":11.88,"temp_max":11.88,"pressure":1022,"sea_level":1022,"grnd_level":1020,"humidity":50,"temp_kf":0},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"clouds":{"all":11},"wind":{"speed":2.65,"deg":289,"gust":3.58},"visibility":10000,"pop":0,"sys":{"pod":"d"},"dt_txt":"2022-11-03 21:00:00"},{"dt":1667520000,"main":{"temp":11.77,"feels_like":10.52,"temp_min":11.77,"temp_max":11.77,"pressure":1021,"sea_level":1021}}],"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/39/current+weather+and+forecasted+weather+api/112/forecasted+data+-+five+days?q=san francisco, US&units=metric&mode=json&lang=en' --header 'Authorization: Bearer YOUR_API_KEY'
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 Current Weather and Forecasted Weather API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
This API will help you to retrieve current weather data and also forecasted data. You will be able to check the next five and sixteen days!
This API can receive either, the ZIP code of the city we want to check, the name of the city, or the latitude and longitude of the location. All this information will give us detailed data about the current or forecasted weather.
This API is ideal for those companies that want to integrate climate information with their APPs, or maybe integrate them into their website.
This API also could help several organizations to check the forecasted weather and determine if the climate conditions are favorable or not, depending on their activity.
Besides API call limitations per month:
The Current Weather endpoint returns real-time weather conditions, including temperature, humidity, wind speed, and weather descriptions. The Five Days Forecast endpoint provides forecast data at 3-hour intervals, detailing temperature, humidity, wind conditions, and weather descriptions for the next five days.
Key fields include "temp" (temperature), "feels_like" (apparent temperature), "humidity" (moisture level), "wind" (speed and direction), and "weather" (conditions like clear or cloudy). Each field provides essential insights into current and forecasted weather.
The response data is structured in JSON format, with nested objects for detailed information. For example, the "main" object contains temperature and humidity, while the "weather" array provides descriptions and icons for conditions, allowing easy parsing and usage.
Users can query the endpoints using parameters such as city name, ZIP code, or geographic coordinates (latitude and longitude). This flexibility allows for precise location targeting when retrieving weather data.
The Current Weather endpoint provides current conditions, including temperature, wind speed, and weather descriptions. The Five Days Forecast endpoint offers detailed forecasts, including temperature changes, humidity levels, and wind conditions at 3-hour intervals.
Users can customize requests by specifying location parameters (city name, ZIP code, or coordinates) and choosing between metric or imperial units. Additionally, they can select the response format as JSON or XML to suit their application needs.
The API aggregates weather data from various meteorological sources, ensuring comprehensive coverage and accuracy. Data is regularly updated to reflect current conditions and forecasts, maintaining high quality and reliability.
Common use cases include integrating weather information into mobile apps, websites, and dashboards. Businesses may use the data for planning activities based on weather conditions, while individuals can check forecasts for travel or outdoor events.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund