Geographical Weather API

The Geographical Weather API offers forecasts, current observations, and alerts tailored to specific geographic coordinates for accurate weather information.

About the API:  

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.

 

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. Outdoor Event Planning: Event organizers use the API to check forecasts and weather conditions for outdoor events such as weddings, concerts, and festivals.

    Trip planning: Travelers use the API to access weather forecasts for their destination, making sure to pack the right clothing and plan outdoor activities accordingly.

    Construction Projects: Construction companies rely on the API to monitor weather conditions at job sites to plan work schedules and ensure safety protocols are followed.

    Farm Management: Farmers use the API to track weather forecasts and conditions for planting, harvesting, and irrigation planning to optimize crop performance.

    Logistics and transportation: Logistics companies leverage the API to plan routes, schedules, and shipping operations based on weather forecasts to minimize delays and disruptions.

     

Are there any limitations to your plans?

1,000 requests per hour in all plans.

API Documentation

Endpoints


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



                                                                            
GET https://zylalabs.com/api/3531/geographical+weather+api/3873/weather+information
                                                                            
                                                                        

Weather Information - Endpoint Features

Object Description
lat [Required] Enter a latitude
lng [Required] Enter a longitude
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"location":{"region":"erh","latitude":"40.71","longitude":"-74.01","elevation":"7","wfo":"OKX","timezone":"E|Y|5","areaDescription":"New York NY","radar":"KDIX","zone":"NYZ072","county":"NYC061","firezone":"NYZ212","metar":"KNYC"},"currentObservation":{"id":"KNYC","name":"New York City, Central Park","observationDate":"26 Sep 10:51 am EDT","temperature":69,"dewpoint":66,"relativeHumidity":"90%","windSpeed":3,"windDirection":"W","windGusts":"NA","weather":" Light Rain Fog/Mist","icon":"https://forecast.weather.gov/images/wtf/large/ra.png","visibility":"3.00","altimeter":"1019.2","seaLevelPressure":"30.13","timezone":"EDT","state":"NY","feelsLike":"NA"},"days":[{"id":1,"name":"Today","startTime":"2024-09-26T10:00:00-04:00","endTime":"2024-09-26T18:00:00-04:00","isDaytime":true,"temperature":74,"temperatureTrend":"","probabilityOfPrecipitation":"70%","dewpoint":"--","relativeHumidity":"","windSpeed":"12 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/day/tsra,70?size=medium","shortForecast":"Showers And Thunderstorms Likely","detailedForecast":"Showers and thunderstorms likely before 5pm, then a slight chance of showers and thunderstorms. Cloudy. High near 74, with temperatures falling to around 72 in the afternoon. South wind around 12 mph. Chance of precipitation is 70%. New rainfall amounts between a tenth and quarter of an inch possible.","hourly":[{"id":1,"name":"","startTime":"2024-09-26T10:00:00-04:00","endTime":"2024-09-26T11:00:00-04:00","isDaytime":true,"temperature":68,"temperatureTrend":"","probabilityOfPrecipitation":"56%","dewpoint":"67°","relativeHumidity":"97%","windSpeed":"10 mph","windDirection":"SE","icon":"https://api.weather.gov/icons/land/day/tsra,60?size=small","shortForecast":"Showers And Thunderstorms Likely","detailedForecast":""},{"id":2,"name":"","startTime":"2024-09-26T11:00:00-04:00","endTime":"2024-09-26T12:00:00-04:00","isDaytime":true,"temperature":68,"temperatureTrend":"","probabilityOfPrecipitation":"65%","dewpoint":"68°","relativeHumidity":"100%","windSpeed":"12 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/day/tsra,70?size=small","shortForecast":"Showers And Thunderstorms Likely","detailedForecast":""},{"id":3,"name":"","startTime":"2024-09-26T12:00:00-04:00","endTime":"2024-09-26T13:00:00-04:00","isDaytime":true,"temperature":69,"temperatureTrend":"","probabilityOfPrecipitation":"65%","dewpoint":"69°","relativeHumidity":"100%","windSpeed":"12 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/day/tsra,70?size=small","shortForecast":"Showers And Thunderstorms Likely","detailedForecast":""},{"id":4,"name":"","startTime":"2024-09-26T13:00:00-04:00","endTime":"2024-09-26T14:00:00-04:00","isDaytime":true,"temperature":70,"temperatureTrend":"","probabilityOfPrecipitation":"65%","dewpoint":"70°","relativeHumidity":"100%","windSpeed":"12 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/day/tsra,70?size=small","shortForecast":"Showers And Thunderstorms Likely","detailedForecast":""},{"id":5,"name":"","startTime":"2024-09-26T14:00:00-04:00","endTime":"2024-09-26T15:00:00-04:00","isDaytime":true,"temperature":71,"temperatureTrend":"","probabilityOfPrecipitation":"41%","dewpoint":"70°","relativeHumidity":"97%","windSpeed":"12 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/day/tsra,40?size=small","shortForecast":"Chance Showers And Thunderstorms","detailedForecast":""},{"id":6,"name":"","startTime":"2024-09-26T15:00:00-04:00","endTime":"2024-09-26T16:00:00-04:00","isDaytime":true,"temperature":72,"temperatureTrend":"","probabilityOfPrecipitation":"41%","dewpoint":"71°","relativeHumidity":"97%","windSpeed":"12 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/day/tsra,40?size=small","shortForecast":"Chance Showers And Thunderstorms","detailedForecast":""},{"id":7,"name":"","startTime":"2024-09-26T16:00:00-04:00","endTime":"2024-09-26T17:00:00-04:00","isDaytime":true,"temperature":72,"temperatureTrend":"","probabilityOfPrecipitation":"41%","dewpoint":"72°","relativeHumidity":"100%","windSpeed":"12 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/day/tsra,40?size=small","shortForecast":"Chance Showers And Thunderstorms","detailedForecast":""},{"id":8,"name":"","startTime":"2024-09-26T17:00:00-04:00","endTime":"2024-09-26T18:00:00-04:00","isDaytime":true,"temperature":72,"temperatureTrend":"","probabilityOfPrecipitation":"20%","dewpoint":"72°","relativeHumidity":"100%","windSpeed":"12 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/day/tsra,20?size=small","shortForecast":"Slight Chance Showers And Thunderstorms","detailedForecast":""}]},{"id":2,"name":"Tonight","startTime":"2024-09-26T18:00:00-04:00","endTime":"2024-09-27T06:00:00-04:00","isDaytime":false,"temperature":67,"temperatureTrend":"","probabilityOfPrecipitation":"50%","dewpoint":"--","relativeHumidity":"","windSpeed":"6 to 10 mph","windDirection":"W","icon":"https://api.weather.gov/icons/land/night/tsra,50?size=medium","shortForecast":"Chance Showers And Thunderstorms","detailedForecast":"A chance of showers and thunderstorms before 2am, then a chance of showers and thunderstorms. Cloudy. Low around 67, with temperatures rising to around 69 overnight. West wind 6 to 10 mph. Chance of precipitation is 50%. New rainfall amounts between a tenth and quarter of an inch possible.","hourly":[{"id":9,"name":"","startTime":"2024-09-26T18:00:00-04:00","endTime":"2024-09-26T19:00:00-04:00","isDaytime":false,"temperature":72,"temperatureTrend":"","probabilityOfPrecipitation":"20%","dewpoint":"71°","relativeHumidity":"97%","windSpeed":"10 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/night/tsra,20?size=small","shortForecast":"Slight Chance Showers And Thunderstorms","detailedForecast":""},{"id":10,"name":"","startTime":"2024-09-26T19:00:00-04:00","endTime":"2024-09-26T20:00:00-04:00","isDaytime":false,"temperature":73,"temperatureTrend":"","probabilityOfPrecipitation":"20%","dewpoint":"70°","relativeHumidity":"90%","windSpeed":"9 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/night/tsra,20?size=small","shortForecast":"Slight Chance Showers And Thunderstorms","detailedForecast":""},{"id":11,"name":"","startTime":"2024-09-26T20:00:00-04:00","endTime":"2024-09-26T21:00:00-04:00","isDaytime":false,"temperature":73,"temperatureTrend":"","probabilityOfPrecipitation":"45%","dewpoint":"70°","relativeHumidity":"90%","windSpeed":"9 mph","windDirection":"S","icon":"https://api.weather.gov/icons/land/night/tsra,50?size=small","shortForecast":"Chance Showers And Thunderstorms","detailedForecast":""},{"id":12,"name":"","startTime":"2024-09-26T21:00:00-04:00","endTime":"2024-09-26T22:00:00-04:00","isDaytime":false,"temperature":73,"temperatureTrend":"","probabilityOfPrecipitation":"45%","dewpoint":"70°","relativeHumidity":"90%","windSpeed":"8 mph","windDirection":"SW","icon":"https://api.weather.gov/icons/land/night/tsra,50?size=small","shortForecast":"Chance Showers And Thunderstorms","detailedForecast":""},{"id":13,"name":"","startTime":"2024-09-26T22:00:00-04:00","endTime":"2024-09-26T23:00:00-04:00","isDaytime":false,"temperature":72,"temperatureTrend":"","probabilityOfPrecipitation":"45%","dewpoint":"69°","relativeHumidity":"90%","windSpeed":"7 mph","windDirection":"SW","icon":"https://api.weather.gov/icons/land/night/tsra,50?size=small","shortForecast":"Chance Showers And Thunderstorms","detailedForecast":""},{"id":14,"name":"","startTime":"2024-09-26T23:00:00-04:00","endTime":"2024-09-27T00:00:00-04:00","isDaytime":false,"temperature":72,"temperatureTrend":"","probabilityOfPrecipitation":"45%","dewpoint":"69°","relativeHumidity":"90%","windSpeed":"7 mph","windDirection":"SW","icon":"https://api.weather.gov/icons/land/night/tsra,50?size=small","shortForecast":"Chance Showers And Thunderstorms","detailedForecast":""}]},{"id":3,"name":"Friday","startTime":"2024-09-27T06:00:00-04:00","endTime":"2024-09-27T18:00:00-04:00","isDaytime":true,"temperature":72,"temperatureTrend":"","probabilityOfPrecipitation":"40%","dewpoint":"--","relativeHumidity":"","windSpeed":"7 mph","windDirection":"NE","icon":"https://api.weather.gov/icons/land/day/rain_showers,40/rain_showers,20?size=medium","shortForecast":"Chance Rain Showers","detailedForecast":"A chance of rain showers. Cloudy, with a high near 72. Northeast wind around 7 mph. Chance of precipitation is 40%. New rainfall amounts between a tenth and quarter of an inch possible.","hourly":[{"id":21,"name":"","startTime":"2024-09-27T06:00:00-04:00","endTime":"2024-09-27T07:00:00-04:00","isDaytime":true,"temperature":68,"temperatureTrend":"","probabilityOfPrecipitation":"43%","dewpoint":"66°","relativeHumidity":"93%","windSpeed":"6 mph","windDirection":"N","icon":"https://api.weather.gov/icons/land/day/rain_showers,40?size=small","shortForecast":"Chance Rain Showers","detailedForecast":""},{"id":22,"name":"","startTime":"2024-09-27T07:00:00-04:00","endTime":"2024-09-27T08:00:00-04:00","isDaytime":true,"temperature":68,"temperatureTrend":"","probabilityOfPrecipitation":"43%","dewpoint":"65°","relativeHumidity":"90%","windSpeed":"6 mph","windDirection":"NE","icon":"https://api.weather.gov/icons/land/day/rain_showers,40?size=small","shortForecast":"Chance Rain Showers","detailedForecast":""},{"id":23,"name":"","startTime":"2024-09-27T08:00:00-04:00","endTime":"2024-09-27T09:00:00-04:00","isDaytime":true,"temperature":68,"temperatureTrend":"","probabilityOfPrecipitation":"18%","dewpoint":"64°","relativeHumidity":"87%","windSpeed":"6 mph","windDirection":"NE","icon":"https://api.weather.gov/icons/land/day/rain_showers,20?size=small","shortForecast":"Slight Chance Rain Showers","detailedForecast":""},{"id":24,"name":"","startTime":"2024-09-27T09:00:00-04:00","endTime":"2024-09-27T10:00:00-04:00","isDaytime":true,"temperature":68,"temperatureTrend":"","probabilityOfPrecipitation":"18%","dewpoint":"63°","relativeH...
                                                                                                                                                                                                                    
                                                                                                    

Weather Information - CODE SNIPPETS


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' 


    

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 Geographical Weather 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

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.

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, refer to the ‘X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ response 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
849ms

Category:


Related APIs