Cleanest contiguous N-hour window of the day to run a flexible load (EIA-930, last ~7 days)

get/api/cleanest-hours

Request

  • Base URL: https://emission-factors.com
  • URL: https://emission-factors.com/api/cleanest-hours
  • Auth: none declared

Query parameters

zipstring
bastring

Balancing authority code instead of zip, e.g. CISO

durationinteger
betweenstring

Optional local hours the window must fall in (start-end, wrapping past midnight), e.g. 20-06 for overnight EV charging

Response

cleanest_window and dirtiest_window (UTC and the ZIP's local time), savings %, hours ranked. For a nearly carbon-free or flat grid both windows are null and no_window_reason says why.

Changes

No recorded changes to this operation across all 1 revision of this API.