/v1/weather
Track weather
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/openf1-api/v1/weather" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/openf1-api/v1/weather", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/openf1-api/v1/weather");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/openf1-api/v1/weather",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 133,
"weather": [
{
"date": "2024-09-01T12:08:10.059000+00:00",
"humidity": 38,
"pressure": 993.8,
"rainfall": 0,
"wind_speed": 0.7,
"wind_direction": 318,
"air_temperature": 33.2,
"track_temperature": 52.1
},
{
"date": "2024-09-01T12:09:10.057000+00:00",
"humidity": 37,
"pressure": 993.9,
"rainfall": 0,
"wind_speed": 1,
"wind_direction": 207,
"air_temperature": 33.2,
"track_temperature": 52.1
},
{
"date": "2024-09-01T12:10:10.059000+00:00",
"humidity": 37,
"pressure": 993.9,
"rainfall": 0,
"wind_speed": 1.3,
"wind_direction": 230,
"air_temperature": 33.2,
"track_temperature": 52.8
},
{
"date": "2024-09-01T12:11:10.064000+00:00",
"humidity": 36,
"pressure": 993.8,
"rainfall": 0,
"wind_speed": 0.7,
"wind_direction": 200,
"air_temperature": 33.2,
"track_temperature": 52.8
},
{
"date": "2024-09-01T12:12:10.069000+00:00",
"humidity": 36,
"pressure": 993.8,
"rainfall": 0,
"wind_speed": 0.8,
"wind_direction": 182,
"air_temperature": 33.3,
"track_temperature": 52.8
},
{
"date": "2024-09-01T12:13:10.086000+00:00",
"humidity": 36,
"pressure": 993.8,
"rainfall": 0,
"wind_speed": 0.8,
"wind_direction": 318,
"air_temperature": 33.3,
"track_temperature": 53
},
{
"date": "2024-09-01T12:14:10.105000+00:00",
"humidity": 35,
"pressure": 993.9,
"rainfall": 0,
"wind_speed": 1.5,
"wind_direction": 349,
"air_temperature": 33.3,
"track_temperature": 53
},
{
"date": "2024-09-01T12:15:10.121000+00:00",
"humidity": 35,
"pressure": 993.8,
"rainfall": 0,
"wind_speed": 1.7,
"wind_direction": 0,
"air_temperature": 33.4,
"track_temperature": 52.7
},
{
"date": "2024-09-01T12:16:10.123000+00:00",
"humidity": 35,
"pressure": 993.8,
"rainfall": 0,
"wind_spe
…