Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

EU CBAM & Carbon Tax Calculation Engine — .NET / C# SDK

NuGet version License: MIT Stanza API

EU CBAM Scope 1/2 embedded emissions and EU ETS carbon tax liability calculator across Iron, Steel, Aluminum, Cement, Fertilizers, and Hydrogen.

Official high-performance .NET client library for EU CBAM & Carbon Tax Calculation Engine, built on the Stanza Micro-API Network. Fully compatible with .NET Standard 2.0, .NET 6.0, .NET 7.0, and .NET 8.0+.


📦 Installation

dotnet add package StanzaApi.CbamCarbon

🚀 Quickstart

using System;
using System.Threading.Tasks;
using StanzaApi.CbamCarbon;

class Program
{
    static async Task Main()
    {
        // Initialize client (reads STANZA_API_KEY from environment if not passed)
        var client = new CbamCarbonClient();

        // Perform deterministic verification
        string responseJson = await client.ValidateAsync({""goods_category"":""iron_and_steel"",""production_country"":""TR"",""quantity_tonnes"":500});
        Console.WriteLine(responseJson);
    }
}

📄 Example Response

{
  "success": true,
  "data": {
    "goods_category": "iron_and_steel",
    "direct_emissions_tco2e": 950,
    "estimated_ets_liability_eur": 71250
  }
}

⚙️ Configuration

Pass options directly to the CbamCarbonClient constructor:

var client = new CbamCarbonClient(
    apiKey: "your_api_key_here",
    baseUrl: "https://api.stanzaapi.com/cbam-carbon"
);

🔗 Useful Links

📄 License

MIT © Stanza — Powered by Stanza.

Releases

Packages

Contributors

Languages