Forecasts Weather by Coordinates API

API ID 3971

The Forecasts Weather by Coordinates API provides accurate, location-specific weather predictions, catering to diverse applications and industries.

100% uptime 830 ms avg response

API Documentation

Endpoints

Request

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

Endpoint ID: 4724
GET https://zylalabs.com/api/3971/forecasts+weather+by+coordinates+api/4724/forecast
INPUT PARAMETERS

Forecast — Endpoint Features

Object Description
lat Required
lon Required
units Required

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
lon
units
API EXAMPLE RESPONSE
JSON
{"lat":37.0902,"lon":95.7129,"timezone":"Asia\/Shanghai","timezone_offset":28800,"current":{"dt":1734181227,"sunrise":1734136971,"sunset":1734171659,"temp":-9.41,"feels_like":-14.92,"pressure":1035,"humidity":19,"dew_point":-26.94,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":3.1,"wind_deg":97,"wind_gust":3.3,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}]},"minutely":[{"dt":1734181260,"precipitation":0},{"dt":1734181320,"precipitation":0},{"dt":1734181380,"precipitation":0},{"dt":1734181440,"precipitation":0},{"dt":1734181500,"precipitation":0},{"dt":1734181560,"precipitation":0},{"dt":1734181620,"precipitation":0},{"dt":1734181680,"precipitation":0},{"dt":1734181740,"precipitation":0},{"dt":1734181800,"precipitation":0},{"dt":1734181860,"precipitation":0},{"dt":1734181920,"precipitation":0},{"dt":1734181980,"precipitation":0},{"dt":1734182040,"precipitation":0},{"dt":1734182100,"precipitation":0},{"dt":1734182160,"precipitation":0},{"dt":1734182220,"precipitation":0},{"dt":1734182280,"precipitation":0},{"dt":1734182340,"precipitation":0},{"dt":1734182400,"precipitation":0},{"dt":1734182460,"precipitation":0},{"dt":1734182520,"precipitation":0},{"dt":1734182580,"precipitation":0},{"dt":1734182640,"precipitation":0},{"dt":1734182700,"precipitation":0},{"dt":1734182760,"precipitation":0},{"dt":1734182820,"precipitation":0},{"dt":1734182880,"precipitation":0},{"dt":1734182940,"precipitation":0},{"dt":1734183000,"precipitation":0},{"dt":1734183060,"precipitation":0},{"dt":1734183120,"precipitation":0},{"dt":1734183180,"precipitation":0},{"dt":1734183240,"precipitation":0},{"dt":1734183300,"precipitation":0},{"dt":1734183360,"precipitation":0},{"dt":1734183420,"precipitation":0},{"dt":1734183480,"precipitation":0},{"dt":1734183540,"precipitation":0},{"dt":1734183600,"precipitation":0},{"dt":1734183660,"precipitation":0},{"dt":1734183720,"precipitation":0},{"dt":1734183780,"precipitation":0},{"dt":1734183840,"precipitation":0},{"dt":1734183900,"precipitation":0},{"dt":1734183960,"precipitation":0},{"dt":1734184020,"precipitation":0},{"dt":1734184080,"precipitation":0},{"dt":1734184140,"precipitation":0},{"dt":1734184200,"precipitation":0},{"dt":1734184260,"precipitation":0},{"dt":1734184320,"precipitation":0},{"dt":1734184380,"precipitation":0},{"dt":1734184440,"precipitation":0},{"dt":1734184500,"precipitation":0},{"dt":1734184560,"precipitation":0},{"dt":1734184620,"precipitation":0},{"dt":1734184680,"precipitation":0},{"dt":1734184740,"precipitation":0},{"dt":1734184800,"precipitation":0}],"hourly":[{"dt":1734181200,"temp":-9.41,"feels_like":-14.92,"pressure":1035,"humidity":19,"dew_point":-26.94,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":3.1,"wind_deg":97,"wind_gust":3.3,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734184800,"temp":-9.5,"feels_like":-13.99,"pressure":1035,"humidity":20,"dew_point":-26.52,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":2.3,"wind_deg":82,"wind_gust":2.1,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734188400,"temp":-9.69,"feels_like":-13.34,"pressure":1035,"humidity":20,"dew_point":-26.68,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.77,"wind_deg":67,"wind_gust":1.63,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734192000,"temp":-10.1,"feels_like":-10.1,"pressure":1034,"humidity":21,"dew_point":-26.56,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.11,"wind_deg":60,"wind_gust":1.23,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734195600,"temp":-10.55,"feels_like":-10.55,"pressure":1033,"humidity":20,"dew_point":-27.43,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.56,"wind_deg":39,"wind_gust":0.93,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734199200,"temp":-11.13,"feels_like":-11.13,"pressure":1033,"humidity":20,"dew_point":-30.52,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.25,"wind_deg":279,"wind_gust":1.25,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734202800,"temp":-11.62,"feels_like":-11.62,"pressure":1034,"humidity":21,"dew_point":-30.57,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.46,"wind_deg":271,"wind_gust":1.28,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734206400,"temp":-12.1,"feels_like":-12.1,"pressure":1035,"humidity":22,"dew_point":-30.49,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.87,"wind_deg":299,"wind_gust":1.14,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734210000,"temp":-12.08,"feels_like":-15.51,"pressure":1035,"humidity":22,"dew_point":-30.54,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.49,"wind_deg":313,"wind_gust":1.57,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734213600,"temp":-12.08,"feels_like":-16.44,"pressure":1036,"humidity":22,"dew_point":-30.61,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.95,"wind_deg":326,"wind_gust":2.04,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734217200,"temp":-12.26,"feels_like":-16.65,"pressure":1037,"humidity":22,"dew_point":-30.6,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.95,"wind_deg":331,"wind_gust":2.05,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734220800,"temp":-12.66,"feels_like":-16.46,"pressure":1038,"humidity":23,"dew_point":-30.49,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.62,"wind_deg":346,"wind_gust":1.96,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734224400,"temp":-12.92,"feels_like":-12.92,"pressure":1039,"humidity":25,"dew_point":-30.2,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":1.27,"wind_deg":8,"wind_gust":1.63,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1734228000,"temp":-10.17,"feels_like":-13.04,"pressure":1040,"humidity":21,"dew_point":-29.48,"uvi":0.34,"clouds":0,"visibility":10000,"wind_speed":1.36,"wind_deg":31,"wind_gust":1.31,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1734231600,"temp":-8.03,"feels_like":-10.93,"pressure":1039,"humidity":17,"dew_point":-29.61,"uvi":0.99,"clouds":0,"visibility":10000,"wind_speed":1.51,"wind_deg":48,"wind_gust":1.49,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1734235200,"temp":-6.51,"feels_like":-9.58,"pressure":1037,"humidity":15,"dew_point":-29.26,"uvi":1.77,"clouds":0,"visibility":10000,"wind_speed":1.72,"wind_deg":71,"wind_gust":1.79,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1734238800,"temp":-5.27,"feels_like":-8.62,"pressure":1034,"humidity":14,"dew_point":-29.06,"uvi":2.38,"clouds":0,"visibility":10000,"wind_speed":2.02,"wind_deg":87,"wind_gust":1.85,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1734242400,"temp":-4.25,"feels_like":-7.48,"pressure":1032,"humidity":13,"dew_point":-28.96,"uvi":2.48,"clouds":0,"visibility":10000,"wind_speed":2.05,"wind_deg":93,"wind_gust":1.87,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1734246000,"temp":-3.53,"feels_like":-7.06,"pressure":1030,"humidity":12,"dew_point":-29.08,"uvi":1.98,"clouds":0,"visibility":10000,"wind_speed":2.38,"wind_deg":105,"wind_gust":2.08,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1734249600,"temp":-3.13,"feels_like":-7.29,"pressure":1029,"humidity":12,"dew_point":-29.18,"uvi":1.18,"clouds":0,"visibility":10000,"wind_speed":3.03,"wind_deg":112,"wind_gust":2.71,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1734253200,"temp":-3.34,"feels_like":-8.21,"pressure":1030,"humidity":12,"dew_point":-29.1,"uvi":0.49,"clouds":0,"visibility":10000,"wind_speed":3.78,"wind_deg":113,"wind_gust":3.44,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1734256800,"temp":-5.71,"feels_like":-11.35,"pressure":1031,"humidity":16,"dew_point":-28.19,"uvi":0,"clouds":1,"visibility":10000,"wind_speed":4.06,"wind_deg":113,"wind_gust":5.26,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"pop":0},{"dt":1734260400,"temp":-7.52,"feels_like":-13.97,"pressure":1033,"humidity":18,"dew_point":-28.29,"uvi":0,"clouds":4,"visibility":10000,"wind_speed":4.54,"wind_deg":102,"wind_gust":6.58,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1734264000,"temp":-8.18,"feels_like":-14.6,"pressure":1034,"humidity":19,"dew_point":-28.22,"uvi":0,"clouds":16,"visibility":10000,"wind_speed":4.31,"wind_deg":95,"wind_gust":6.2,"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02n"}],"pop":0},{"dt":1734267600,"temp":-8.4,"feels_like":-14.38,"pressure":1034,"humidity":19,"dew_point":-28.37,"uvi":0,"clouds":76,"visibility":10000,"wind_speed":3.76,"wind_deg":90,"wind_gust":4.96,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"pop":0},{"dt":1734271200,"temp":-8.54,"feels_like":-14.26,"pressure":1033,"humidity":19,"dew_point":-28.76,"uvi":0,"clouds":42,"visibility":10000,"wind_speed":3.46,"wind_deg":86,"wind_gust":4.11,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03n"}],"pop":0},{"dt":1734274800,"temp":-8.72,"feels_like":-14.21,"pressure":1033,"humidity":18,"dew_point":-29.43,"uvi":0,"clouds":31,"visibility":10000,"wind_speed":3.21,"wind_deg":82,"wind_gust":3.18,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03n"}],"pop":0},{"dt":1734278400}],"_note":"Response truncated for documentation purposes"}
Forecast — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/3971/forecasts+weather+by+coordinates+api/4724/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 Forecasts Weather by Coordinates 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 commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan
Custom Volume

  • Custom Rate Limit
  • Team & Access Management
  • SLA-backed Uptime
  • Specialized Customer Support
  • Real-Time API Monitoring
  • Enterprise Security & Compliance
Minimum annual contract: USD 10,000

Trusted by leading companies

Overview

About the API:  

The Forecasts Weather by Coordinates API is a dynamic and robust tool that provides highly accurate and location-specific weather information. This API, which prioritizes accuracy and reliability, targets a broad spectrum of applications and industries, and is an indispensable asset for accessing real-time weather information tailored to specific geographic coordinates.

Based on a simple principle, this API allows users to retrieve complete weather data by specifying latitude and longitude coordinates. This geocentric approach ensures that the data retrieved relates directly to the selected geographical area, allowing users to make informed decisions and plans based on localized weather conditions.

The Forecasts Weather by Coordinates API integrates seamlessly into applications, providing simplicity and efficiency in accessing weather data. By facilitating the seamless integration of weather data into applications and websites, this API allows users to provide their audience with real-time, hyper-localized weather updates. Whether users are planning travel itineraries, organizing outdoor events or simply staying informed about daily weather patterns.

 

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.

Forecasts Weather by Coordinates API FAQs

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.

The API returns comprehensive weather data, including current conditions, hourly forecasts, and minute-by-minute precipitation predictions. Key data points include temperature, humidity, wind speed, and weather descriptions.

Key fields in the response include "current" for current weather conditions, "minutely" for minute-by-minute precipitation, and "timezone" for local time adjustments. Each field provides specific weather metrics relevant to the specified coordinates.

The response data is structured in JSON format, with nested objects for current weather, hourly forecasts, and minute-by-minute data. This organization allows for easy access to specific weather details based on user needs.

Users can specify latitude, longitude, and the unit of measurement (standard, metric, imperial) when making requests. This customization allows for tailored weather data retrieval based on user preferences.

The endpoint provides information on temperature, humidity, wind speed, atmospheric pressure, visibility, and weather conditions (e.g., clear, cloudy). This data is crucial for various applications, from agriculture to event planning.

Data accuracy is maintained through integration with reliable meteorological sources and continuous updates. The API employs quality checks to ensure that the weather information provided is current and precise.

Typical use cases include developing weather applications, optimizing agricultural practices, enhancing transportation logistics, and planning outdoor events. The localized data helps users make informed decisions based on real-time weather conditions.

Users can analyze the returned data to forecast weather trends, assess conditions for specific activities, or integrate it into applications for real-time updates. For example, event planners can use temperature and precipitation data to schedule events appropriately.

General FAQs

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.

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 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

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.

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 3,600, it means 3,600 seconds are left until the limit resets.

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.

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 free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
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]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs