<p>Where can I find a free Python API that provides historical weather data (temperature, rainfall)? I'd need data of an Italian city, at least with hourly granularity.</p>

CC BY-SA 4.0
2020-12-23T16:47:40.027Z
How far back? I know of at least one dataset that goes back to 1980. This particular dataset doesn't have a specific Python API, but there are Python modules that will let you access it (given that you get a login) with relative ease.
BarocliniCplusplus
CC BY-SA 4.0
2020-12-23T17:06:25.577Z
Just few months back, but I need data about Italian locations
nicc96
CC BY-SA 4.0
2020-12-23T19:06:04.067Z
What Italian location are you looking for?
Wxboyajm
CC BY-SA 4.0
2020-12-24T19:55:28.907Z
I would also like to get that data, especially if it's in a .csv format (or similar) where I can use the Python package called Pandas to access and manipulate it. If you find a link, please post it here.
rchuso
CC BY-SA 4.0
2020-12-25T07:09:08.380Z
Are you looking for raw station data or would climate reanalysis be an option for you?
Dima Chubarov
CC BY-SA 4.0
2020-12-25T14:34:02.520Z
If you don't find an answer here, perhaps try our sister site [opendata.se].
Glorfindel
<meteorology><rainfall><python>
Free historical weather data API
nicc96
# Free historical weather data API

(Asked by: username_0 on 2020-12-23)

Where can I find a free Python API that provides historical weather data (temperature, rainfall)? I'd need data of an Italian city, at least with hourly granularity.

**Tags:** meteorology, rainfall, python

> **Comments:**
> **username_1**: How far back? I know of at least one dataset that goes back to 1980. This particular dataset doesn't have a specific Python API, but there are Python modules that will let you access it (given that you get a login) with relative ease.  
> **username_0**: Just few months back, but I need data about Italian locations  
> **username_2**: What Italian location are you looking for?  
> **username_3**: I would also like to get that data, especially if it's in a .csv format (or similar) where I can use the Python package called Pandas to access and manipulate it. If you find a link, please post it here.  
> **username_4**: Are you looking for raw station data or would climate reanalysis be an option for you?  
> **username_5**: If you don't find an answer here, perhaps try our sister site [opendata.se].  

---

## 0 answers

