The Fetch Weather Data by Coordinates API is a reliable and detailed tool that provides real-time weather information based on geographic coordinates (latitude and longitude). Designed for users who need accurate climate data, this API provides a comprehensive set of atmospheric parameters that facilitate the monitoring, analysis, and prediction of environmental conditions anywhere in the world.
When a query is made, the API returns essential data such as current temperature, feels_like temperature, minimum and maximum temperatures for the day, cloud_pct, relative humidity, wind speed and direction, as well as sunrise and sunset times expressed in UNIX format. These values provide a complete picture of the weather at a specific geographic location, ideal for mobile applications, monitoring dashboards, agricultural platforms, logistics systems, or renewable energy systems.
The API response is structured in a clear and uniform manner, facilitating integration with other services or user interfaces. Developers can use it to display local weather conditions, generate automatic alerts, or customize experiences based on current weather. In addition, its fast response time and reliability make it a suitable tool for environments that require constant updating, such as transportation services, tourism, or urban planning.
The Fetch Weather Data by Coordinates API stands out for its accuracy and consistency, offering meteorological data obtained from verified sources and high-resolution atmospheric models. Its flexible architecture allows the API to be scaled according to project needs, from simple queries to complex climate analysis or advanced weather forecasting applications.
In short, this API is a comprehensive solution for accessing weather information based on exact location, helping to optimize decisions and offer smarter, more contextual experiences to users.
Get weather conditions by coordinates, including temperature, wind chill, humidity, wind, cloud cover, minimum and maximum temperatures, sunrise and sunset.
Weather Information - Endpoint Features
| Object | Description |
|---|---|
lat |
[Required] Enter a latitude |
lon |
[Required] Enter a longitude |
{"cloud_pct": 69, "temp": 33, "feels_like": 33, "humidity": 36, "min_temp": 33, "max_temp": 33, "wind_speed": 3.65, "wind_degrees": 162, "sunrise": 1760474161, "sunset": 1760519012}
curl --location --request GET 'https://zylalabs.com/api/10842/fetch+weather+data+by+coordinates+api/20523/weather+information?lat=-16.7591487&lon=133.9731097' --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.
The API returns detailed weather information based on geographic coordinates, including current temperature, feels_like temperature, humidity, wind speed and direction, cloud cover, and sunrise/sunset times.
Key fields in the response include "temp" (current temperature), "feels_like" (apparent temperature), "humidity" (relative humidity), "wind_speed" (speed of wind), "cloud_pct" (cloud cover percentage), and "sunrise"/"sunset" (times in UNIX format).
The response data is structured in a JSON format, with key-value pairs for each weather parameter. This uniform structure allows for easy parsing and integration into applications.
The API provides information on temperature, humidity, wind conditions, cloud cover, and sunrise/sunset times, allowing users to gain a comprehensive understanding of current weather conditions.
Users can customize their requests by specifying latitude and longitude coordinates to retrieve weather data for any specific geographic location.
The API sources its meteorological data from verified sources and high-resolution atmospheric models, ensuring accuracy and reliability in the information provided.
Typical use cases include mobile weather applications, agricultural monitoring, logistics planning, and urban development, where accurate weather data is crucial for decision-making.
Users can utilize the returned data to display current weather conditions, generate alerts for weather changes, or customize user experiences based on real-time weather information.
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:
77ms
Service Level:
100%
Response Time:
683ms
Service Level:
100%
Response Time:
83ms
Service Level:
100%
Response Time:
229ms
Service Level:
100%
Response Time:
830ms
Service Level:
100%
Response Time:
79ms
Service Level:
100%
Response Time:
233ms
Service Level:
100%
Response Time:
838ms
Service Level:
100%
Response Time:
746ms
Service Level:
100%
Response Time:
875ms
Service Level:
100%
Response Time:
19,849ms
Service Level:
100%
Response Time:
52ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
57ms
Service Level:
100%
Response Time:
1,525ms
Service Level:
100%
Response Time:
12,852ms
Service Level:
100%
Response Time:
2,554ms
Service Level:
100%
Response Time:
58ms
Service Level:
100%
Response Time:
14,438ms