The Ambee weather API delivers real-time, hyper-local weather data including humidity, cloud cover, precipitation intensity, UV index, wind attributes and much more, for locations worldwide. It provides comprehensive global coverage across over 150 countries with a high spatial resolution of 500 meters (0.3 miles).
The icons for the summary can be accessed as PNG and SVG in the below format-
Replace the ‘icon_name’ in the URL with following icon values, which are provided as part of API response.
Icon values: a. cloudy b. partly-cloudy c. clear d. snow e. rain f. fog.
Provides real-time weather data for over 150 countries with a specified resolution of 500 meters (0.3 miles).
Retrieve weather data using geographic coordinates (latitude/longitude).
x-api-key
Content-type
Accept-Language
lat
lng
units
https://api.ambeedata.com/weather/latest/by-lat-lng?lat=12&lng=77
const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/weather/latest/by-lat-lng?lat=12.9889055&lng=77.574044",
"headers": {
"x-api-key": "API_KEY",
"Content-type": "application/json"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
Access historical weather data for your selected timeframe across the supported regions.
Access 30+ years of historical weather data Download historical data.
Get historical weather data using geographic coordinates (latitude/longitude).
x-api-key
Content-type
Accept-Language
lat
lng
from
to
units
https://api.ambeedata.com/weather/history/by-lat-lng?lat=12&lng=73&from=2020-07-13 12:16:44&to=2020-07-18 08:16:44
const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/weather/history/by-lat-lng?lat=12.9889055&lng=77.574044&from=2020-07-13 12:16:44&to=2020-07-14 12:16:44",
"headers": {
"x-api-key": "API_KEY",
"Content-type": "application/json"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
Provides a forecast for weather parameters for the next 72 hours.
To get data beyond 72 hours, reach out to us.Get in touch.
Retrieve forecast weather data using geographic coordinates (latitude/longitude).
x-api-key
Content-type
Accept-Language
lat
lng
units
https://api.ambeedata.com/weather/forecast/by-lat-lng?lat=12&lng=73
const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/weather/forecast/by-lat-lng?lat=12.9889055&lng=77.574044",
"headers": {
"x-api-key": "API_KEY",
"Content-type": "application/json"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
Next
Playground
Yes
No