Vietnam Rooftop Solar ROI API

Estimate rooftop solar output by province (EVN PVout 2026), bill savings on EVN tariffs, surplus sales up to 50 % (Decree 243/2026), payback, NPV and IRR.

GETPOSThttps://apibox.io.vn/v1/vn-solar-roi

Give the province (34 provinces; old pre-2025 names are mapped), the size (kwp, or roof_m2 at 5.5 m² per kWp) and the consumption (monthly_kwh as one number or 12 values, or monthly_bill for households). Monthly generation uses EVN’s theoretical PVout coefficients for 2026 (kWh/kWp per month for each province, the values used by law to cap surplus sales), with an orientation factor.

Self-consumption is the part of generation used during the day (daytime_share, default 35 % of consumption for households, 65 % for businesses). Bill savings come from the vn-electricity engine (5-tier household tariff from 1 November 2026, VAT included; business savings at the normal-hour rate). Surplus is sold up to 50 % of the theoretical output (Decree 58/2025 Article 14 as amended by Decree 243/2026) at the previous year’s average market energy price, 844.8 đ/kWh for 2026 (surplus_price to override).

With cost (or cost_per_kwp; otherwise an assumed 11 million đ/kWp is flagged) the result gives payback, NPV (discount_percent, default 8) and IRR over years (default 25) with degradation and O&M, plus the notification or registration procedure for the size and connection.

Markdown · OpenAPI · Postman · llms.txt

Parameters

NameInTypeRequiredDefault
provincebody|querystringyesProvince or city (34 after 1/7/2025; old names accepted).
kwpbody|querynumbernoInstalled panel capacity (kWp).
roof_m2body|querynumbernoUsable roof area instead of kwp (m2_per_kwp, default 5.5).
monthly_kwhbody|querynumbernoMonthly consumption: one number or an array of 12.
monthly_billbody|querynumbernoHousehold monthly bill (VND) instead of monthly_kwh.
customerbody|querystringnohouseholdhousehold, business or production (with voltage).
orientationbody|querystringnosouthsouth, southeast, southwest, east, west, flat, northeast, northwest, north.
daytime_sharebody|querynumbernoShare of consumption during sunshine hours (%).
sell_surplusbody|querybooleannotrueSell surplus to the grid.
sell_percentbody|querynumberno50Agreed cap of surplus sales (% of theoretical output).
surplus_pricebody|querynumberno844.8Surplus price (đ/kWh, excl. VAT).
costbody|querynumbernoTotal investment (VND); or cost_per_kwp.
connectionbody|querystringnolow_voltagelow_voltage or medium_voltage (for the procedure); grid_connected=false for off-grid.
yearsbody|querynumberno25Analysis period; also degradation_percent (0.5), om_percent (1), tariff_escalation_percent (0), discount_percent (8), cash_flow=true.

Example

curl -X POST "https://apibox.io.vn/v1/vn-solar-roi" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"province":"Hà Nội","kwp":5,"monthly_kwh":500,"cost":60000000}'

Response

{
  "province": "Hà Nội",
  "kwp": 5,
  "orientation": "south",
  "customer": "household",
  "annual": {
    "generation_kwh": 4560,
    "specific_yield_kwh_per_kwp": 912,
    "self_consumed_kwh": 2090,
    "sold_kwh": 2014,
    "curtailed_kwh": 459,
    "bill_saving": 7260689,
    "surplus_revenue": 1701426,
    "total_benefit_year1": 8362115
  },
  "investment": {
    "cost": 60000000,
    "years": 25,
    "payback_years": 7.3,
    "npv": 25449438,
    "discount_percent": 8,
    "irr_percent": 12.8
  },
  "surplus": {
    "allowed": true,
    "sell_percent_cap": 50,
    "price_vnd_per_kwh": 844.8
  },
  "procedure": {
    "en": "Low-voltage connection: file notice form 01 with the commune People’s Committee online (national public service portal or VNeID) at least 10 working days before installation",
    "ref": "NĐ 58/2025 Điều 15 khoản 2, 4 (sửa đổi bởi NĐ 243/2026)"
  },
  "months": [
    {
      "month": 6,
      "pvout_kwh_per_kwp": 105,
      "generation_kwh": 525,
      "self_consumed_kwh": 175,
      "surplus_kwh": 350,
      "sold_kwh": 263,
      "curtailed_kwh": 88,
      "consumption_kwh": 500,
      "grid_kwh_after": 325,
      "bill_before": 1450872,
      "bill_after": 843210,
      "saving": 607662,
      "surplus_revenue": 222182
    },
    "…"
  ],
  "reviewed": "2026-11-11"
}

Use cases

  • Quote form for solar installers’ websites
  • Green-loan pre-assessment for banks
  • Compare selling surplus with self-consumption only
  • Explain the 2026 surplus-sale rules to households

FAQ

How accurate is the output?

It uses EVN’s province-level theoretical PVout; a real site can differ by ±10–15 % with shading, tilt and equipment.

How much surplus can I sell?

Up to 50 % of the theoretical monthly output (PVout × kWp) by agreement with the buyer; until 31 December 2030 more is allowed where the grid can take it.

Do I need a permit?

Low-voltage systems from 1 kW need an online notice to the commune People’s Committee at least 10 working days before installation; medium-voltage systems selling surplus need a registration certificate.

Related APIs

Start with 1,000 free requests every month. Get free API key →