Geographical Weather API designed to provide users with essential weather information based on geographic coordinates. With this API, users can access detailed forecasts, current weather observations, and real-time alerts tailored to specific locations defined by latitude and longitude.
The API provides complete weather forecasts for designated latitude and longitude coordinates. Users can retrieve forecasts for various time periods, including hourly, daily, and weekly forecasts. These forecasts include essential weather parameters such as temperature, precipitation, humidity and wind speed, allowing users to plan activities and make informed decisions based on upcoming weather conditions.
Current Observations: Real-time weather observations for specific latitude and longitude coordinates are available through the API. Users can access up-to-the-minute information on temperature, humidity, wind speed and direction, precipitation, and other relevant weather metrics. This feature allows users to stay informed about current weather conditions at their desired locations.
The API is designed for seamless integration into various applications, websites and platforms. With its endpoint and complete documentation, developers can easily incorporate weather data based on latitude and longitude coordinates into their projects, improving the functionality and usability of their applications.
In conclusion, the Geographical Weather API offers a comprehensive solution for accessing forecasts, current observations, and alerts based on geographic coordinates. Easy integration and reliable performance, the API serves as a valuable resource for users in various industries and applications that require accurate and timely weather information for specific locations defined by latitude and longitude.
It will receive parameters and provide you with a JSON.
1,000 requests per hour in all plans.
To use this endpoint you must indicate a latitude and longitude in the parameters.
Weather Information - Endpoint Features
| Object | Description |
|---|---|
lat |
[Required] Enter a latitude |
lng |
[Required] Enter a longitude |
{"location":{"region":"wrh","latitude":"38.07","longitude":"-120.65","elevation":"1398","wfo":"STO","timezone":"P|Y|8","areaDescription":"6 Miles W Angels CA","radar":"KDAX","zone":"CAZ067","county":"CAC009","firezone":"CAZ220","metar":"ESPC1"},"currentObservation":{"id":"ESPC1","name":"BANNER ROAD","observationDate":"07 Aug 10:13 AM PDT","temperature":99,"dewpoint":38,"relativeHumidity":"12%","windSpeed":4,"windDirection":"S","windGusts":"NA","weather":"NA","icon":"https://forecast.weather.gov/images/wtf/large/NULL","visibility":"NA","altimeter":"NA","seaLevelPressure":"NA","timezone":"PST","state":"CA","feelsLike":"NA"},"days":[{"id":1,"name":"Today","startTime":"2024-08-07T11:00:00-07:00","endTime":"2024-08-07T18:00:00-07:00","isDaytime":true,"temperature":103,"temperatureTrend":"","probabilityOfPrecipitation":"null%","dewpoint":"--","relativeHumidity":"","windSpeed":"5 to 9 mph","windDirection":"W","icon":"https://api.weather.gov/icons/land/day/hot?size=medium","shortForecast":"Sunny","detailedForecast":"Sunny. High near 103, with temperatures falling to around 101 in the afternoon. West wind 5 to 9 mph.","hourly":[{"id":1,"name":"","startTime":"2024-08-07T11:00:00-07:00","endTime":"2024-08-07T12:00:00-07:00","isDaytime":true,"temperature":99,"temperatureTrend":"","probabilityOfPrecipitation":"0%","dewpoint":"42°","relativeHumidity":"14%","windSpeed":"5 mph","windDirection":"WSW","icon":"https://api.weather.gov/icons/land/day/hot?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":2,"name":"","startTime":"2024-08-07T12:00:00-07:00","endTime":"2024-08-07T13:00:00-07:00","isDaytime":true,"temperature":101,"temperatureTrend":"","probabilityOfPrecipitation":"1%","dewpoint":"41°","relativeHumidity":"13%","windSpeed":"6 mph","windDirection":"WSW","icon":"https://api.weather.gov/icons/land/day/hot?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":3,"name":"","startTime":"2024-08-07T13:00:00-07:00","endTime":"2024-08-07T14:00:00-07:00","isDaytime":true,"temperature":101,"temperatureTrend":"","probabilityOfPrecipitation":"1%","dewpoint":"42°","relativeHumidity":"13%","windSpeed":"8 mph","windDirection":"WSW","icon":"https://api.weather.gov/icons/land/day/hot?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":4,"name":"","startTime":"2024-08-07T14:00:00-07:00","endTime":"2024-08-07T15:00:00-07:00","isDaytime":true,"temperature":102,"temperatureTrend":"","probabilityOfPrecipitation":"2%","dewpoint":"42°","relativeHumidity":"13%","windSpeed":"8 mph","windDirection":"WSW","icon":"https://api.weather.gov/icons/land/day/hot?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":5,"name":"","startTime":"2024-08-07T15:00:00-07:00","endTime":"2024-08-07T16:00:00-07:00","isDaytime":true,"temperature":102,"temperatureTrend":"","probabilityOfPrecipitation":"2%","dewpoint":"40°","relativeHumidity":"12%","windSpeed":"9 mph","windDirection":"W","icon":"https://api.weather.gov/icons/land/day/hot?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":6,"name":"","startTime":"2024-08-07T16:00:00-07:00","endTime":"2024-08-07T17:00:00-07:00","isDaytime":true,"temperature":102,"temperatureTrend":"","probabilityOfPrecipitation":"2%","dewpoint":"42°","relativeHumidity":"13%","windSpeed":"9 mph","windDirection":"W","icon":"https://api.weather.gov/icons/land/day/hot?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":7,"name":"","startTime":"2024-08-07T17:00:00-07:00","endTime":"2024-08-07T18:00:00-07:00","isDaytime":true,"temperature":101,"temperatureTrend":"","probabilityOfPrecipitation":"2%","dewpoint":"44°","relativeHumidity":"14%","windSpeed":"9 mph","windDirection":"W","icon":"https://api.weather.gov/icons/land/day/hot?size=small","shortForecast":"Sunny","detailedForecast":""}]},{"id":2,"name":"Tonight","startTime":"2024-08-07T18:00:00-07:00","endTime":"2024-08-08T06:00:00-07:00","isDaytime":false,"temperature":68,"temperatureTrend":"","probabilityOfPrecipitation":"null%","dewpoint":"--","relativeHumidity":"","windSpeed":"1 to 9 mph","windDirection":"NNW","icon":"https://api.weather.gov/icons/land/night/few?size=medium","shortForecast":"Mostly Clear","detailedForecast":"Mostly clear, with a low around 68. North northwest wind 1 to 9 mph.","hourly":[{"id":8,"name":"","startTime":"2024-08-07T18:00:00-07:00","endTime":"2024-08-07T19:00:00-07:00","isDaytime":false,"temperature":100,"temperatureTrend":"","probabilityOfPrecipitation":"2%","dewpoint":"44°","relativeHumidity":"15%","windSpeed":"9 mph","windDirection":"WNW","icon":"https://api.weather.gov/icons/land/night/skc?size=small","shortForecast":"Clear","detailedForecast":""},{"id":9,"name":"","startTime":"2024-08-07T19:00:00-07:00","endTime":"2024-08-07T20:00:00-07:00","isDaytime":false,"temperature":97,"temperatureTrend":"","probabilityOfPrecipitation":"2%","dewpoint":"44°","relativeHumidity":"16%","windSpeed":"7 mph","windDirection":"WNW","icon":"https://api.weather.gov/icons/land/night/skc?size=small","shortForecast":"Clear","detailedForecast":""},{"id":10,"name":"","startTime":"2024-08-07T20:00:00-07:00","endTime":"2024-08-07T21:00:00-07:00","isDaytime":false,"temperature":90,"temperatureTrend":"","probabilityOfPrecipitation":"2%","dewpoint":"42°","relativeHumidity":"19%","windSpeed":"6 mph","windDirection":"NW","icon":"https://api.weather.gov/icons/land/night/skc?size=small","shortForecast":"Clear","detailedForecast":""},{"id":11,"name":"","startTime":"2024-08-07T21:00:00-07:00","endTime":"2024-08-07T22:00:00-07:00","isDaytime":false,"temperature":85,"temperatureTrend":"","probabilityOfPrecipitation":"2%","dewpoint":"44°","relativeHumidity":"24%","windSpeed":"5 mph","windDirection":"NNW","icon":"https://api.weather.gov/icons/land/night/skc?size=small","shortForecast":"Clear","detailedForecast":""},{"id":12,"name":"","startTime":"2024-08-07T22:00:00-07:00","endTime":"2024-08-07T23:00:00-07:00","isDaytime":false,"temperature":81,"temperatureTrend":"","probabilityOfPrecipitation":"1%","dewpoint":"43°","relativeHumidity":"26%","windSpeed":"3 mph","windDirection":"N","icon":"https://api.weather.gov/icons/land/night/few?size=small","shortForecast":"Mostly Clear","detailedForecast":""},{"id":13,"name":"","startTime":"2024-08-07T23:00:00-07:00","endTime":"2024-08-08T00:00:00-07:00","isDaytime":false,"temperature":79,"temperatureTrend":"","probabilityOfPrecipitation":"1%","dewpoint":"44°","relativeHumidity":"29%","windSpeed":"2 mph","windDirection":"N","icon":"https://api.weather.gov/icons/land/night/few?size=small","shortForecast":"Mostly Clear","detailedForecast":""}]},{"id":3,"name":"Thursday","startTime":"2024-08-08T06:00:00-07:00","endTime":"2024-08-08T18:00:00-07:00","isDaytime":true,"temperature":99,"temperatureTrend":"","probabilityOfPrecipitation":"null%","dewpoint":"--","relativeHumidity":"","windSpeed":"1 to 10 mph","windDirection":"NW","icon":"https://api.weather.gov/icons/land/day/hot?size=medium","shortForecast":"Sunny","detailedForecast":"Sunny, with a high near 99. Northwest wind 1 to 10 mph.","hourly":[{"id":20,"name":"","startTime":"2024-08-08T06:00:00-07:00","endTime":"2024-08-08T07:00:00-07:00","isDaytime":true,"temperature":69,"temperatureTrend":"","probabilityOfPrecipitation":"0%","dewpoint":"45°","relativeHumidity":"43%","windSpeed":"1 mph","windDirection":"NNW","icon":"https://api.weather.gov/icons/land/day/few?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":21,"name":"","startTime":"2024-08-08T07:00:00-07:00","endTime":"2024-08-08T08:00:00-07:00","isDaytime":true,"temperature":70,"temperatureTrend":"","probabilityOfPrecipitation":"0%","dewpoint":"46°","relativeHumidity":"43%","windSpeed":"1 mph","windDirection":"NNW","icon":"https://api.weather.gov/icons/land/day/few?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":22,"name":"","startTime":"2024-08-08T08:00:00-07:00","endTime":"2024-08-08T09:00:00-07:00","isDaytime":true,"temperature":75,"temperatureTrend":"","probabilityOfPrecipitation":"0%","dewpoint":"46°","relativeHumidity":"36%","windSpeed":"2 mph","windDirection":"N","icon":"https://api.weather.gov/icons/land/day/skc?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":23,"name":"","startTime":"2024-08-08T09:00:00-07:00","endTime":"2024-08-08T10:00:00-07:00","isDaytime":true,"temperature":81,"temperatureTrend":"","probabilityOfPrecipitation":"0%","dewpoint":"45°","relativeHumidity":"28%","windSpeed":"2 mph","windDirection":"N","icon":"https://api.weather.gov/icons/land/day/skc?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":24,"name":"","startTime":"2024-08-08T10:00:00-07:00","endTime":"2024-08-08T11:00:00-07:00","isDaytime":true,"temperature":90,"temperatureTrend":"","probabilityOfPrecipitation":"0%","dewpoint":"45°","relativeHumidity":"21%","windSpeed":"2 mph","windDirection":"N","icon":"https://api.weather.gov/icons/land/day/skc?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":25,"name":"","startTime":"2024-08-08T11:00:00-07:00","endTime":"2024-08-08T12:00:00-07:00","isDaytime":true,"temperature":94,"temperatureTrend":"","probabilityOfPrecipitation":"0%","dewpoint":"43°","relativeHumidity":"17%","windSpeed":"6 mph","windDirection":"W","icon":"https://api.weather.gov/icons/land/day/few?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":26,"name":"","startTime":"2024-08-08T12:00:00-07:00","endTime":"2024-08-08T13:00:00-07:00","isDaytime":true,"temperature":97,"temperatureTrend":"","probabilityOfPrecipitation":"0%","dewpoint":"42°","relativeHumidity":"15%","windSpeed":"6 mph","windDirection":"W","icon":"https://api.weather.gov/icons/land/day/hot?size=small","shortForecast":"Sunny","detailedForecast":""},{"id":27,"name":"","startTime":"2024-08-08T13:00:00-07:00","endTime":"2024-08-08T14:00:00-07:00","isDaytime":true,"temperature":98,"temperatureTrend":"","probabilityOfPrecipitation":"0%","dewpoint":"43°","relativeHumidity":"15%","windSpeed":"6 mph","windDirection":"W"}]}],"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/3531/geographical+weather+api/3873/weather+information?lat=40.7128&lng=-74.006' --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.
Users must enter a latitude and longitude to obtain weather information about the given location.
The Geographical Weather API provides users with weather information based on geographic coordinates, such as latitude and longitude.
There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid 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.
The Geographical Weather API returns current weather observations, forecasts, and alerts based on specified latitude and longitude. This includes temperature, humidity, wind speed, precipitation, and weather conditions.
Key fields in the response include "currentObservation" (temperature, humidity, wind speed), "days" (forecast details like temperature and precipitation probability), and "location" (geographic details such as region and timezone).
The response is structured in JSON format, with main sections for "location," "currentObservation," and "days." Each section contains relevant data fields, making it easy to parse and utilize in applications.
Each endpoint provides real-time weather data, including current conditions, hourly and daily forecasts, and alerts. Users can access detailed metrics like temperature, wind direction, and precipitation probabilities.
The primary parameters are latitude and longitude, which define the geographic location for which weather data is requested. Users can customize requests by specifying these coordinates.
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 outdoor event planning, trip planning, construction scheduling, farm management, and logistics optimization, allowing users to make informed decisions based on weather conditions.
Users can extract specific fields from the JSON response to display current weather, forecast details, or alerts in their applications. For example, they can show temperature and precipitation to inform users about upcoming weather conditions.
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:
838ms
Service Level:
100%
Response Time:
2,034ms
Service Level:
100%
Response Time:
79ms
Service Level:
100%
Response Time:
875ms
Service Level:
100%
Response Time:
83ms
Service Level:
100%
Response Time:
683ms
Service Level:
100%
Response Time:
395ms
Service Level:
100%
Response Time:
830ms
Service Level:
100%
Response Time:
1,000ms
Service Level:
100%
Response Time:
77ms
Service Level:
100%
Response Time:
6,148ms
Service Level:
100%
Response Time:
568ms
Service Level:
100%
Response Time:
482ms
Service Level:
100%
Response Time:
267ms
Service Level:
100%
Response Time:
1,011ms
Service Level:
100%
Response Time:
332ms
Service Level:
100%
Response Time:
275ms
Service Level:
100%
Response Time:
2,081ms
Service Level:
100%
Response Time:
355ms
Service Level:
100%
Response Time:
604ms