Carbon Footprint from Vehicles by Model API

Carbon Footprint from Vehicles by Model API

This API calculates the footprint of a passenger vehicle based on its Make and Model, for a specific distance. There are two optional APIs to get the Model names of a Make. For Scope 1, this should be used to report travel in vehicles that are owned or controlled by the reporting organization. If not owned/controlled by organization, the vehicle's emission is reported under Scope 3.

API description

CarbonSutra API calculates the carbon emission footprint for your organization. Hosted at ZYLA, it can be instantly tested by yourself at no cost.

This takes the Make and Model of a vehicle as inputs along with the distance travelled to calculate the emission. Our database contains over 140 Makes which cover over 4,500 models of vehicles. These are not only listed on our website for easy reference, but they can also be accessed via two additional APIs to get the values of Makes and their models.

API Documentation

Endpoints


Note: A list of every make and model used by this API is at https://www.carbonsutra.com/data-vehicle-make-model.html

The Approach


We use emission factors, data, guidelines from sources like US Department of Energy, US Environmental Protection Agency and UK Society of Motor Manufacturers and Traders. To simplify the usage we have made two minor modifications in our algorithm: First, for dual fuel vehicles, the average of emissions from its conventional and alternative fuels is used. Second, if a model is released across multiple years by the same maker, then the emissions for that model are averaged.
โ€‹
The API to calculate the emission is simple: it just takes the Make and Model of a vehicle along with the distance travelled to calculate the emission. As our database contains over 140 Makes which cover 4,500 models of vehicles, we are providing two more APIs to get these values. In case there are specific models that you are calculating the emissions, the use of these two APIs is optional as the value of Make and Model can be picked from the database that is provided in Notes.

Ingested Data

VEHICLE_MAKE : Mandatory. Name of Vehicle Make (eg, Lexus)
VEHICLE_MODEL : Mandatory. Name of Vehicle Model (eg, RX 300) for the selected MAKE (eg, Lexus)
DISTANCE_VALUE : Mandatory. The distance travelled by vehicle.
DISTANCE_UNIT : Mandatory. The acceptable values are "km" for kilometers and "mi" for miles. This will default to "mi", if any other value is passed.



                                                                            
POST https://zylalabs.com/api/2855/carbon+footprint+from+vehicles+by+model+api/2971/emissions+from+vehicles+by+model
                                                                            
                                                                        

Emissions from Vehicles by Model - Endpoint Features
Object Description
vehicle_make [Required] Vehicle Make
vehicle_model [Required] Vehicle Model
distance_value [Required] The distance travelled by vehicle. Default value is 1.
distance_unit [Required] The acceptable values are "km" for kilometers and "mi" for miles. This will default to "mi", if any other value is passed.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"type":"estimate-vehicle","distance_unit":"km","distance_value":"12000","vehicle_make":"Lexus","vehicle_model":"RX 300","co2e_gm":3603914,"co2e_kg":3603.91,"co2e_mt":3.6,"co2e_lb":7945.18},"success":true,"status":200}
                                                                                                                                                                                                                    
                                                                                                    

Emissions from Vehicles by Model - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/2855/carbon+footprint+from+vehicles+by+model+api/2971/emissions+from+vehicles+by+model?vehicle_make=Lexus&vehicle_model=RX 300&distance_value=1200&distance_unit=km' --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 from Vehicles by Model 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
995ms

Category:


Tags:


Related APIs