post https://api.connect.earth/transaction
This endpoint estimates the CO2e of a transaction according to category-level emissions factors.
Log in to see full request history
Responses
This endpoint estimates the CO2e of a transaction according to category-level emissions factors.
xxxxxxxxxx
17curl --request POST \
--url https://api.connect.earth/transaction \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"categoryType": "mcc",
"categoryValue": "5411",
"currencyISO": "USD",
"price": 20.22,
"geo": "BE",
"user_habits": {
"num_people_purchasing_for": 1,
"renewable_electricity": false
}
}
'
Try It!
to start a request and see the response here! Or choose an example: