Open Weather Map avatar
Open Weather Map

Pricing

$6.66/month + usage

Go to Store
Open Weather Map

Open Weather Map

Developed by

Prog Party

Maintained by Community

This Open Weather Map Actor retrieves weather data from any location around the world, and returns the weather data for your input as a Dataset.

0.0 (0)

Pricing

$6.66/month + usage

0

Monthly users

2

Runs succeeded

>99%

Last modified

a month ago

You can access the Open Weather Map programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "r9I6xBTA9AhccjD1I"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/prog-party~open-weather-map/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-prog-party-open-weather-map",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/prog-party~open-weather-map/runs": {
50      "post": {
51        "operationId": "runs-sync-prog-party-open-weather-map",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/prog-party~open-weather-map/run-sync": {
93      "post": {
94        "operationId": "run-sync-prog-party-open-weather-map",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "properties": {
134          "apiKey": {
135            "title": "Api Key",
136            "type": "string",
137            "description": "Provide your api key for the Open Weather Map API. You can get an api key at https://openweathermap.org/api."
138          },
139          "latitude": {
140            "title": "Latitude",
141            "type": "string",
142            "description": "Latitude"
143          },
144          "longitude": {
145            "title": "Longitude",
146            "type": "string",
147            "description": "Longitude"
148          },
149          "units": {
150            "title": "Units",
151            "enum": [
152              "metric",
153              "imperial",
154              "standard"
155            ],
156            "type": "string",
157            "description": "Units of measurement. Metric and imperial, and SI units are available. If you do not use the units parameter, metric units will be applied by default.",
158            "default": "metric"
159          },
160          "language": {
161            "title": "Language",
162            "enum": [
163              "sq",
164              "af",
165              "ar",
166              "az",
167              "eu",
168              "be",
169              "bg",
170              "ca",
171              "zh_cn",
172              "zh_tw",
173              "hr",
174              "cz",
175              "da",
176              "nl",
177              "en",
178              "fi",
179              "fr",
180              "gl",
181              "de",
182              "el",
183              "he",
184              "hi",
185              "hu",
186              "is",
187              "id",
188              "it",
189              "ja",
190              "kr",
191              "ku",
192              "la",
193              "lt",
194              "mk",
195              "no",
196              "fa",
197              "pl",
198              "pt",
199              "pt_br",
200              "ro",
201              "ru",
202              "sr",
203              "sk",
204              "sl",
205              "sp",
206              "sv",
207              "th",
208              "tr",
209              "ua",
210              "vi",
211              "zu"
212            ],
213            "type": "string",
214            "description": "You can use this parameter to get the output in your language. ",
215            "default": "en"
216          }
217        }
218      },
219      "runsResponseSchema": {
220        "type": "object",
221        "properties": {
222          "data": {
223            "type": "object",
224            "properties": {
225              "id": {
226                "type": "string"
227              },
228              "actId": {
229                "type": "string"
230              },
231              "userId": {
232                "type": "string"
233              },
234              "startedAt": {
235                "type": "string",
236                "format": "date-time",
237                "example": "2025-01-08T00:00:00.000Z"
238              },
239              "finishedAt": {
240                "type": "string",
241                "format": "date-time",
242                "example": "2025-01-08T00:00:00.000Z"
243              },
244              "status": {
245                "type": "string",
246                "example": "READY"
247              },
248              "meta": {
249                "type": "object",
250                "properties": {
251                  "origin": {
252                    "type": "string",
253                    "example": "API"
254                  },
255                  "userAgent": {
256                    "type": "string"
257                  }
258                }
259              },
260              "stats": {
261                "type": "object",
262                "properties": {
263                  "inputBodyLen": {
264                    "type": "integer",
265                    "example": 2000
266                  },
267                  "rebootCount": {
268                    "type": "integer",
269                    "example": 0
270                  },
271                  "restartCount": {
272                    "type": "integer",
273                    "example": 0
274                  },
275                  "resurrectCount": {
276                    "type": "integer",
277                    "example": 0
278                  },
279                  "computeUnits": {
280                    "type": "integer",
281                    "example": 0
282                  }
283                }
284              },
285              "options": {
286                "type": "object",
287                "properties": {
288                  "build": {
289                    "type": "string",
290                    "example": "latest"
291                  },
292                  "timeoutSecs": {
293                    "type": "integer",
294                    "example": 300
295                  },
296                  "memoryMbytes": {
297                    "type": "integer",
298                    "example": 1024
299                  },
300                  "diskMbytes": {
301                    "type": "integer",
302                    "example": 2048
303                  }
304                }
305              },
306              "buildId": {
307                "type": "string"
308              },
309              "defaultKeyValueStoreId": {
310                "type": "string"
311              },
312              "defaultDatasetId": {
313                "type": "string"
314              },
315              "defaultRequestQueueId": {
316                "type": "string"
317              },
318              "buildNumber": {
319                "type": "string",
320                "example": "1.0.0"
321              },
322              "containerUrl": {
323                "type": "string"
324              },
325              "usage": {
326                "type": "object",
327                "properties": {
328                  "ACTOR_COMPUTE_UNITS": {
329                    "type": "integer",
330                    "example": 0
331                  },
332                  "DATASET_READS": {
333                    "type": "integer",
334                    "example": 0
335                  },
336                  "DATASET_WRITES": {
337                    "type": "integer",
338                    "example": 0
339                  },
340                  "KEY_VALUE_STORE_READS": {
341                    "type": "integer",
342                    "example": 0
343                  },
344                  "KEY_VALUE_STORE_WRITES": {
345                    "type": "integer",
346                    "example": 1
347                  },
348                  "KEY_VALUE_STORE_LISTS": {
349                    "type": "integer",
350                    "example": 0
351                  },
352                  "REQUEST_QUEUE_READS": {
353                    "type": "integer",
354                    "example": 0
355                  },
356                  "REQUEST_QUEUE_WRITES": {
357                    "type": "integer",
358                    "example": 0
359                  },
360                  "DATA_TRANSFER_INTERNAL_GBYTES": {
361                    "type": "integer",
362                    "example": 0
363                  },
364                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
365                    "type": "integer",
366                    "example": 0
367                  },
368                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
369                    "type": "integer",
370                    "example": 0
371                  },
372                  "PROXY_SERPS": {
373                    "type": "integer",
374                    "example": 0
375                  }
376                }
377              },
378              "usageTotalUsd": {
379                "type": "number",
380                "example": 0.00005
381              },
382              "usageUsd": {
383                "type": "object",
384                "properties": {
385                  "ACTOR_COMPUTE_UNITS": {
386                    "type": "integer",
387                    "example": 0
388                  },
389                  "DATASET_READS": {
390                    "type": "integer",
391                    "example": 0
392                  },
393                  "DATASET_WRITES": {
394                    "type": "integer",
395                    "example": 0
396                  },
397                  "KEY_VALUE_STORE_READS": {
398                    "type": "integer",
399                    "example": 0
400                  },
401                  "KEY_VALUE_STORE_WRITES": {
402                    "type": "number",
403                    "example": 0.00005
404                  },
405                  "KEY_VALUE_STORE_LISTS": {
406                    "type": "integer",
407                    "example": 0
408                  },
409                  "REQUEST_QUEUE_READS": {
410                    "type": "integer",
411                    "example": 0
412                  },
413                  "REQUEST_QUEUE_WRITES": {
414                    "type": "integer",
415                    "example": 0
416                  },
417                  "DATA_TRANSFER_INTERNAL_GBYTES": {
418                    "type": "integer",
419                    "example": 0
420                  },
421                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
422                    "type": "integer",
423                    "example": 0
424                  },
425                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
426                    "type": "integer",
427                    "example": 0
428                  },
429                  "PROXY_SERPS": {
430                    "type": "integer",
431                    "example": 0
432                  }
433                }
434              }
435            }
436          }
437        }
438      }
439    }
440  }
441}

Open Weather Map OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Open Weather Map from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

3 days

Price

$6.66