CarbonSutra
CarbonSutra Carbon Emissions API

Emission Clusters

Server$

Register API keys and retrieve emissions grouped under custom cluster names.


Register Key

POST
$
/api/v1/register_key

Registration enables you to get the key and use the function to cluster emissions, using self-defined labels. Register with your email address and a password to get a unique key, which can be used as Bearer Token in emission calculations along with cluster-name.

Register Key › Request Body

email
​string · required
password
​string · required
company_name
​string · required

Register Key › Responses

API key registration result.

API-key registration or retrieval response.
​object
CarbonSutra_API_KEY
​string · writeOnly

Secret CarbonSutra API key. Store securely.

success
​boolean
status
​integer · int32

Retrieve Key

POST
$
/api/v1/retrieve_key

This retrieves an already registered key.

Retrieve Key › Request Body

email
​string · required
password
​string · required

Retrieve Key › Responses

Existing API key.

API-key registration or retrieval response.
​object
CarbonSutra_API_KEY
​string · writeOnly

Secret CarbonSutra API key. Store securely.

success
​boolean
status
​integer · int32

Cluster Data

GET
$
/api/v1/cluster_data

Emissions can be grouped into self-defined clusters and retrieved using those labels. This eliminates the need to store the results at developer's end. A key will need to be generated, which is then passed as a Bearer Token (within Authorization) in all calculations, so that the user can be identified and the results are securely delivered.

Use the POST API of RegisterKey to obtain your API_KEY which will be used in all estimation calculations for which clustering is required. Your email address and a secret phrase (password) will be required to generate this key.

The POST API of RetrieveKey will give you the key again if it was misplaced, as long as the correct password is entered.

Note that if clustering is not needed then you do not need API_KEY.

The GET API of ClusterData returns all the estimations that were calculated for a specific cluster_name.

Cluster Data › query Parameters

cluster_name
​string · required

Self-Defined Name of Cluster

Cluster Data › Responses

Emission records belonging to the cluster.

​ClusterRecord[] · required
success
​boolean · required
status
​integer · int32 · required

Generate OpenCCF Emissions Report

POST
$
/api/v1/openccf

Generates an OpenCCF-compliant emissions report using emission calculations associated with the supplied cluster name and report configuration.

Generate OpenCCF Emissions Report › Request Body

Request payload used to generate an OpenCCF-compliant emissions report.
cluster_name
​string · minLength: 1 · required

Name of the emission cluster containing the calculations.

Example: KrugerBrent-H1-2026
​OpenCCFReportConfig

Configuration metadata for the OpenCCF emissions report.

Generate OpenCCF Emissions Report › Responses

OpenCCF-compliant emissions report generated successfully.

Response containing the generated OpenCCF emissions report.