About the API:
Carbon Footprint Calculator API is a powerful tool that allows you to easily calculate the carbon footprint of any product or service. The API can be integrated with any application and supports multiple metrics, making it easy to track and reduce environmental impact.
The API uses data and algorithms to calculate the carbon footprint of products or services based on various factors such as energy consumption, transportation and more.
The API can be integrated into e-commerce websites, supply chain management systems, and other applications to provide customers with information about the environmental impact of products. This can help to promote sustainable consumption, and support organizations in achieving carbon reduction targets.
In addition, the API can be used to track and monitor the carbon footprint of an organization's operations, such as energy consumption and transportation, which can help to identify areas for improvement and track progress over time.
Overall, our Carbon Footprint Calculator API is a valuable tool for businesses and organizations looking to track and reduce their environmental impact. It's easy to integrate, and supports multiple
Calculate the CO₂e emissions of a specific flight using recognized methodologies (ICAO/myclimate) to estimate the environmental impact of air travel.
Flight clases available:
economybusinessfirstFlight Emissions - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
{"calculation_id":"calc_f_65906d04","activity":"Flight from CGK to SUB","co2e_kg":176.41,"methodology_source":"ICAO/myclimate methodology"}
curl --location --request POST 'https://zylalabs.com/api/2/carbon+footprint+calculator+api/20645/flight+emissions' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"from_airport_code": "CGK",
"to_airport_code": "SUB",
"passengers": 1,
"flight_class": "economy",
"roundtrip": false
}'
Calculate CO₂e emissions generated by freight transport using recognized methodologies (such as the GLEC framework) to assess environmental impact.
Transports Available:
truckshiprailair_freightShipping Emissions - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
{"calculation_id":"calc_s_3feafbe5","activity":"Truck freight transport (100000.0 kg, 50000.0 km)","co2e_kg":310000.0,"methodology_source":"GLEC framework"}
curl --location --request POST 'https://zylalabs.com/api/2/carbon+footprint+calculator+api/20646/shipping+emissions' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"weight_kg": 100000,
"distance_km": 50000,
"transport_method": "truck"
}'
Calculate CO₂e emissions from energy consumption in a specific country using regional emission factors to assess environmental impact.
Energy Emissions - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
{"calculation_id":"calc_e_e688cf08","activity":"Energy consumption in Indonesia (1000000.0 kWh)","co2e_kg":718000.0,"methodology_source":"Grid intensity data (IEA 2023)"}
curl --location --request POST 'https://zylalabs.com/api/2/carbon+footprint+calculator+api/20647/energy+emissions' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"consumption_kwh": 1000000,
"location_country_code": "IDN"
}'
Calculate the CO₂e emissions generated by the use of a gasoline-powered vehicle using recognized DEFRA emission factors.
Vehicles available:
smallmidsizelargesuvmotorcycleFuel types available:
petroldieselelectrichybridVehicle Emissions - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
{"calculation_id":"calc_v_ed087e3b","activity":"Midsize petrol vehicle trip (266.0 km)","co2e_kg":50.27,"methodology_source":"DEFRA emission factors"}
curl --location --request POST 'https://zylalabs.com/api/2/carbon+footprint+calculator+api/20648/vehicle+emissions' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"distance_km": 266,
"vehicle_type": "midsize",
"fuel_type": "petrol"
}'
Returns the estimated carbon emissions in kilograms of CO₂ for a trip on public transportation.
Public Transit - Endpoint Features
| Object | Description |
|---|---|
distance |
[Required] Enter a distance in kilometers. |
type |
[Required] Enter the type of transport (Taxi, ClassicBus, EcoBus, Coach, NationalTrain, LightRail, Subway, FerryOnFoot, FerryInCar) |
{"carbon":"20.5200000 kg co2","success":true}
curl --location --request GET 'https://zylalabs.com/api/2/carbon+footprint+calculator+api/21163/public+transit?distance=120&type=Taxi' --header 'Authorization: Bearer YOUR_API_KEY'
Returns the estimated carbon emissions in kilograms of CO₂ for a car trip.
Cars available:
(SmallDieselCar, MediumDieselCar, LargeDieselCar, MediumHybridCar, LargeHybridCar, MediumLPGCar, LargeLPGCar, MediumCNGCar, LargeCNGCar, SmallPetrolVan, LargePetrolVan, SmallDieselVan, MediumDieselVan, LargedieselVan, LPGVan, CNGVan, SmallPetrolCar, MediumPetrolCar, LargePetrolCar, SmallMotorBike, MediumMotorBike, LargeMotorBike).
Car Travel - Endpoint Features
| Object | Description |
|---|---|
distance |
[Required] Enter a distance in kilometers. |
vehicle |
[Required] Enter the type of car |
{"carbon":"14.2000000 kg co2","success":true}
curl --location --request GET 'https://zylalabs.com/api/2/carbon+footprint+calculator+api/21164/car+travel?distance=100&vehicle=SmallDieselCar' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API requires inputs such as energy consumption, transportation details, and materials used for the product or service. These inputs help calculate the carbon footprint accurately.
The API supports multiple metrics for calculating the carbon footprint, including energy consumption (kWh), transportation distance (kilometers), and materials used (e.g., weight in kilograms). These metrics are used to generate precise calculations.
Yes, the API can be easily integrated into e-commerce websites, supply chain management systems, or any other applications. It provides customers with information about the environmental impact of products, helping promote sustainable consumption and support organizations in achieving carbon reduction targets.
Yes, the API can track and monitor an organization's carbon footprint by capturing data on energy consumption, transportation, and other relevant factors. This data helps identify areas for improvement and allows organizations to track progress in reducing their environmental impact.
The API provides a real-time calculation. Once you call the desired endpoint and provide the necessary emissions data, you will receive the carbon footprint calculation promptly, allowing you to make informed decisions based on the environmental impact of your products or services.
Each endpoint returns a JSON object containing the calculated carbon footprint in kilograms of CO2 equivalent (CO2e) along with a success status. For example, the "POST Car Travel" endpoint returns data like `{"carbon":"140.608 kg co2","success":true}`.
The key fields in the response data include "carbon," which indicates the calculated CO2e, and "success," which confirms whether the calculation was successful. This structure allows for easy interpretation of results.
Each endpoint accepts specific parameters relevant to the calculation. For instance, the "POST Flight" endpoint requires details such as distance traveled and type of flight, while "POST Fuel To Carbon" needs the volume of fuel in liters.
The response data is organized in a simple JSON format, with key-value pairs. For example, a typical response might look like `{"carbon":"20.124 kg co2","success":true}`, making it straightforward to parse and utilize in applications.
Each endpoint provides specific information related to carbon emissions. For example, "POST Clean Energy" calculates CO2e from clean energy consumption, while "POST Tree Equivalent" estimates the number of trees needed for paper production.
Data accuracy is maintained through the use of reliable algorithms and verified datasets that consider various factors like energy sources and transportation methods. Regular updates and quality checks ensure the calculations reflect current standards.
Typical use cases include integrating carbon footprint calculations into e-commerce platforms to inform consumers, supporting sustainability reporting for organizations, and aiding product development by assessing environmental impact early in the design process.
Users can utilize the returned data by integrating it into their applications to provide insights on environmental impact. For example, e-commerce sites can display carbon footprints alongside products, helping consumers make informed, sustainable choices.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
528ms
Service Level:
100%
Response Time:
458ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
177ms
Service Level:
100%
Response Time:
240ms
Service Level:
100%
Response Time:
1,541ms
Service Level:
100%
Response Time:
58ms
Service Level:
100%
Response Time:
262ms
Service Level:
100%
Response Time:
377ms
Service Level:
100%
Response Time:
1,982ms
Service Level:
100%
Response Time:
2,033ms
Service Level:
100%
Response Time:
1,412ms
Service Level:
100%
Response Time:
99ms
Service Level:
100%
Response Time:
1,622ms
Service Level:
100%
Response Time:
754ms
Service Level:
100%
Response Time:
135ms
Service Level:
100%
Response Time:
3,035ms
Service Level:
100%
Response Time:
737ms
Service Level:
100%
Response Time:
7,645ms
Service Level:
100%
Response Time:
138ms