v1

latestOpenAPI 3.0.0Apache 2.02026-07-1422655.4 KB
Emission Rates

Get emission rates

Get emission rate intervals for a given utility. Currently only supported for PG&E (id=1), SCE (id=2), SDG&E (id=57), LADWP (id=50). View list of supported utilities and their utility_id's here.

get/emission-rates

Query parameters

utility_idinteger required

id corresponding to the utility you want to fetch rates for. List of all utility_id's can be found at https://pelm.readme.io/reference/supported-utilities.

start_timeinteger

Start time of desired intervals in UNIX time. Defaults to one month before end_time.

end_timeinteger

End time of desired intervals in UNIX time. Defaults to current time.

Headers

Pelm-Client-Idstring required

Pelm-Client-Id from registration

Pelm-Secretstring required

Pelm-Secret from registration

Response

Successful operation

utility_idinteger

Id of utility

ghg_emission_rate_unitstring

Unit for greenhouse gas emission rate (e.g. kg_co2e_per_kwh, which corresponds to kg of CO2 equivalent emitted per kWh of electricity consumed).