Skip to main content

Introduction

Place an order with a few lines of code

The Lune API makes it very easy to purchase carbon offsets:

  1. Sign up to Lune
  2. Get your API Key from the dashboard
  3. Copy paste the following snippet in a terminal

You've removed 100.51 tonnes of carbon! 🎉

You can now head over to the dashboard review your order.

Lune's OpenAPI specification is available for download.

  • Place an order
  • curl https://api.lune.co/v1/orders/by-mass \
      -H 'Content-Type: application/json' \
      -H "Authorization: Bearer $API_KEY" \
      -X POST \
      -d '{
      "mass": {
        "amount": "100.51",
        "unit": "t"
      }
    }'

    Support

    Contact our support team if you encounter any issues integrating.