It’s hard to act on what you haven’t measured. Neutralizing your activity’s carbon footprint first requires estimating its carbon emissions.
Patch Estimates enable API users to calculate the approximate amount of carbon generated by key activities. They can also be used to determine the cost of compensating a given amount of CO2.
# Set your test, secret api key
Patch.api_key = 'priv_test_123456789'
# Estimate the carbon footprint of your transaction and
estimate_freight = Patch::Estimate.create(
# Or, just estimate the cost of an order
estimate_mass = Patch::Estimate.create(
"Patch has enabled us to automatically fund a portfolio of frontier carbon removal projects in real-time without ever needing to write a single line of code. This will make it much easier for us to scale our business and our environmental impact in lockstep."