Access 30+ years of global historical weather data

Three decades of hyperlocal records across every geography, validated for accuracy and delivered in bulk formats your teams can actually use.

Trusted Across Industries
GSK Logo
Bayer Logo
Sanofi Logo
Lilly Logo
HALEON Logo
Kimberly-Clark Logo
3M Logo
Electrolux logo
WPP Logo
Publicis Groupe Logo
Teads logo
The Weather Channel Logo
EDF Logo

Getting started with Ambee’s Historical Weather API

Content copy iconCheck icon
import http.client

conn = http.client.HTTPSConnection("api.ambeedata.com")

headers = {
    'x-api-key': "API_KEY",
    'Content-type': "application/json"
}

conn.request("GET", "/weather/latest/by-lat-lng?lat=12.9889055&lng=77.574044", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
Content copy iconCheck icon
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();
Content copy iconCheck icon
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
	.url("https://api.ambeedata.com/weather/latest/by-lat-lng?lat=12.9889055&lng=77.574044")
	.get()
	.addHeader("x-api-key", "API_KEY")
	.addHeader("Content-type", "application/json")
	.build();

Response response = client.newCall(request).execute();
Content copy iconCheck icon
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
	Method = HttpMethod.Get,
	RequestUri = new Uri("https://api.ambeedata.com/weather/latest/by-lat-lng?lat=12.9889055&lng=77.574044"),
	Headers =
	{
		{ "x-api-key", "API_KEY" },
	},
};
using (var response = await client.SendAsync(request))
{
	response.EnsureSuccessStatusCode();
	var body = await response.Content.ReadAsStringAsync();
	Console.WriteLine(body);
}
Content copy iconCheck icon
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.ambeedata.com/weather/latest/by-lat-lng?lat=12.9889055&lng=77.574044"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "API_KEY")
	req.Header.Add("Content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
Content copy iconCheck icon
<?php

$curl = curl_init();

curl_setopt_array($curl, [
	CURLOPT_URL => "https://api.ambeedata.com/weather/latest/by-lat-lng?lat=12.9889055&lng=77.574044",
	CURLOPT_RETURNTRANSFER => true,
	CURLOPT_ENCODING => "",
	CURLOPT_MAXREDIRS => 10,
	CURLOPT_TIMEOUT => 30,
	CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
	CURLOPT_CUSTOMREQUEST => "GET",
	CURLOPT_HTTPHEADER => [
		"Content-type: application/json",
		"x-api-key: API_KEY"
	],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
	echo "cURL Error #:" . $err;
} else {
	echo $response;
}
Content copy iconCheck icon
curl --request GET \
	--url 'https://api.ambeedata.com/weather/latest/by-lat-lng?lat=12.9889055&lng=77.574044' \
	--header 'Content-type: application/json' \
	--header 'x-api-key: API_KEY'
Content copy iconCheck icon
require 'uri'
require 'net/http'

url = URI("https://api.ambeedata.com/weather/latest/by-lat-lng?lat=12.9889055&lng=77.574044")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = 'API_KEY'
request["Content-type"] = 'application/json'

response = http.request(request)
puts response.read_body
Content copy iconCheck icon
import http.client

conn = http.client.HTTPSConnection("api.ambeedata.com")

headers = {
    'x-api-key': "API_KEY",
    'Content-type': "application/json"
}

conn.request("GET", "/weather/forecast/by-lat-lng?lat=12.9889055&lng=77.574044", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
Content copy iconCheck icon
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();
Content copy iconCheck icon
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
	.url("https://api.ambeedata.com/weather/forecast/by-lat-lng?lat=12.9889055&lng=77.574044")
	.get()
	.addHeader("x-api-key", "API_KEY")
	.addHeader("Content-type", "application/json")
	.build();

Response response = client.newCall(request).execute();
Content copy iconCheck icon
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
	Method = HttpMethod.Get,
	RequestUri = new Uri("https://api.ambeedata.com/weather/forecast/by-lat-lng?lat=12.9889055&lng=77.574044"),
	Headers =
	{
		{ "x-api-key", "API_KEY" },
	},
};
using (var response = await client.SendAsync(request))
{
	response.EnsureSuccessStatusCode();
	var body = await response.Content.ReadAsStringAsync();
	Console.WriteLine(body);
}
Content copy iconCheck icon
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.ambeedata.com/weather/forecast/by-lat-lng?lat=12.9889055&lng=77.574044"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "API_KEY")
	req.Header.Add("Content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
Content copy iconCheck icon
<?php

$curl = curl_init();

curl_setopt_array($curl, [
	CURLOPT_URL => "https://api.ambeedata.com/weather/forecast/by-lat-lng?lat=12.9889055&lng=77.574044",
	CURLOPT_RETURNTRANSFER => true,
	CURLOPT_ENCODING => "",
	CURLOPT_MAXREDIRS => 10,
	CURLOPT_TIMEOUT => 30,
	CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
	CURLOPT_CUSTOMREQUEST => "GET",
	CURLOPT_HTTPHEADER => [
		"Content-type: application/json",
		"x-api-key: API_KEY"
	],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
	echo "cURL Error #:" . $err;
} else {
	echo $response;
}
Content copy iconCheck icon
curl --request GET \
	--url 'https://api.ambeedata.com/weather/forecast/by-lat-lng?lat=12.9889055&lng=77.574044' \
	--header 'Content-type: application/json' \
	--header 'x-api-key: API_KEY'
Content copy iconCheck icon
require 'uri'
require 'net/http'

url = URI("https://api.ambeedata.com/weather/forecast/by-lat-lng?lat=12.9889055&lng=77.574044")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = 'API_KEY'
request["Content-type"] = 'application/json'

response = http.request(request)
puts response.read_body
Content copy iconCheck icon
{
    "message": "success",
    "lat": 40,
    "lng": -77,
    "timezone": "America/New_York",
    "data": [
        {
            "cloudCover": 1,
            "dewPoint": 69.2,
            "humidity": 95,
            "pressure": 1011,
            "precipIntensity": 0,
            "surfacePressure": 992,
            "temperature": 70,
            "visibility": 6,
            "windGust": 6.06,
            "windSpeed": 0.2,
            "windBearing": 258,
            "ozone": 316.52,
            "uvIndex": 0,
            "precipProbability": 58,
            "apparentTemperature": 70,
            "icon": "cloudy",
            "summary": "Cloudy skies. Temperatures will feel warm. Higher humidity levels. Calm winds. Low UV levels.",
            "timestamp": "2026-06-23T05:00:00.000Z",
            "unixTs": 1782190800
        }
    ]
}
Content copy iconCheck icon
{
    "message": "success",
    "lat": 40,
    "lng": -77,
    "timezone": "America/New_York",
    "data": [
        {
            "apparentTemperature": 67,
            "cloudCover": 0.98,
            "dewPoint": 67.01,
            "humidity": 97,
            "pressure": 1012,
            "precipIntensity": 0,
            "temperature": 67,
            "visibility": 6,
            "windGust": 5.15,
            "ozone": 311.6,
            "uvIndex": 0,
            "windSpeed": 4.29,
            "precipProbability": 65,
            "windBearing": 237,
            "icon": "cloudy",
            "summary": "Cloudy skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782194400,
            "timestamp": "2026-06-23T06:00:00.000Z"
        },
        {
            "apparentTemperature": 67,
            "cloudCover": 1,
            "dewPoint": 66.83,
            "humidity": 98,
            "pressure": 1011,
            "precipIntensity": 1.33,
            "temperature": 67,
            "visibility": 5,
            "windGust": 2.91,
            "ozone": 311.82,
            "uvIndex": 0,
            "precipType": "Rain",
            "windSpeed": 2.76,
            "precipProbability": 48.67,
            "windBearing": 282,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Calm winds. Low UV levels.",
            "unixTs": 1782198000,
            "timestamp": "2026-06-23T07:00:00.000Z"
        },
        {
            "apparentTemperature": 66,
            "cloudCover": 1,
            "dewPoint": 66.29,
            "humidity": 98,
            "pressure": 1011,
            "precipIntensity": 0.48,
            "temperature": 67,
            "visibility": 6,
            "windGust": 2.72,
            "ozone": 311.17,
            "uvIndex": 0,
            "precipType": "Rain",
            "windSpeed": 2.98,
            "precipProbability": 32.33,
            "windBearing": 341,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Calm winds. Low UV levels.",
            "unixTs": 1782201600,
            "timestamp": "2026-06-23T08:00:00.000Z"
        },
        {
            "apparentTemperature": 66,
            "cloudCover": 1,
            "dewPoint": 66.05,
            "humidity": 98,
            "pressure": 1011,
            "precipIntensity": 0.15,
            "temperature": 66,
            "visibility": 6,
            "windGust": 3.36,
            "ozone": 312.19,
            "uvIndex": 0,
            "precipType": "Rain",
            "windSpeed": 3.32,
            "precipProbability": 16,
            "windBearing": 352,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782205200,
            "timestamp": "2026-06-23T09:00:00.000Z"
        },
        {
            "apparentTemperature": 66,
            "cloudCover": 1,
            "dewPoint": 65.75,
            "humidity": 97,
            "pressure": 1012,
            "precipIntensity": 0.97,
            "temperature": 66,
            "visibility": 6,
            "windGust": 14.57,
            "ozone": 313.29,
            "uvIndex": 0,
            "precipType": "Rain",
            "windSpeed": 6.98,
            "precipProbability": 23.67,
            "windBearing": 353,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782208800,
            "timestamp": "2026-06-23T10:00:00.000Z"
        },
        {
            "apparentTemperature": 65,
            "cloudCover": 1,
            "dewPoint": 63.77,
            "humidity": 96,
            "pressure": 1012,
            "precipIntensity": 0.62,
            "temperature": 65,
            "visibility": 6,
            "windGust": 18.36,
            "ozone": 312.93,
            "uvIndex": 0,
            "precipType": "Rain",
            "windSpeed": 9.99,
            "precipProbability": 31.33,
            "windBearing": 354,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Windy conditions. Low UV levels.",
            "unixTs": 1782212400,
            "timestamp": "2026-06-23T11:00:00.000Z"
        },
        {
            "apparentTemperature": 64,
            "cloudCover": 1,
            "dewPoint": 62.51,
            "humidity": 95,
            "pressure": 1013,
            "precipIntensity": 0.76,
            "temperature": 63,
            "visibility": 6,
            "windGust": 21.28,
            "ozone": 310.74,
            "uvIndex": 0,
            "precipType": "Rain",
            "windSpeed": 10.23,
            "precipProbability": 39,
            "windBearing": 9,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Windy conditions. Low UV levels.",
            "unixTs": 1782216000,
            "timestamp": "2026-06-23T12:00:00.000Z"
        },
        {
            "apparentTemperature": 63,
            "cloudCover": 1,
            "dewPoint": 61.61,
            "humidity": 95,
            "pressure": 1013,
            "precipIntensity": 1.33,
            "temperature": 63,
            "visibility": 4,
            "windGust": 23.33,
            "ozone": 310.01,
            "uvIndex": 1,
            "precipType": "Rain",
            "windSpeed": 11.23,
            "precipProbability": 41,
            "windBearing": 12,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Windy conditions. Low UV levels.",
            "unixTs": 1782219600,
            "timestamp": "2026-06-23T13:00:00.000Z"
        },
        {
            "apparentTemperature": 61,
            "cloudCover": 1,
            "dewPoint": 60.35,
            "humidity": 95,
            "pressure": 1014,
            "precipIntensity": 1.81,
            "temperature": 61,
            "visibility": 5,
            "windGust": 23.54,
            "ozone": 311.58,
            "uvIndex": 2,
            "precipType": "Rain",
            "windSpeed": 12.24,
            "precipProbability": 43,
            "windBearing": 12,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Windy conditions. Low UV levels.",
            "unixTs": 1782223200,
            "timestamp": "2026-06-23T14:00:00.000Z"
        },
        {
            "apparentTemperature": 61,
            "cloudCover": 1,
            "dewPoint": 59.99,
            "humidity": 96,
            "pressure": 1014,
            "precipIntensity": 3.05,
            "temperature": 61,
            "visibility": 3,
            "windGust": 22.88,
            "ozone": 311.02,
            "uvIndex": 2,
            "precipType": "Rain",
            "windSpeed": 11.46,
            "precipProbability": 45,
            "windBearing": 3,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Windy conditions. Low UV levels.",
            "unixTs": 1782226800,
            "timestamp": "2026-06-23T15:00:00.000Z"
        },
        {
            "apparentTemperature": 61,
            "cloudCover": 1,
            "dewPoint": 59.99,
            "humidity": 96,
            "pressure": 1014,
            "precipIntensity": 1.94,
            "temperature": 61,
            "visibility": 5,
            "windGust": 22.49,
            "ozone": 310.47,
            "uvIndex": 3,
            "precipType": "Rain",
            "windSpeed": 9.81,
            "precipProbability": 44,
            "windBearing": 356,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Windy conditions. Moderate UV levels.",
            "unixTs": 1782230400,
            "timestamp": "2026-06-23T16:00:00.000Z"
        },
        {
            "apparentTemperature": 61,
            "cloudCover": 1,
            "dewPoint": 60.47,
            "humidity": 96,
            "pressure": 1014,
            "precipIntensity": 0.51,
            "temperature": 61,
            "visibility": 6,
            "windGust": 21.55,
            "ozone": 310.5,
            "uvIndex": 4,
            "precipType": "Rain",
            "windSpeed": 8.93,
            "precipProbability": 43,
            "windBearing": 353,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Moderate UV levels.",
            "unixTs": 1782234000,
            "timestamp": "2026-06-23T17:00:00.000Z"
        },
        {
            "apparentTemperature": 61,
            "cloudCover": 1,
            "dewPoint": 60.35,
            "humidity": 96,
            "pressure": 1014,
            "precipIntensity": 1.27,
            "temperature": 61,
            "visibility": 6,
            "windGust": 20.87,
            "ozone": 310.39,
            "uvIndex": 5,
            "precipType": "Rain",
            "windSpeed": 10.32,
            "precipProbability": 42,
            "windBearing": 340,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Windy conditions. Moderate UV levels.",
            "unixTs": 1782237600,
            "timestamp": "2026-06-23T18:00:00.000Z"
        },
        {
            "apparentTemperature": 62,
            "cloudCover": 1,
            "dewPoint": 61.07,
            "humidity": 95,
            "pressure": 1014,
            "precipIntensity": 0.31,
            "temperature": 62,
            "visibility": 6,
            "windGust": 19.29,
            "ozone": 312.73,
            "uvIndex": 5,
            "precipType": "Rain",
            "windSpeed": 9.09,
            "precipProbability": 36.67,
            "windBearing": 348,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Moderate UV levels.",
            "unixTs": 1782241200,
            "timestamp": "2026-06-23T19:00:00.000Z"
        },
        {
            "apparentTemperature": 65,
            "cloudCover": 1,
            "dewPoint": 61.63,
            "humidity": 86,
            "pressure": 1014,
            "precipIntensity": 0.02,
            "temperature": 65,
            "visibility": 6,
            "windGust": 19.92,
            "ozone": 314.5,
            "uvIndex": 4,
            "precipType": "Rain",
            "windSpeed": 10.04,
            "precipProbability": 31.33,
            "windBearing": 356,
            "icon": "rain",
            "summary": "Expect some rain. A mild day ahead. Higher humidity levels. Windy conditions. Moderate UV levels.",
            "unixTs": 1782244800,
            "timestamp": "2026-06-23T20:00:00.000Z"
        },
        {
            "apparentTemperature": 69,
            "cloudCover": 1,
            "dewPoint": 60.89,
            "humidity": 74,
            "pressure": 1013,
            "precipIntensity": 0,
            "temperature": 69,
            "visibility": 6,
            "windGust": 20.59,
            "ozone": 313.55,
            "uvIndex": 2,
            "windSpeed": 12.35,
            "precipProbability": 26,
            "windBearing": 5,
            "icon": "cloudy",
            "summary": "Cloudy skies. Temperatures will feel warm. Higher humidity levels. Windy conditions. Low UV levels.",
            "unixTs": 1782248400,
            "timestamp": "2026-06-23T21:00:00.000Z"
        },
        {
            "apparentTemperature": 71,
            "cloudCover": 0.94,
            "dewPoint": 59.29,
            "humidity": 66,
            "pressure": 1013,
            "precipIntensity": 0,
            "temperature": 71,
            "visibility": 6,
            "windGust": 20.17,
            "ozone": 314.05,
            "uvIndex": 1,
            "windSpeed": 11.73,
            "precipProbability": 17.33,
            "windBearing": 22,
            "icon": "cloudy",
            "summary": "Cloudy skies. Temperatures will feel warm. Moderate humidity. Windy conditions. Low UV levels.",
            "unixTs": 1782252000,
            "timestamp": "2026-06-23T22:00:00.000Z"
        },
        {
            "apparentTemperature": 69,
            "cloudCover": 0.57,
            "dewPoint": 58.91,
            "humidity": 68,
            "pressure": 1013,
            "precipIntensity": 0,
            "temperature": 69,
            "visibility": 6,
            "windGust": 21.06,
            "ozone": 316.26,
            "uvIndex": 0,
            "windSpeed": 11.16,
            "precipProbability": 8.67,
            "windBearing": 18,
            "icon": "partly-cloudy",
            "summary": "Partly cloudy skies. Temperatures will feel warm. Moderate humidity. Windy conditions. Low UV levels.",
            "unixTs": 1782255600,
            "timestamp": "2026-06-23T23:00:00.000Z"
        },
        {
            "apparentTemperature": 66,
            "cloudCover": 0.29,
            "dewPoint": 58.19,
            "humidity": 75,
            "pressure": 1014,
            "precipIntensity": 0,
            "temperature": 66,
            "visibility": 6,
            "windGust": 16.11,
            "ozone": 319.71,
            "uvIndex": 0,
            "windSpeed": 6.96,
            "precipProbability": 0,
            "windBearing": 26,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782259200,
            "timestamp": "2026-06-24T00:00:00.000Z"
        },
        {
            "apparentTemperature": 61,
            "cloudCover": 0,
            "dewPoint": 55.85,
            "humidity": 80,
            "pressure": 1014,
            "precipIntensity": 0,
            "temperature": 61,
            "visibility": 6,
            "windGust": 4.72,
            "ozone": 321.42,
            "uvIndex": 0,
            "windSpeed": 4.67,
            "precipProbability": 0,
            "windBearing": 18,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782262800,
            "timestamp": "2026-06-24T01:00:00.000Z"
        },
        {
            "apparentTemperature": 60,
            "cloudCover": 0.17,
            "dewPoint": 54.77,
            "humidity": 82,
            "pressure": 1015,
            "precipIntensity": 0,
            "temperature": 60,
            "visibility": 6,
            "windGust": 4.06,
            "ozone": 327.57,
            "uvIndex": 0,
            "windSpeed": 4.26,
            "precipProbability": 0,
            "windBearing": 329,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782266400,
            "timestamp": "2026-06-24T02:00:00.000Z"
        },
        {
            "apparentTemperature": 59,
            "cloudCover": 0.28,
            "dewPoint": 54.23,
            "humidity": 82,
            "pressure": 1015,
            "precipIntensity": 0,
            "temperature": 59,
            "visibility": 6,
            "windGust": 4.94,
            "ozone": 332.6,
            "uvIndex": 0,
            "windSpeed": 5.05,
            "precipProbability": 0,
            "windBearing": 326,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782270000,
            "timestamp": "2026-06-24T03:00:00.000Z"
        },
        {
            "apparentTemperature": 58,
            "cloudCover": 0.57,
            "dewPoint": 53.69,
            "humidity": 85,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 58,
            "visibility": 6,
            "windGust": 11.87,
            "ozone": 336.68,
            "uvIndex": 0,
            "windSpeed": 5.62,
            "precipProbability": 0,
            "windBearing": 323,
            "icon": "partly-cloudy",
            "summary": "Partly cloudy skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782273600,
            "timestamp": "2026-06-24T04:00:00.000Z"
        },
        {
            "apparentTemperature": 57,
            "cloudCover": 0.39,
            "dewPoint": 52.43,
            "humidity": 84,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 57,
            "visibility": 6,
            "windGust": 5.6,
            "ozone": 347.23,
            "uvIndex": 0,
            "windSpeed": 5.23,
            "precipProbability": 0,
            "windBearing": 328,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782277200,
            "timestamp": "2026-06-24T05:00:00.000Z"
        },
        {
            "apparentTemperature": 56,
            "cloudCover": 0.12,
            "dewPoint": 51.71,
            "humidity": 85,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 56,
            "visibility": 6,
            "windGust": 5.38,
            "ozone": 355.19,
            "uvIndex": 0,
            "windSpeed": 5.03,
            "precipProbability": 0,
            "windBearing": 325,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782280800,
            "timestamp": "2026-06-24T06:00:00.000Z"
        },
        {
            "apparentTemperature": 55,
            "cloudCover": 0.1,
            "dewPoint": 51.35,
            "humidity": 87,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 55,
            "visibility": 6,
            "windGust": 4.27,
            "ozone": 357.36,
            "uvIndex": 0,
            "windSpeed": 4.35,
            "precipProbability": 0,
            "windBearing": 308,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782284400,
            "timestamp": "2026-06-24T07:00:00.000Z"
        },
        {
            "apparentTemperature": 54,
            "cloudCover": 0,
            "dewPoint": 50.99,
            "humidity": 87,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 54,
            "visibility": 6,
            "windGust": 4.27,
            "ozone": 347.61,
            "uvIndex": 0,
            "windSpeed": 4.28,
            "precipProbability": 0,
            "windBearing": 306,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782288000,
            "timestamp": "2026-06-24T08:00:00.000Z"
        },
        {
            "apparentTemperature": 54,
            "cloudCover": 0,
            "dewPoint": 50.45,
            "humidity": 87,
            "pressure": 1017,
            "precipIntensity": 0,
            "temperature": 54,
            "visibility": 6,
            "windGust": 3.82,
            "ozone": 344.99,
            "uvIndex": 0,
            "windSpeed": 3.92,
            "precipProbability": 0,
            "windBearing": 308,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782291600,
            "timestamp": "2026-06-24T09:00:00.000Z"
        },
        {
            "apparentTemperature": 54,
            "cloudCover": 0,
            "dewPoint": 49.91,
            "humidity": 85,
            "pressure": 1017,
            "precipIntensity": 0,
            "temperature": 54,
            "visibility": 6,
            "windGust": 4.27,
            "ozone": 342.49,
            "uvIndex": 0,
            "windSpeed": 4.56,
            "precipProbability": 0,
            "windBearing": 281,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782295200,
            "timestamp": "2026-06-24T10:00:00.000Z"
        },
        {
            "apparentTemperature": 58,
            "cloudCover": 0,
            "dewPoint": 52.43,
            "humidity": 81,
            "pressure": 1018,
            "precipIntensity": 0,
            "temperature": 58,
            "visibility": 6,
            "windGust": 5.16,
            "ozone": 340.75,
            "uvIndex": 0,
            "windSpeed": 3.41,
            "precipProbability": 0,
            "windBearing": 293,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782298800,
            "timestamp": "2026-06-24T11:00:00.000Z"
        },
        {
            "apparentTemperature": 62,
            "cloudCover": 0,
            "dewPoint": 53.54,
            "humidity": 71,
            "pressure": 1018,
            "precipIntensity": 0,
            "temperature": 62,
            "visibility": 6,
            "windGust": 10.32,
            "ozone": 338.59,
            "uvIndex": 1,
            "windSpeed": 4.57,
            "precipProbability": 0,
            "windBearing": 315,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Higher humidity levels. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782302400,
            "timestamp": "2026-06-24T12:00:00.000Z"
        },
        {
            "apparentTemperature": 66,
            "cloudCover": 0,
            "dewPoint": 54.41,
            "humidity": 64,
            "pressure": 1018,
            "precipIntensity": 0,
            "temperature": 66,
            "visibility": 6,
            "windGust": 9.87,
            "ozone": 338.87,
            "uvIndex": 2,
            "windSpeed": 6.09,
            "precipProbability": 0,
            "windBearing": 315,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Moderate humidity. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782306000,
            "timestamp": "2026-06-24T13:00:00.000Z"
        },
        {
            "apparentTemperature": 70,
            "cloudCover": 0.03,
            "dewPoint": 54.59,
            "humidity": 58,
            "pressure": 1018,
            "precipIntensity": 0,
            "temperature": 70,
            "visibility": 6,
            "windGust": 9.2,
            "ozone": 338.83,
            "uvIndex": 4,
            "windSpeed": 6.96,
            "precipProbability": 0,
            "windBearing": 309,
            "icon": "clear",
            "summary": "Clear skies. Temperatures will feel warm. Moderate humidity. Expect a gentle breeze. Moderate UV levels.",
            "unixTs": 1782309600,
            "timestamp": "2026-06-24T14:00:00.000Z"
        },
        {
            "apparentTemperature": 72,
            "cloudCover": 0.31,
            "dewPoint": 54.77,
            "humidity": 53,
            "pressure": 1018,
            "precipIntensity": 0,
            "temperature": 72,
            "visibility": 6,
            "windGust": 8.12,
            "ozone": 335.17,
            "uvIndex": 6,
            "windSpeed": 6.82,
            "precipProbability": 0,
            "windBearing": 313,
            "icon": "clear",
            "summary": "Clear skies. Temperatures will feel warm. Moderate humidity. Expect a gentle breeze. High UV levels.",
            "unixTs": 1782313200,
            "timestamp": "2026-06-24T15:00:00.000Z"
        },
        {
            "apparentTemperature": 74,
            "cloudCover": 0.01,
            "dewPoint": 54.8,
            "humidity": 49,
            "pressure": 1018,
            "precipIntensity": 0,
            "temperature": 75,
            "visibility": 6,
            "windGust": 8.06,
            "ozone": 334,
            "uvIndex": 8,
            "windSpeed": 7.06,
            "precipProbability": 0,
            "windBearing": 316,
            "icon": "clear",
            "summary": "Clear skies. Temperatures will feel warm. Moderate humidity. Expect a gentle breeze. High UV levels.",
            "unixTs": 1782316800,
            "timestamp": "2026-06-24T16:00:00.000Z"
        },
        {
            "apparentTemperature": 76,
            "cloudCover": 0.37,
            "dewPoint": 54.44,
            "humidity": 46,
            "pressure": 1018,
            "precipIntensity": 0,
            "temperature": 76,
            "visibility": 6,
            "windGust": 7.63,
            "ozone": 333.12,
            "uvIndex": 8,
            "windSpeed": 6.67,
            "precipProbability": 0,
            "windBearing": 318,
            "icon": "clear",
            "summary": "Clear skies. Temperatures will feel warm. Moderate humidity. Expect a gentle breeze. High UV levels.",
            "unixTs": 1782320400,
            "timestamp": "2026-06-24T17:00:00.000Z"
        },
        {
            "apparentTemperature": 77,
            "cloudCover": 0.75,
            "dewPoint": 53.34,
            "humidity": 42,
            "pressure": 1017,
            "precipIntensity": 0,
            "temperature": 77,
            "visibility": 6,
            "windGust": 6.94,
            "ozone": 334.08,
            "uvIndex": 8,
            "windSpeed": 5.65,
            "precipProbability": 0,
            "windBearing": 323,
            "icon": "cloudy",
            "summary": "Cloudy skies. Temperatures will feel warm. Moderate humidity. Expect a gentle breeze. High UV levels.",
            "unixTs": 1782324000,
            "timestamp": "2026-06-24T18:00:00.000Z"
        },
        {
            "apparentTemperature": 78,
            "cloudCover": 0.51,
            "dewPoint": 53,
            "humidity": 41,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 78,
            "visibility": 6,
            "windGust": 6.76,
            "ozone": 333.91,
            "uvIndex": 6,
            "windSpeed": 5.09,
            "precipProbability": 0,
            "windBearing": 323,
            "icon": "partly-cloudy",
            "summary": "Partly cloudy skies. Temperatures will feel warm. Moderate humidity. Expect a gentle breeze. High UV levels.",
            "unixTs": 1782327600,
            "timestamp": "2026-06-24T19:00:00.000Z"
        },
        {
            "apparentTemperature": 79,
            "cloudCover": 0.53,
            "dewPoint": 52.97,
            "humidity": 40,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 79,
            "visibility": 6,
            "windGust": 7.4,
            "ozone": 333.17,
            "uvIndex": 4,
            "windSpeed": 4.72,
            "precipProbability": 0,
            "windBearing": 323,
            "icon": "partly-cloudy",
            "summary": "Partly cloudy skies. Temperatures will feel warm. Moderate humidity. Expect a gentle breeze. Moderate UV levels.",
            "unixTs": 1782331200,
            "timestamp": "2026-06-24T20:00:00.000Z"
        },
        {
            "apparentTemperature": 79,
            "cloudCover": 0.45,
            "dewPoint": 52.79,
            "humidity": 40,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 79,
            "visibility": 6,
            "windGust": 7.42,
            "ozone": 334.87,
            "uvIndex": 2,
            "windSpeed": 3.37,
            "precipProbability": 0,
            "windBearing": 314,
            "icon": "partly-cloudy",
            "summary": "Partly cloudy skies. Temperatures will feel warm. Moderate humidity. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782334800,
            "timestamp": "2026-06-24T21:00:00.000Z"
        },
        {
            "apparentTemperature": 79,
            "cloudCover": 0.61,
            "dewPoint": 53.87,
            "humidity": 41,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 79,
            "visibility": 6,
            "windGust": 5.67,
            "ozone": 336.63,
            "uvIndex": 1,
            "windSpeed": 1.9,
            "precipProbability": 0,
            "windBearing": 197,
            "icon": "partly-cloudy",
            "summary": "Partly cloudy skies. Temperatures will feel warm. Moderate humidity. Calm winds. Low UV levels.",
            "unixTs": 1782338400,
            "timestamp": "2026-06-24T22:00:00.000Z"
        },
        {
            "apparentTemperature": 76,
            "cloudCover": 0.36,
            "dewPoint": 59.99,
            "humidity": 56,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 76,
            "visibility": 6,
            "windGust": 8.1,
            "ozone": 336.43,
            "uvIndex": 0,
            "windSpeed": 5.68,
            "precipProbability": 0,
            "windBearing": 179,
            "icon": "clear",
            "summary": "Clear skies. Temperatures will feel warm. Moderate humidity. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782342000,
            "timestamp": "2026-06-24T23:00:00.000Z"
        },
        {
            "apparentTemperature": 70,
            "cloudCover": 0.32,
            "dewPoint": 59.27,
            "humidity": 67,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 70,
            "visibility": 6,
            "windGust": 6.49,
            "ozone": 334.44,
            "uvIndex": 0,
            "windSpeed": 6.38,
            "precipProbability": 0,
            "windBearing": 198,
            "icon": "clear",
            "summary": "Clear skies. Temperatures will feel warm. Moderate humidity. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782345600,
            "timestamp": "2026-06-25T00:00:00.000Z"
        },
        {
            "apparentTemperature": 66,
            "cloudCover": 0.32,
            "dewPoint": 54.77,
            "humidity": 66,
            "pressure": 1016,
            "precipIntensity": 0,
            "temperature": 66,
            "visibility": 6,
            "windGust": 6.04,
            "ozone": 333.87,
            "uvIndex": 0,
            "windSpeed": 5.96,
            "precipProbability": 0,
            "windBearing": 202,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Moderate humidity. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782349200,
            "timestamp": "2026-06-25T01:00:00.000Z"
        },
        {
            "apparentTemperature": 64,
            "cloudCover": 0.4,
            "dewPoint": 52.71,
            "humidity": 66,
            "pressure": 1017,
            "precipIntensity": 0,
            "temperature": 64,
            "visibility": 6,
            "windGust": 5.83,
            "ozone": 332.63,
            "uvIndex": 0,
            "windSpeed": 5.74,
            "precipProbability": 0,
            "windBearing": 212,
            "icon": "clear",
            "summary": "Clear skies. A mild day ahead. Moderate humidity. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782352800,
            "timestamp": "2026-06-25T02:00:00.000Z"
        },
        {
            "apparentTemperature": 63,
            "cloudCover": 0.56,
            "dewPoint": 51.91,
            "humidity": 67,
            "pressure": 1017,
            "precipIntensity": 0,
            "temperature": 63,
            "visibility": 6,
            "windGust": 5.63,
            "ozone": 330.88,
            "uvIndex": 0,
            "windSpeed": 5.51,
            "precipProbability": 0,
            "windBearing": 227,
            "icon": "partly-cloudy",
            "summary": "Partly cloudy skies. A mild day ahead. Moderate humidity. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782356400,
            "timestamp": "2026-06-25T03:00:00.000Z"
        },
        {
            "apparentTemperature": 62,
            "cloudCover": 0.6,
            "dewPoint": 51.17,
            "humidity": 67,
            "pressure": 1018,
            "precipIntensity": 0,
            "temperature": 62,
            "visibility": 6,
            "windGust": 6.06,
            "ozone": 329.07,
            "uvIndex": 0,
            "windSpeed": 6.02,
            "precipProbability": 1,
            "windBearing": 225,
            "icon": "partly-cloudy",
            "summary": "Partly cloudy skies. A mild day ahead. Moderate humidity. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782360000,
            "timestamp": "2026-06-25T04:00:00.000Z"
        },
        {
            "apparentTemperature": 61,
            "cloudCover": 0.55,
            "dewPoint": 50.66,
            "humidity": 67,
            "pressure": 1017,
            "precipIntensity": 0,
            "temperature": 61,
            "visibility": 6,
            "windGust": 5.17,
            "ozone": 327.25,
            "uvIndex": 0,
            "windSpeed": 5.13,
            "precipProbability": 2,
            "windBearing": 215,
            "icon": "partly-cloudy",
            "summary": "Partly cloudy skies. A mild day ahead. Moderate humidity. Expect a gentle breeze. Low UV levels.",
            "unixTs": 1782363600,
            "timestamp": "2026-06-25T05:00:00.000Z"
        }
    ]
}
01

Get your API key

Sign up for an Ambee account and generate your API key from the dashboard.

02

Choose your endpoint

Select the endpoint based on what you need: present conditions, historical data, or forecasts.

03

Add your location

Specify the location using latitude/longitude coordinates, postal codes, city names, or country codes.

04

Make your request

Include your API key in the request header and call the endpoint. You'll receive AQI and all seven pollutant concentrations in JSON format.

How Ambee’s historical weather data is structured for decisions

Developer friendly

Available in multiple formats, so your team can integrate without rebuilding the pipeline around it.

Highest resolution

Available across multiple spatial and temporal scales, precise enough to matter at the local level.

90+ parameters

Available across multiple spatial and temporal scales, precise enough to matter at the local level.

International compliance

Every coordinate on Earth, from dense urban grids to remote agricultural regions.

Highest quality datasets

More than 20 years of validated records, structured for analysis.

Insights

Every time environmental data made a measurable difference in the real world

BLOG

Why you can’t ignore weather while demand forecasting

Why you can’t ignore weather while demand forecasting
blog

How retailers can weatherproof their business to maximize sales

How retailers can weatherproof their business to maximize sales
blog

How can the insurance sector better prepare for climate risks

How can the insurance sector better prepare for climate risks

Strengthen your climate analysis with more from Ambee’s historical climate data suite

Pollen

30+ pollen allergens categorized into trees, grasses, and weeds

Pollen API

Air quality

All major pollutants with location-specific air quality indices

Ambee Air Quality API

Astronomy

Local sunrise, sunset, azimuth, and elevation data for any location

Ambee Astronomy API

Influenza-like Illness

30-day risk forecasts for respiratory illness, including cold and cough

Ambee ILI API

Natural disasters

All major disasters in a geospatial format with severity levels and event metadata

Ambee natural disaster API

Wildfire

Wildfire activity and behavior with forward-looking risk forecasts

Ambee Wildfire API

Frequently asked questions

Common questions about Ambee's weather data

  • How accurate are the weather data?

    The accuracy of even the best weather APIs are determined by the quality of the ML models in use. Ambee's weather models are time-tested and have proven accuracy.

  • What is a weather API?

    Weather APIs, also known as Application Programming Interfaces, serve as platforms that offer immediate access to real-time weather data and forecasts. By utilizing these APIs, developers gain the capability to construct applications and retrieve the most up-to-date weather information from numerous sources.

  • Several application of weather API?

    Free weather APIs can be integrated almost anywhere to determine weather forecasts, help marketers execute weather-based campaigns, provide more information to climate scientists and even users to decide if they need an umbrella.

  • What are the components of weather data found in weather API?

    The components of the weather API are wind speed, wind direction, chances of rain, visibility, and many more.

  • What methods are used for weather forecasting?

    Weather forecasting can be conducted manually or with the help of AI and ML models. With weather APIs, the availability and accuracy of the weather data obtained are high.

  • Advantages of Ambee's weather API over others?

    Ambee's weather API powers decisions for both Fortune 500 companies and households. It is hyperlocal, accurate, accessible, and easily integrated due to its developer-friendly nature.

  • What is an alternative for Google's weather API?

    You can use Ambee's weather API in your application or service as an alternative to Google's weather API. To do so, you must sign up for an API key and access Ambee's weather data from the user-friendly dashboard. The dashboard also includes a tutorial to help you go through the process.

  • How can I use an API key in weather API calls?

    Copy and paste the API key provided on the dashboard into the suggested box to make weather API calls. The request is successfully read by the engine with the help of the API key.

Turn climate from a risk to an opportunity