Code icon


Cloverly is an API for carbon offsets, performing them (technically, retiring renewable energy certificates, or RECs) on a per-transaction basis. Here's how it works.

We have gone out to the market and purchased a variety of RECs, a mainstream and preferred vehicle for performing carbon offsets. We've built a variety of algorithms that calculate carbon impact. This is all stitched together via the Cloverly API.

If we can calculate emissions, we can offset them. Over time we anticipate opening up a variety of endpoints that allow you to make offsets for all kinds of things. Maybe we'll calculate the carbon footprint of beer production, and someone will build an app that hits our /beer endpoint, allowing people to green their drinks by purchasing renewable energy from a wind farm. We're not quite there, but hopefully you get the idea.

Here are the currently available endpoints.

Truck icon
Read our docs

Perfect for ecommerce. Pass us shipping information like zip codes, package weight, and shipping method. We'll return a price quote to perform the carbon offset. If you respond with a quote approval, we'll buy a wind or solar offset, and return details of the purchase.

Let us know how far you've driven and the fuel efficiency of your vehicle. We'll quote you an offset and buy the appropriate renewable energy upon approval.

Do you already know how many pounds of carbon need to be offset? Feed it to our API, and we'll purchase the renewable energy.

Cert icon
Read our docs

If you would like to allocate renewable energy for your electircity, use the electricity endpoint for a quote.

Impact icon
Impact Matching
Try it Free

One of Cloverly's core values is matching renewable energy as closely as possible to impact. If you want to offset a car ride in Houston, we'll do our best to offset it with, for example, a purchase from a wind farm in Texas. Best of all, this is all contained in the JSON response from a successful request. We'll tell you exactly where we bought and retired the RECs.

Getting Started

You can sign up for a sandbox account at no charge. Cloverly works on a credits system, much like Twilio. In order to get a production API key, you'll need to enter a credit card and load your account with at least $5. As you start to consume RECs, that amount will be drawn down, and potentially recharged when it approaches a zero balance.


Feel free to reach out to us anytime at [email protected]. One of our devs will personally answer your request. Otherwise, check out the API docs and sign up for a sandbox account.