# pvnode V2 API

Source: https://docs.evcc.io/en/tariffs/pvnode-v2-api

[pvnode V2 API](https://pvnode.com) provides 15-minute PV production forecasts via REST API Version 2 with site ID and easy configuration via web app.
An API key is required (free plan available).
**Attention**: The free plan only allows one fixed site with forecasts for today & tomorrow and only one update per day and 250 cached queries.

Supported features: Global

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| apikey | pvnode API key |  |  |
| site_id | Site ID |  |  |
| forecast_days | Forecast days The free plan of pvnode only allows 1 forecast day (1 = today + tomorrow). | 1 | advanced |
| interval | Interval | 24h | advanced |

## Configuration example for evcc.yaml

```yaml
tariffs:
    solar:
      - type: template
        template: pvnode-v2
        apikey: # pvnode API key
        site_id: # Site ID
        forecast_days: 1 # Forecast days, The free plan of pvnode only allows 1 forecast day (1 = today + tomorrow). (optional)
        interval: 24h # Interval, optional
```
