Get location timeseries for provided model and elements.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| lat | string | Required | - | The latitude of the location |
| lon | number | Required | - | The longitude of the location |
| model | string | Required | - | Weather model id |
| elements | array | Required | - | Weather elements |
| levels | array | Required | - | Weather element levels |
| units | array | Optional | - | Weather element units |
| members | array | Optional | - | Ensemble model members |
| runtime | string | Optional | latest | Model run |
| Property | Type | Description | |
|---|---|---|---|
latitude | number | Latitude coordinate of the location (in decimal degrees). | |
longitude | number | Longitude coordinate of the location (in decimal degrees). | |
model | string | Name of the weather model used for the data. | |
runtime | integer | UNIX timestamp indicating the runtime of the model used to generate the data. | |
time |
curl "https://api.infoplaza.dev/v1/weather/models/forecast? \
lat=52.02 \
&lon=5.16 \
&model=optimal \
&elements=temperature,windspeed \
&levels=2m,10m \
&api_key=$INFOPLAZA_API_KEY"{
"latitude": 52.02,
"longitude": 5.16,
"model": "optimal",
"runtime": 1768478400,
"time": {
"offsets": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180
],
"datetimes": [
"2026-01-15T12:00:00Z",
"2026-01-15T13:00:00Z",
"2026-01-15T14:00:00Z",
"2026-01-15T15:00:00Z",
"2026-01-15T16:00:00Z",
"2026-01-15T17:00:00Z",
"2026-01-15T18:00:00Z",
"2026-01-15T19:00:00Z",
"2026-01-15T20:00:00Z",
"2026-01-15T21:00:00Z",
"2026-01-15T22:00:00Z",
"2026-01-15T23:00:00Z",
"2026-01-16T00:00:00Z",
"2026-01-16T01:00:00Z",
"2026-01-16T02:00:00Z",
"2026-01-16T03:00:00Z",
"2026-01-16T04:00:00Z",
"2026-01-16T05:00:00Z",
"2026-01-16T06:00:00Z",
"2026-01-16T07:00:00Z",
"2026-01-16T08:00:00Z",
"2026-01-16T09:00:00Z",
"2026-01-16T10:00:00Z",
"2026-01-16T11:00:00Z",
"2026-01-16T12:00:00Z",
"2026-01-16T13:00:00Z",
"2026-01-16T14:00:00Z",
"2026-01-16T15:00:00Z",
"2026-01-16T16:00:00Z",
"2026-01-16T17:00:00Z",
"2026-01-16T18:00:00Z",
"2026-01-16T19:00:00Z",
"2026-01-16T20:00:00Z",
"2026-01-16T21:00:00Z",
"2026-01-16T22:00:00Z",
"2026-01-16T23:00:00Z",
"2026-01-17T00:00:00Z",
"2026-01-17T01:00:00Z",
"2026-01-17T02:00:00Z",
"2026-01-17T03:00:00Z",
"2026-01-17T04:00:00Z",
"2026-01-17T05:00:00Z",
"2026-01-17T06:00:00Z",
"2026-01-17T07:00:00Z",
"2026-01-17T08:00:00Z",
"2026-01-17T09:00:00Z",
"2026-01-17T10:00:00Z",
"2026-01-17T11:00:00Z",
"2026-01-17T12:00:00Z",
"2026-01-17T13:00:00Z",
"2026-01-17T14:00:00Z",
"2026-01-17T15:00:00Z",
"2026-01-17T16:00:00Z",
"2026-01-17T17:00:00Z",
"2026-01-17T18:00:00Z",
"2026-01-17T19:00:00Z",
"2026-01-17T20:00:00Z",
"2026-01-17T21:00:00Z",
"2026-01-17T22:00:00Z",
"2026-01-17T23:00:00Z",
"2026-01-18T00:00:00Z",
"2026-01-18T01:00:00Z",
"2026-01-18T02:00:00Z",
"2026-01-18T03:00:00Z",
"2026-01-18T04:00:00Z",
"2026-01-18T05:00:00Z",
"2026-01-18T06:00:00Z",
"2026-01-18T07:00:00Z",
"2026-01-18T08:00:00Z",
"2026-01-18T09:00:00Z",
"2026-01-18T10:00:00Z",
"2026-01-18T11:00:00Z",
"2026-01-18T12:00:00Z",
"2026-01-18T13:00:00Z",
"2026-01-18T14:00:00Z",
"2026-01-18T15:00:00Z",
"2026-01-18T16:00:00Z",
"2026-01-18T17:00:00Z",
"2026-01-18T18:00:00Z",
"2026-01-18T19:00:00Z",
"2026-01-18T20:00:00Z",
"2026-01-18T21:00:00Z",
"2026-01-18T22:00:00Z",
"2026-01-18T23:00:00Z",
"2026-01-19T00:00:00Z",
"2026-01-19T01:00:00Z",
"2026-01-19T02:00:00Z",
"2026-01-19T03:00:00Z",
"2026-01-19T04:00:00Z",
"2026-01-19T05:00:00Z",
"2026-01-19T06:00:00Z",
"2026-01-19T07:00:00Z",
"2026-01-19T08:00:00Z",
"2026-01-19T09:00:00Z",
"2026-01-19T10:00:00Z",
"2026-01-19T11:00:00Z",
"2026-01-19T12:00:00Z",
"2026-01-19T13:00:00Z",
"2026-01-19T14:00:00Z",
"2026-01-19T15:00:00Z",
"2026-01-19T16:00:00Z",
"2026-01-19T17:00:00Z",
"2026-01-19T18:00:00Z",
"2026-01-19T19:00:00Z",
"2026-01-19T20:00:00Z",
"2026-01-19T21:00:00Z",
"2026-01-19T22:00:00Z",
"2026-01-19T23:00:00Z",
"2026-01-20T00:00:00Z",
"2026-01-20T01:00:00Z",
"2026-01-20T02:00:00Z",
"2026-01-20T03:00:00Z",
"2026-01-20T04:00:00Z",
"2026-01-20T05:00:00Z",
"2026-01-20T06:00:00Z",
"2026-01-20T07:00:00Z",
"2026-01-20T08:00:00Z",
"2026-01-20T09:00:00Z",
"2026-01-20T10:00:00Z",
"2026-01-20T11:00:00Z",
"2026-01-20T12:00:00Z",
"2026-01-20T13:00:00Z",
"2026-01-20T14:00:00Z",
"2026-01-20T15:00:00Z",
"2026-01-20T16:00:00Z",
"2026-01-20T17:00:00Z",
"2026-01-20T18:00:00Z",
"2026-01-20T19:00:00Z",
"2026-01-20T20:00:00Z",
"2026-01-20T21:00:00Z",
"2026-01-20T22:00:00Z",
"2026-01-20T23:00:00Z",
"2026-01-21T00:00:00Z",
"2026-01-21T01:00:00Z",
"2026-01-21T02:00:00Z",
"2026-01-21T03:00:00Z",
"2026-01-21T04:00:00Z",
"2026-01-21T05:00:00Z",
"2026-01-21T06:00:00Z",
"2026-01-21T07:00:00Z",
"2026-01-21T08:00:00Z",
"2026-01-21T09:00:00Z",
"2026-01-21T10:00:00Z",
"2026-01-21T11:00:00Z",
"2026-01-21T12:00:00Z",
"2026-01-21T13:00:00Z",
"2026-01-21T14:00:00Z",
"2026-01-21T15:00:00Z",
"2026-01-21T16:00:00Z",
"2026-01-21T17:00:00Z",
"2026-01-21T18:00:00Z",
"2026-01-21T19:00:00Z",
"2026-01-21T20:00:00Z",
"2026-01-21T21:00:00Z",
"2026-01-21T22:00:00Z",
"2026-01-21T23:00:00Z",
"2026-01-22T00:00:00Z",
"2026-01-22T01:00:00Z",
"2026-01-22T02:00:00Z",
"2026-01-22T03:00:00Z",
"2026-01-22T04:00:00Z",
"2026-01-22T05:00:00Z",
"2026-01-22T06:00:00Z",
"2026-01-22T07:00:00Z",
"2026-01-22T08:00:00Z",
"2026-01-22T09:00:00Z",
"2026-01-22T10:00:00Z",
"2026-01-22T11:00:00Z",
"2026-01-22T12:00:00Z",
"2026-01-22T13:00:00Z",
"2026-01-22T14:00:00Z",
"2026-01-22T15:00:00Z",
"2026-01-22T16:00:00Z",
"2026-01-22T17:00:00Z",
"2026-01-22T18:00:00Z",
"2026-01-22T19:00:00Z",
"2026-01-22T20:00:00Z",
"2026-01-22T21:00:00Z",
"2026-01-22T22:00:00Z",
"2026-01-22T23:00:00Z",
"2026-01-23T00:00:00Z"
],
"timestamps": [
1768478400,
1768482000,
1768485600,
1768489200,
1768492800,
1768496400,
1768500000,
1768503600,
1768507200,
1768510800,
1768514400,
1768518000,
1768521600,
1768525200,
1768528800,
1768532400,
1768536000,
1768539600,
1768543200,
1768546800,
1768550400,
1768554000,
1768557600,
1768561200,
1768564800,
1768568400,
1768572000,
1768575600,
1768579200,
1768582800,
1768586400,
1768590000,
1768593600,
1768597200,
1768600800,
1768604400,
1768608000,
1768611600,
1768615200,
1768618800,
1768622400,
1768626000,
1768629600,
1768633200,
1768636800,
1768640400,
1768644000,
1768647600,
1768651200,
1768654800,
1768658400,
1768662000,
1768665600,
1768669200,
1768672800,
1768676400,
1768680000,
1768683600,
1768687200,
1768690800,
1768694400,
1768698000,
1768701600,
1768705200,
1768708800,
1768712400,
1768716000,
1768719600,
1768723200,
1768726800,
1768730400,
1768734000,
1768737600,
1768741200,
1768744800,
1768748400,
1768752000,
1768755600,
1768759200,
1768762800,
1768766400,
1768770000,
1768773600,
1768777200,
1768780800,
1768784400,
1768788000,
1768791600,
1768795200,
1768798800,
1768802400,
1768806000,
1768809600,
1768813200,
1768816800,
1768820400,
1768824000,
1768827600,
1768831200,
1768834800,
1768838400,
1768842000,
1768845600,
1768849200,
1768852800,
1768856400,
1768860000,
1768863600,
1768867200,
1768870800,
1768874400,
1768878000,
1768881600,
1768885200,
1768888800,
1768892400,
1768896000,
1768899600,
1768903200,
1768906800,
1768910400,
1768914000,
1768917600,
1768921200,
1768924800,
1768928400,
1768932000,
1768935600,
1768939200,
1768942800,
1768946400,
1768950000,
1768953600,
1768957200,
1768960800,
1768964400,
1768968000,
1768971600,
1768975200,
1768978800,
1768982400,
1768986000,
1768989600,
1768993200,
1768996800,
1769000400,
1769004000,
1769007600,
1769011200,
1769014800,
1769018400,
1769022000,
1769025600,
1769029200,
1769032800,
1769036400,
1769040000,
1769043600,
1769047200,
1769050800,
1769054400,
1769058000,
1769061600,
1769065200,
1769068800,
1769072400,
1769076000,
1769079600,
1769083200,
1769086800,
1769090400,
1769094000,
1769097600,
1769101200,
1769104800,
1769108400,
1769112000,
1769115600,
1769119200,
1769122800,
1769126400
]
},
"elements": [
{
"element": "temperature",
"level": "2m",
"unit": "°C",
"values": [
9.57,
9.46,
9.38,
9.09,
8.68,
8.5,
8.34,
8.14,
8.15,
8.32,
8.25,
8.68,
9.19,
9.01,
9.34,
9.28,
8.8,
7.04,
6.26,
5.89,
5.24,
5.06,
6.32,
7.72,
8.94,
9.5,
9.63,
9.06,
8.13,
7.61,
7.39,
7.18,
6.83,
6.51,
6.17,
5.75,
5.24,
5.23,
5.18,
5.3,
5.67,
6.26,
6.63,
6.79,
6.89,
7.07,
7.37,
7.97,
8.55,
9.19,
9.54,
9.04,
7.61,
6.91,
6.19,
5.46,
4.66,
3.97,
3.47,
3.59,
3,
2.67,
2.4,
2.18,
1.95,
1.8,
2.08,
2.43,
2.74,
3.14,
3.85,
5.15,
6.17,
6.79,
7.02,
6.65,
5.92,
4.93,
4.14,
3.42,
2.92,
2.49,
2.19,
1.91,
1.73,
1.48,
1.29,
1.1,
0.9,
0.62,
0.61,
0.64,
0.99,
1.65,
2.57,
3.76,
4.67,
5.28,
5.66,
5.47,
4.68,
3.71,
2.93,
2.51,
2.05,
1.72,
1.48,
1.16,
0.96,
0.69,
0.42,
0.16,
-0.01,
-0.08,
-0.13,
0.1,
0.65,
1.31,
2.56,
4.16,
5,
4.87,
4.59,
4.15,
3.59,
3.01,
2.52,
2.1,
1.66,
1.32,
1,
0.69,
0.44,
0.14,
-0.05,
-0.21,
-0.31,
-0.44,
-0.51,
-0.15,
0.6,
1.51,
2.54,
3.6,
4.43,
4.8,
4.66,
4.33,
3.73,
2.86,
2.08,
1.46,
0.82,
0.57,
0.26,
-0.09,
-0.43,
-0.75,
-1.07,
-1.18,
-1.33,
-1.61,
-1.44,
-1.28,
-0.5,
0.5,
1.67,
2.84,
3.75,
4.16,
3.96,
3.52,
2.82,
1.91,
1.2,
0.59,
0.09,
-0.26,
-0.41,
-0.65,
-0.9
]
},
{
"element": "windspeed",
"level": "10m",
"unit": "km/h",
"values": [
20.15,
20.52,
18.41,
18.74,
19.09,
20.52,
20.52,
20.52,
21.28,
22.47,
24.16,
25.98,
27.43,
27.43,
26.94,
25.98,
26.94,
24.16,
19.79,
14.02,
10.88,
9.24,
12.35,
13.77,
14.28,
14.02,
13.28,
11.7,
10.3,
10.12,
10.12,
9.94,
9.58,
9.24,
8.14,
7.43,
6.91,
8.44,
8.44,
9.08,
9.94,
10.49,
10.88,
11.08,
11.7,
11.08,
11.08,
10.68,
10.12,
9.41,
8.44,
7.3,
7.57,
7.85,
7.17,
6.55,
5.46,
5.66,
5.17,
5.17,
5.27,
5.08,
5.46,
5.56,
5.66,
6.67,
6.91,
7.71,
8.44,
9.08,
9.58,
10.3,
10.3,
10.49,
9.94,
9.58,
9.41,
9.41,
9.24,
8.14,
7.3,
6.91,
6.55,
6.55,
6.67,
6.55,
6.67,
6.67,
6.79,
6.91,
7.3,
7.99,
8.6,
8.91,
9.08,
9.08,
8.91,
8.75,
8.29,
7.57,
7.57,
7.71,
7.57,
6.91,
6.2,
5.77,
5.46,
5.36,
5.17,
4.99,
4.99,
5.08,
5.27,
5.56,
6.32,
6.91,
7.99,
8.44,
8.6,
8.44,
8.44,
8.91,
9.41,
9.41,
9.41,
9.41,
8.91,
8.29,
7.71,
7.43,
7.3,
7.3,
7.43,
7.3,
7.17,
7.17,
7.17,
7.43,
7.85,
8.29,
9.08,
9.41,
9.76,
10.12,
10.88,
11.28,
11.49,
11.49,
10.88,
10.68,
10.12,
9.58,
8.91,
8.6,
8.29,
8.29,
8.14,
7.99,
7.99,
7.85,
7.99,
8.29,
8.75,
9.08,
9.58,
9.94,
10.12,
10.49,
10.68,
11.28,
11.49,
11.28,
11.08,
10.49,
9.94,
9.41,
8.75,
8.29,
7.99,
7.71,
7.71
]
}
]
}| Time-related information for the time series data. |
└─offsets | array | Array of integer offsets representing each time step (hours) relative to the model runtime. |
└─datetimes | array | Array of ISO 8601 formatted UTC datetime strings corresponding to each time step. |
└─timestamps | array | Array of UNIX timestamps corresponding to each time step. |
elements | array | Array of weather elements containing level, units and the values time series. |
└─element | string | Name of the weather element (e.g., temperature, windspeed). |
└─level | string | Vertical level or height of the measurement (e.g., '2m' for 2 meters). |
└─unit | string | Measurement unit of the weather element values. |
└─values | array | Array of numeric values representing the measurement of this element at each time step. |