Emissions from Electricity Usage.
This computes the emissions from electricity used by an organization at sites which are either owned or controlled by them, and reported as a Scope 2 indirect emission. Data from over 90 countries for years 2020, 2024 and 2026 from multiple sources has been compiled. The electricity usage can be entered in kWh or MWh.
Introduction
Ingested Data
COUNTRY_NAME : Mandatory. The name of the country for which the emission is being measured. Including EU-27, we have compiled a database of over 90 countries.
ELECTRICITY_VALUE : Optional. This will default to 1 unit, if left blank. It is the number of units of electricity consumed.
ELECTRICITY_UNIT : Optional. The acceptable values are kWh and MWh. This will default to MWh, if left blank or if any other value is passed.
ELECTRICITY_VALUE : Optional. This will default to 1 unit, if left blank. It is the number of units of electricity consumed.
ELECTRICITY_UNIT : Optional. The acceptable values are kWh and MWh. This will default to MWh, if left blank or if any other value is passed.
Example
import http.client
conn = http.client.HTTPSConnection("carbonsutra1.p.rapidapi.com")
payload = "country_name=UK&electricity_value=5045&electricity_unit=kWh&cluster_name="
headers = {
'x-rapidapi-key': "37db609019mshdc94f05512b7a5dp1fe7f5jsned8090189a51",
'x-rapidapi-host': "carbonsutra1.p.rapidapi.com",
'Content-Type': "application/x-www-form-urlencoded",
'Authorization': "Bearer fQ98oU704xFvsnXcQLVDbpeCJHPglG1DcxiMLKfpeNEMGumlbzVf1lCI6ZBx"
}
conn.request("POST", "/electricity_estimate", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
{
"data": {
"type": "estimate-electricity",
"electricity_unit": "kWh",
"electricity_value": "5045",
"country_name": "UK",
"co2e_gm": 660693,
"co2e_kg": 660.69,
"co2e_mt": 0.66,
"co2e_lb": 1456.57
},
"success": true,
"status": 200
}
Supported Countries (field: COUNTRY_NAME)
Australia, Austria, Bangladesh, Belgium, Bhutan, Brunei, Bulgaria, Cambodia, Canada, China, Croatia, Cyprus, Czechia, Denmark, Estonia, EU-27, Finland, France, Germany, Greece, Hong Kong, Hungary, Iceland, India, Indonesia, Ireland, Italy, Japan, Laos, Latvia, Lithuania, Luxembourg, Macao, Malaysia, Maldives, Malta, Mongolia, Myanmar, Nepal, Netherlands, New Zealand, North Korea, Norway, Pakistan, Papua New Guinea, Philippines, Poland, Portugal, Qatar, Romania, Singapore, Slovakia, Slovenia, South Korea, Spain, Sri Lanka, Sweden, Taiwan, Thailand, Turkey, UK, USA and Vietnam.