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
locale
https://api.ambeedata.com/v3/weather/latest?lat=12.9889055&lng=77.574044const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/v3/weather/latest?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();Retrieve weather data using the desired place name.
x-api-key
Content-type
Accept-Language
place
units
locale
https://api.ambeedata.com/v3/weather/latest?place=Bengaluruconst http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/v3/weather/latest?place=Bengaluru",
"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
locale
https://api.ambeedata.com/v3/weather/history?lat=12.9889055&lng=77.574044&from=2026-05-02 07:00:00&to=2026-05-04 07:00:00const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/v3/weather/history?lat=12.9889055&lng=77.574044&from=2026-05-02 07:00:00&to=2026-05-04 07:00:00",
"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();Get historical weather data using the desired place name and time period.
x-api-key
Content-type
Accept-Language
place
from
to
units
locale
https://api.ambeedata.com/v3/weather/history?place=Bengaluru&from=2026-05-02 07:00:00&to=2026-05-04 07:00:00const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/v3/weather/history?place=Bengaluru&from=2026-05-02 07:00:00&to=2026-05-04 07:00:00",
"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();Retrieve forecast weather data using geographic coordinates (latitude/longitude).
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
locale
https://api.ambeedata.com/v3/weather/forecast/48hrs?lat=12.9889055&lng=77.574044const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/v3/weather/forecast/48hrs?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();Retrieve a 120-hour forecast at 3-hour intervals using geographic coordinates (latitude/longitude).
x-api-key
Content-type
Accept-Language
lat
lng
units
locale
https://api.ambeedata.com/v3/weather/forecast/120hrs?lat=21&lng=77const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/v3/weather/forecast/120hrs?lat=21&lng=77",
"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();Retrieve forecast weather data using the desired place name.
x-api-key
Content-type
Accept-Language
place
units
locale
https://api.ambeedata.com/v3/weather/forecast/48hrs?place=Bengaluruconst http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/v3/weather/forecast/48hrs?place=Bengaluru",
"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();Retrieve a 120-hour forecast at 3-hour intervals using the desired place name.
x-api-key
Content-type
Accept-Language
place
units
locale
https://api.ambeedata.com/v3/weather/forecast/120hrs?place=Bengaluruconst http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/v3/weather/forecast/120hrs?place=Bengaluru",
"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();