This endpoint estimates the CO2e of a transaction according to category-level emissions factors.

Log in to see full request history
Body Params

Transaction object needed to provide CO2e estimate

string
required
Defaults to mcc

Category type used to estimate the emissions.

string
required
Defaults to 5411

Category value used to estimate the emissions.

string
required

ISO Currency Code of Purchase (see all currencies supported). You can input the string of stringified number code (ex: "USD" or "840").

float
required
Defaults to 20.22

Price of purchase

string

Unique ID of the transaction

date

Date of the transaction

string

Indicates whether the API should use emissions factors for people or businesses. Either: "PERSONAL"(default), "BUSINESS")

string
required
Defaults to BE

Indicates the specific country that should be used for the CO2 emissions factors (see all countries supported).

user_habits
object

Info about user specified consumption preferences, used to adjust emissions estimates for relevant transactions.

boolean

Whether to return the GHGP breakdown of the emissions or not. (Note: This is only available for the ces_v2 category type.)

Headers
string
required
Responses

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json