Solar Pv Yield
by Saylor Innovations Data Desk in Markets & finance
Solar panel output calculator - annual and monthly kWh for a PV system at any lat/lon from PVGIS, with optimal tilt, specific yield and irradiation
https://saylorinnovations.com/api/solar/pv-yield- Price
- $0.01
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 1.2 s
- 1.5 s slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://saylorinnovations.com/api/solar/pv-yield
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://saylorinnovations.com/api/solar/pv-yield?kwp=5&lat=45&lon=8Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
kwp | string | No | optional PV system peak power in kW (default 1) |
lat | string | Yes | Latitude in decimal degrees |
lon | string | Yes | Longitude in decimal degrees |
Example response
The provider's example. We can't check it without paying.
Example response, 98 lines
{
"annual_energy_kwh": 6739.23,
"annual_irradiation_kwh_m2": 1745.9,
"location": {
"elevation_m": 250,
"lat": 45,
"lon": 8
},
"monthly": [
{
"avg_daily_kwh": 12.77,
"energy_kwh": 395.96,
"irradiation_kwh_m2": 94.04,
"month": 1
},
{
"avg_daily_kwh": 15.59,
"energy_kwh": 436.47,
"irradiation_kwh_m2": 106.18,
"month": 2
},
{
"avg_daily_kwh": 19.88,
"energy_kwh": 616.2,
"irradiation_kwh_m2": 154.37,
"month": 3
},
{
"avg_daily_kwh": 21.09,
"energy_kwh": 632.66,
"irradiation_kwh_m2": 163.66,
"month": 4
},
{
"avg_daily_kwh": 22.1,
"energy_kwh": 684.96,
"irradiation_kwh_m2": 180.96,
"month": 5
},
{
"avg_daily_kwh": 23.59,
"energy_kwh": 707.56,
"irradiation_kwh_m2": 191.54,
"month": 6
},
{
"avg_daily_kwh": 24.93,
"energy_kwh": 772.69,
"irradiation_kwh_m2": 211.81,
"month": 7
},
{
"avg_daily_kwh": 23.39,
"energy_kwh": 725.02,
"irradiation_kwh_m2": 197.28,
"month": 8
},
{
"avg_daily_kwh": 20.72,
"energy_kwh": 621.47,
"irradiation_kwh_m2": 164.1,
"month": 9
},
{
"avg_daily_kwh": 15.05,
"energy_kwh": 466.59,
"irradiation_kwh_m2": 117.47,
"month": 10
},
{
"avg_daily_kwh": 10.91,
"energy_kwh": 327.41,
"irradiation_kwh_m2": 80.51,
"month": 11
},
{
"avg_daily_kwh": 11.36,
"energy_kwh": 352.23,
"irradiation_kwh_m2": 83.97,
"month": 12
}
],
"note": "Modelled long-term average output for a grid-connected fixed-mount PV system. With no tilt given, the optimal tilt and azimuth are chosen.",
"radiation_database": "PVGIS-SARAH2",
"source": "PVGIS, European Commission Joint Research Centre",
"specific_yield_kwh_per_kwp": 1347.8,
"system": {
"angles_optimised": true,
"azimuth_deg": 2,
"mounting": "free-standing",
"peak_power_kwp": 5,
"system_loss_pct": 14,
"technology": "c-Si",
"tilt_deg": 38
},
"year_to_year_sd_kwh": 318.83,
"years": "2005-2020"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/solar/pv-yield?kwp=5&lat=45&lon=8'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/solar/pv-yield?kwp=5&lat=45&lon=8' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Fsolar%2Fpv-yield
const res = await pay("https://saylorinnovations.com/api/solar/pv-yield?kwp=5&lat=45&lon=8");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://saylorinnovations.com/api/solar/pv-yield?kwp=5&lat=45&lon=8")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 1.2 s | $0.01 |
| 6 h ago | Passed | 402 | 1.0 s | $0.01 |
| 11 h ago | Passed | 402 | 1.5 s | $0.01 |