Carbon Footprint of Electricity Usage API

Carbon Footprint of Electricity Usage API

This computes the emissions from electricity used by an organization at sites which are either owned or controlled by it, and reported as a Scope 2 Indirect emission. Data from 90+ countries between 2020-22 from multiple sources has been compiled. The footprints of electricity usage can be entered in kWh or MWh.

API description

CarbonSutra API calculates the carbon emission footprint for your organization. Hosted at ZYLA, it can be tested instantly. It calculates electricity consumption for over 90 countries.

You simply select the country, the value of electricity consumed and the units in kilowatt hour or megawatt hour. The API will return the emission value of carbon dioxide equivalent in kilograms, metric tonnes and pounds.

 

API Documentation

Endpoints


The following fields are ingested:

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.

Supported Countries: 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.






                                                                            
POST https://zylalabs.com/api/2850/carbon+footprint+of+electricity+usage+api/2966/electricity+usage+estimate
                                                                            
                                                                        

Electricity Usage Estimate - Endpoint Features
Object Description
country_name [Required] The name of the country for which the emission is being measured. The following are acceptable values: 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.
electricity_value [Required] The number of units of electricity consumed. This will default to 1 unit, if left blank.
electricity_unit [Required] The acceptable values are kWh and MWh. It will default to MWh, if left blank or if any other value is passed.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "data": {
    "type": "estimate-electricity",
    "electricity_unit": "MWh",
    "electricity_value": "45",
    "country_name": "Nepal",
    "co2e_gm": 1019250,
    "co2e_kg": 1019.25,
    "co2e_mt": 1.02,
    "co2e_lb": 2247.04
  },
  "success": true,
  "status": 200
}
                                                                                                                                                                                                                    
                                                                                                    

Electricity Usage Estimate - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/2850/carbon+footprint+of+electricity+usage+api/2966/electricity+usage+estimate?country_name=nepal&electricity_value=45&electricity_unit=mwh' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Carbon Footprint of Electricity Usage API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
965ms

About Developer:

CarbonSutra API estimates the greenhouse gas emissions for your organization. Free for non-profit and small companies, it calculates carbon footprints for business air travel, hotel stays, electricity, fuel, commuting, vehicles usage, simple and multimodal freights and ecommerce shipments.
CarbonSutra

Useful links:


Category:


Tags:


Related APIs