Carbonlink API
  • 🌿Welcome to Carbonlink
  • 🌟How Carbonlink Works
  • πŸ’ΎInstallation
  • ⁉️Handling Errors & Limits
    • Response Codes
    • Rate Limiting
  • GUIDES
    • Use Cases
      • E-Commerce
      • Carbon Accounting
      • Carbon Solution Providers
  • CORE
    • πŸ“–API reference
      • πŸ‘œProduct
      • 🧩Factor
      • πŸ—ΊοΈAsset
      • 🌍Offset
      • 🚞Estimate
    • πŸ“¦Data objects
      • Factor
      • Product
      • Asset
        • Project
          • Vintage
        • Pool
      • Estimate
      • Offset
  • Resources
    • Defining Emissions
      • The Scope System
      • CO2 Equivalents
    • Carbon Markets 101
      • What is A Carbon Credit?
      • Environmental Impact of Offsetting
      • How Are Credits Generated & Verified?
    • Methodologies
      • Carbon Credit Methodologies
      • Estimate Methodology
Powered by GitBook
On this page
  • Create a new Offset event.
  • Retrieve an existing Offset event.
  • List all Offset events.
  1. CORE
  2. API reference

Offset

Use carbon credits from the Carbonlink Asset Library to negate carbon emissions.

API Key is required for all Offset endpoints.

Create a new Offset event.

POST https://api.carbonlink.io/v1/offsets

Request Body

Name
Type
Description

kgCO2e*

number

Weight of carbon emissions to remove from circulation, in kilograms.

estimateId

string

ID of an existing Estimate object.

customerRef

string

Internal reference to customer. (i.e. email address or another user identifier)

{
    message: 'Offset event with ID: {...} queued for processing.'
}

Retrieve an existing Offset event.

GET https://api.carbonlink.io/v1/offsets

Use query parameters to search for an Offset event by the event ID.

Query Parameters

Name
Type
Description

id*

string

Event ID

{
  id: "off_12345678",
  credits: 12.30,
  credits_matched: 1.23,
  kgCO2e: 12300.45,
  cost: 18.97,
  estimate: {
    id: "est_123...",
    ...
  },
  asset: {
    id: "asset_123...",
    ...
  },
}

List all Offset events.

GET https://api.carbonlink.io/v1/offsets

[
    {
      id: "off_12345678",
      credits: 12.30,
      credits_matched: 1.23,
      kgCO2e: 12300.45,
      cost: 18.97,
      estimate: {
        id: "est_123...",
        ...
      },
      asset: {
        id: "asset_123...",
        ...
      },
    },
    {...}
]
PreviousAssetNextEstimate

Last updated 1 year ago

πŸ“–
🌍