{
  "cik": 1469367,
  "cik_padded": "0001469367",
  "entityName": "Sunrun Inc.",
  "fiscal_years": [
    {
      "accn": "0001628280-26-012289",
      "filed": "2026-02-26",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "eps_diluted": "USD/shares",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "eps_diluted": 1.71,
        "net_income": 449947000.0,
        "operating_cash_flow": -421440000.0,
        "operating_income": -126129000.0,
        "revenue": 2956997000.0,
        "stockholders_equity": 3132484000.0,
        "total_assets": 22610596000.0,
        "total_liabilities": 17626622000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 5.627042947386164,
        "net_margin": 0.15216349560043518,
        "operating_margin": -0.04265442271331354,
        "revenue_growth_yoy": 0.45113089685084157,
        "roa_avg2y": 0.021169752482328233,
        "roa_period_end": 0.019899829265889322,
        "roe_avg2y": 0.15824563001576838,
        "roe_period_end": 0.1436390417317375
      }
    },
    {
      "accn": "0001628280-26-012289",
      "filed": "2026-02-26",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 1572000.0,
        "eps_diluted": -12.81,
        "free_cash_flow": -767725000.0,
        "net_income": -2846167000.0,
        "operating_cash_flow": -766153000.0,
        "operating_income": -3695207000.0,
        "revenue": 2037719000.0,
        "stockholders_equity": 2554207000.0,
        "total_assets": 19897884000.0,
        "total_liabilities": 15733674000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 6.1599055988805915,
        "net_margin": -1.396741650836057,
        "revenue_growth_yoy": -0.0982798134181899,
        "roa_avg2y": -0.14108052268406748,
        "roa_period_end": -0.1430386768763955,
        "roe_avg2y": -0.7312456202665961,
        "roe_period_end": -1.1143055359256318
      }
    },
    {
      "accn": "0001628280-26-012289",
      "filed": "2026-02-26",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 20960000.0,
        "eps_diluted": -7.41,
        "free_cash_flow": -841700000.0,
        "net_income": -1604497000.0,
        "operating_cash_flow": -820740000.0,
        "operating_income": -1978643000.0,
        "revenue": 2259813000.0,
        "stockholders_equity": 5230228000.0,
        "total_assets": 20450237000.0,
        "total_liabilities": 13536224000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 2.588075319087428,
        "net_margin": -0.7100131736564044,
        "operating_margin": -0.8755782004971208,
        "revenue_growth_yoy": -0.026539336665199174,
        "roa_avg2y": -0.08079233129540234,
        "roa_period_end": -0.07845860172671837,
        "roe_avg2y": -0.26879711182868654,
        "roe_period_end": -0.30677381559656675
      }
    },
    {
      "accn": "0001469367-25-000039",
      "filed": "2025-02-27",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 18203000.0,
        "eps_diluted": 0.8,
        "free_cash_flow": -866996000.0,
        "net_income": 173377000.0,
        "operating_cash_flow": -848793000.0,
        "operating_income": -662192000.0,
        "revenue": 2321422000.0,
        "stockholders_equity": 6708122000.0,
        "total_assets": 19268805000.0,
        "total_liabilities": 11089788000.0
      },
      "period_end": "2022-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.653188179940675,
        "net_margin": 0.07468568834102546,
        "operating_margin": -0.2852527459462347,
        "revenue_growth_yoy": 0.4419182162968631,
        "roa_avg2y": 0.009698854530244232,
        "roa_period_end": 0.008997807596267646,
        "roe_avg2y": 0.026749810882754407,
        "roe_period_end": 0.02584583285754195
      }
    },
    {
      "accn": "0001469367-24-000024",
      "filed": "2024-02-21",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 8576000.0,
        "eps_diluted": -0.39,
        "free_cash_flow": -825762000.0,
        "net_income": -79423000.0,
        "operating_cash_flow": -817186000.0,
        "operating_income": -666187000.0,
        "revenue": 1609954000.0,
        "stockholders_equity": 6254736000.0,
        "total_assets": 16483252000.0,
        "total_liabilities": 8910665000.0
      },
      "period_end": "2021-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.4246268747393975,
        "net_margin": -0.049332465399632534,
        "operating_margin": -0.4137925679864145,
        "revenue_growth_yoy": 0.7457923575484905,
        "roa_avg2y": -0.005146277343222901,
        "roa_period_end": -0.004818405979596744,
        "roe_avg2y": -0.012880122166798418,
        "roe_period_end": -0.012698057919630822
      }
    },
    {
      "accn": "0001469367-23-000030",
      "filed": "2023-02-22",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 3095000.0,
        "eps_diluted": -1.24,
        "free_cash_flow": -321067000.0,
        "net_income": -173394000.0,
        "operating_cash_flow": -317972000.0,
        "operating_income": -465108000.0,
        "revenue": 922191000.0,
        "stockholders_equity": 6077911000.0,
        "total_assets": 14382943000.0,
        "total_liabilities": 7093572000.0
      },
      "period_end": "2020-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.1671069220987276,
        "net_margin": -0.18802395599176308,
        "operating_margin": -0.5043510509211215,
        "revenue_growth_yoy": 0.07409111344572071,
        "roa_avg2y": -0.01717683499820994,
        "roa_period_end": -0.012055529942654993,
        "roe_avg2y": -0.04924117965956526,
        "roe_period_end": -0.028528551997553105
      }
    },
    {
      "accn": "0001469367-22-000033",
      "filed": "2022-02-17",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 25345000.0,
        "eps_diluted": 0.21,
        "free_cash_flow": -229832000.0,
        "net_income": 26335000.0,
        "operating_cash_flow": -204487000.0,
        "operating_income": -215740000.0,
        "revenue": 858578000.0,
        "stockholders_equity": 964731000.0,
        "total_assets": 5806341000.0,
        "total_liabilities": 4168344000.0
      },
      "period_end": "2019-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 4.320731893139124,
        "net_margin": 0.0306728101581918,
        "operating_margin": -0.2512759469727852,
        "revenue_growth_yoy": 0.1297361381402956,
        "roa_avg2y": 0.004989518884196933,
        "roa_period_end": 0.004535558624614021,
        "roe_avg2y": 0.027526368766586637,
        "roe_period_end": 0.027297764869170783
      }
    },
    {
      "accn": "0001469367-21-000042",
      "filed": "2021-02-25",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 4951000.0,
        "eps_diluted": 0.23,
        "free_cash_flow": -67412000.0,
        "net_income": 26657000.0,
        "operating_cash_flow": -62461000.0,
        "operating_income": -121881000.0,
        "revenue": 759981000.0,
        "stockholders_equity": 948707000.0,
        "total_assets": 4749787000.0,
        "total_liabilities": 3340703000.0
      },
      "period_end": "2018-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 3.5213221785018978,
        "net_margin": 0.035075876896922424,
        "operating_margin": -0.16037374618575992,
        "roa_avg2y": 0.0061189568644185195,
        "roa_period_end": 0.005612251665179934,
        "roe_avg2y": 0.02912873322191195,
        "roe_period_end": 0.028098243187833546
      }
    },
    {
      "accn": "0001469367-20-000061",
      "filed": "2020-02-27",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 7956000.0,
        "eps_diluted": 1.16,
        "free_cash_flow": -104059000.0,
        "net_income": 125489000.0,
        "operating_cash_flow": -96103000.0,
        "operating_income": -181133000.0,
        "stockholders_equity": 881582000.0,
        "total_assets": 3963136000.0,
        "total_liabilities": 2598819000.0
      },
      "period_end": "2017-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 2.9479038818850656,
        "roa_avg2y": 0.03330407802383083,
        "roa_period_end": 0.03166406603255604,
        "roe_avg2y": 0.16144809117534864,
        "roe_period_end": 0.1423452384463385
      }
    },
    {
      "accn": "0001469367-19-000047",
      "filed": "2019-03-05",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 12544000.0,
        "eps_diluted": 0.72,
        "free_cash_flow": -212685000.0,
        "net_income": 75129000.0,
        "operating_cash_flow": -200141000.0,
        "operating_income": -192076000.0,
        "stockholders_equity": 672961000.0,
        "total_assets": 3572818000.0,
        "total_liabilities": 2510725000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 3.7308625611290998,
        "roa_period_end": 0.02102793929049842,
        "roe_period_end": 0.11163945607546351
      }
    },
    {
      "accn": "0001469367-18-000031",
      "filed": "2018-03-06",
      "fiscal_year": 2015,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD"
      },
      "fundamentals": {
        "capex": 13027000.0
      },
      "period_end": "2015-12-31",
      "ratios": {}
    }
  ],
  "latest_filing": {
    "accn": "0001628280-26-012289",
    "filed": "2026-02-26",
    "form": "10-K"
  },
  "note": "Static grepcent export of verified SEC companyfacts-derived values. Monetary values are raw reported units from grepcent's resolved facts; no scaling and no FX conversion. Capex, dividends, and buybacks are reported as positive outflow magnitudes. ROE/ROA include both period-end basis (site-consistent) and average-of-two-years basis where the prior-year denominator exists.",
  "schema_version": "1",
  "sic": "3690",
  "sic_description": "Miscellaneous Electrical Machinery, Equipment & Supplies",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0001469367.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0001469367.json"
  },
  "ticker": "RUN"
}
