Zum Inhalt springen
GET /v1/projection

Daily climate projection over a date range

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/climateprojections-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/climateprojections-api/v1/projection" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/climateprojections-api/v1/projection", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/climateprojections-api/v1/projection");
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/climateprojections-api/v1/projection",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "to": "2035-06-30",
        "from": "2035-06-01",
        "daily": {
            "time": [
                "2035-06-01",
                "2035-06-02",
                "2035-06-03",
                "2035-06-04",
                "2035-06-05",
                "2035-06-06",
                "2035-06-07",
                "2035-06-08",
                "2035-06-09",
                "2035-06-10",
                "2035-06-11",
                "2035-06-12",
                "2035-06-13",
                "2035-06-14",
                "2035-06-15",
                "2035-06-16",
                "2035-06-17",
                "2035-06-18",
                "2035-06-19",
                "2035-06-20",
                "2035-06-21",
                "2035-06-22",
                "2035-06-23",
                "2035-06-24",
                "2035-06-25",
                "2035-06-26",
                "2035-06-27",
                "2035-06-28",
                "2035-06-29",
                "2035-06-30"
            ],
            "precipitation_sum": [
                20.56,
                0.1,
                0,
                0,
                6.18,
                0.31,
                5.15,
                0.53,
                0,
                0.32,
                9.12,
                1.06,
                4.05,
                0,
                0,
                0,
                0,
                4.3,
                9.16,
                0.43,
                4.33,
                7.59,
                10.32,
                4.68,
                0,
                9.95,
                0.99,
                0,
                0.22,
                0.55
            ],
            "temperature_2m_max": [
                12,
                17.2,
                18.7,
                23.5,
                21.6,
                17.8,
                16.8,
                19.3,
                21.1,
                18.6,
                19.3,
                18.1,
                22,
                24,
                29.2,
                29.8,
                29.1,
                28.6,
                27.5,
                28,
                31.4,
                26.1,
                27.8,
                28.8,
                25.4,
                21.2,
                21.7,
                21.2,
                21.7,
                22.9
            ],
            "temperature_2m_min": [
                9.3,
                8.7,
                7.4,
                13.3,
                15.3,
                11.6,
                8.9,
                8.2,
                8.8,
                9.5,
                9.5,
                11.6,
                11.2,
                12.6,
                15.1,
                17.7,
                18.4,
                20,
                19.1,
                19.1,
                18.6,
                19.4,
                18.6,
                19,
                18.5,
             
…