{
"count": 2,
"items": [
{
"label": "Madrid",
"lat": 40.4168,
"lon": -3.7038,
"peakPowerKw": 5,
"tiltDeg": 37,
"azimuthDeg": -5,
"azimuthCompassDeg": 175,
"optimizedAngles": true,
"anglesMethod": "optimal-angles",
"tracking": "none",
"mounting": "free",
"technology": "crystSi",
"systemLossPercent": 14,
"annualKwh": 8103.6,
"specificYieldKwhPerKwp": 1620.72,
"dailyAvgKwh": 22.19,
"monthlyKwh": [
{
"month": 1,
"name": "January",
"kwh": 548.55
},
{
"month": 2,
"name": "February",
"kwh": 572.45
},
{
"month": 3,
"name": "March",
"kwh": 693.3
},
{
"month": 4,
"name": "April",
"kwh": 708.3
},
{
"month": 5,
"name": "May",
"kwh": 763.35
},
{
"month": 6,
"name": "June",
"kwh": 765.5
},
{
"month": 7,
"name": "July",
"kwh": 835.85
},
{
"month": 8,
"name": "August",
"kwh": 823
},
{
"month": 9,
"name": "September",
"kwh": 730.6
},
{
"month": 10,
"name": "October",
"kwh": 635.9
},
{
"month": 11,
"name": "November",
"kwh": 510.8
},
{
"month": 12,
"name": "December",
"kwh": 516
}
],
"bestMonth": "July",
"bestMonthKwh": 835.85,
"worstMonth": "November",
"worstMonthKwh": 510.8,
"annualIrradiationKwhM2": 2093.75,
"yearToYearVariabilityKwh": 252.35,
"totalLossPercent": 22.59,
"performanceRatioPercent": 77.41,
"radiationDatabase": "SARAH3",
"dataYears": "2005-2023",
"elevationM": 665,
"lifetimeKwh25y": 190888,
"fetchedAt": "2026-11-28T18:43:40Z"
},
{
"label": "Varna",
"lat": 43.2141,
"lon": 27.9147,
"peakPowerKw": 5,
"tiltDeg": 35,
"azimuthDeg": 0,
"azimuthCompassDeg": 180,
"optimizedAngles": true,
"anglesMethod": "optimal-angles",
"tracking": "none",
"mounting": "free",
"technology": "crystSi",
"systemLossPercent": 14,
"annualKwh": 6727.1,
"specificYieldKwhPerKwp": 1345.42,
"dailyAvgKwh": 18.42,
"monthlyKwh": [
{
"month": 1,
"name": "January",
"kwh": 355.4
},
{
"month": 2,
"name": "February",
"kwh": 396.05
},
{
"month": 3,
"name": "March",
"kwh": 535.95
},
{
"month": 4,
"name": "April",
"kwh": 631.7
},
{
"month": 5,
"name": "May",
"kwh": 706.4
},
{
"month": 6,
"name": "June",
"kwh": 715.5
},
{
"month": 7,
"name": "July",
"kwh": 784
},
{
"month": 8,
"name": "August",
"kwh": 799.2
},
{
"month": 9,
"name": "September",
"kwh": 648.45
},
{
"month": 10,
"name": "October",
"kwh": 492.65
},
{
"month": 11,
"name": "November",
"kwh": 334.7
},
{
"month": 12,
"name": "December",
"kwh": 327.15
}
],
"bestMonth": "August",
"bestMonthKwh": 799.2,
"worstMonth": "December",
"worstMonthKwh": 327.15,
"annualIrradiationKwhM2": 1697.92,
"yearToYearVariabilityKwh": 270.4,
"totalLossPercent": 20.76,
"performanceRatioPercent": 79.24,
"radiationDatabase": "SARAH3",
"dataYears": "2005-2023",
"elevationM": 48,
"lifetimeKwh25y": 158463,
"fetchedAt": "2026-11-28T18:43:40Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15726/solar+pv+yield+api/42730/solar+pv+yield+api?locations=40.4168,-3.7038,Madrid,43.2141,27.9147,Varna&mode=yield&peakPowerKw=5&systemLossPercent=14&optimize=true&mounting=free&technology=crystSi&tracking=none¤cy=EUR' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 太阳能光伏发电量 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
太阳能光伏发电量 API,无需 API 密钥:任何地点任意 kWp 系统的年度和月度千瓦时发电量、最佳倾角和方位角、屋顶朝向对比(南向、东向、西向或平屋顶),以及根据您的电价计算的回本时间
太阳能光伏发电量 API,无需 API 密钥:适用于任意地点、任意 kWp 系统的年度和月度 kWh 发电量、最佳倾角和方位角、屋顶朝向比较(南/东/西/平屋顶),以及根据您的电价计算回本时间
每个请求最多返回 100 条结果,具体取决于端点】【。
每次请求都会从公共来源收集实时数据。相同的请求可能会从缓存中提供,缓存时间最长为 6 小时。 .
列表参数可接受多个以逗号分隔的值,例如:london,paris.
端点接受以下查询参数,均为可选:locations、mode、peakPowerKw、systemLossPercent、optimize、tilt、azimuthCompass、mounting、technology、tracking、electricityPrice、currency、systemCost。Locations:每行一个位置,格式为“lat,lon”或“lat,lon,label”(十进制度数,例如 51.5072,-0.1276,London)。每次最多 50 个位置。位于海上或超出覆盖范围的点会生成一行,并包含 error 字段。多个值:以逗号分隔。Mode:Yield = 每个位置的年发电量(kWh)、月度列表、最佳/最差月份和金额;monthly = 每个位置 12 行;compare = 仅针对第一个位置,分别列出最佳朝向、平屋顶以及朝南/东/西 30 度的结果,并给出相对于最佳值的百分比。仅返回翻译后的文本。不要添加句号或逗号。如果翻译有误,仅返回“error”