> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rebase.energy/llms.txt
> Use this file to discover all available pages before exploring further.

# How to upload other measured data

> Upload weather and other time series to a site

Weather data and other type of time series can be uploaded to a site using the `type` parameter as tag.
The default value for `type` is `power` which corresponds to [measured generation or consumption data](/api-guides/upload-power).
Below is an example of how to upload the measured temperature values at the site's location.

```python Upload other time series theme={null}
import requests

api_key = "Your API key" # Set your API key
site_id = "a923653c-26f1-1b29-955d-ffde5d182276" # Set the site ID
tag = "temperature" # Set a tag for the time series you upload

payload = {
	"type": tag,
    "data": [
        {
            "valid_time": "2022-05-16T13:00:00Z",
            "value": 16.5
        },
        {
            "valid_time": "2022-05-16T14:00:00Z",
            "value": 16.7
        },
        {
            "valid_time": "2022-05-16T15:00:00Z",
            "value": 17.2
        }
    ]
}

url = f"https://api.rebase.energy/platform/v2/sites/{site_id}/actual"
headers = {"Authorization": api_key, "Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)
response.raise_for_status()
response = response.json()
```

```python Response example theme={null}
{
    "message": "Actuals uploaded successfully"
}
```
