EU CBAM Calculator (Default Values, Cost) API
EU CBAM embedded emissions and certificates for steel, aluminium, cement, fertilisers, hydrogen: default values with mark-ups, benchmarks, cost in EUR.
Send the CN code (cn, 8 digits or TARIC), country of origin (ISO code or name, default Viet Nam), mass_t, import year and optionally eua_price (EUR per certificate). With method=default the embedded emissions are the country default value of Implementing Regulation (EU) 2025/2621 as corrected by 2026/1740 (falling back to "Other countries" when the country has none) plus the mark-up (10 % 2026, 20 % 2027, 30 % from 2028, 1 % for fertilisers). With method=actual send verified see_direct and, for cement and fertilisers, see_indirect or electricity_mwh_per_t (Viet Nam’s 2024 grid factor is applied by default).
The free allocation adjustment uses the CBAM benchmark of Implementing Regulation (EU) 2025/2620 (column B for default values with the production route of the country table, column A for actual data) times the CBAM factor (97.5 % 2026, 95 % 2027, 90 % 2028 … 0 from 2034) and the cross-sectoral correction factor (cscf, default 1). Certificates = mass × (embedded − free allocation), minus a carbon price paid at origin (carbon_price_paid).
Also returned: the 50-tonne de minimis per importer (importer_annual_mass_t), the declaration deadline (30 September of the following year) and the date certificates go on sale (1 February 2027). Without cn the default table of the country is listed. Data from EUR-Lex, refreshed weekly.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
cn | body|query | string | no | CN code (8 digits) or TARIC code; empty lists the country table. | |
country | body|query | string | no | VN | Country of origin (ISO code or name). |
mass_t | body|query | number | no | 1 | Imported mass in tonnes. |
year | body|query | number | no | Import year (2026 onwards). | |
method | body|query | string | no | default | default or actual (alias calc_method). |
see_direct | body|query | number | no | Actual direct emissions (tCO2e/t). | |
see_indirect | body|query | number | no | Actual indirect emissions (cement, fertilisers) or electricity_mwh_per_t + grid_ef. | |
eua_price | body|query | number | no | Certificate price, EUR. | |
carbon_price_paid | body|query | number | no | Carbon price paid at origin, EUR/tCO2e. | |
route | body|query | string | no | Production route A–L for the benchmark. | |
importer_annual_mass_t | body|query | number | no | Importer’s yearly total, for the 50 t de minimis. |
Example
curl -X POST "https://apibox.io.vn/v1/cbam-calc" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cn":"72104900","country":"VN","mass_t":100,"year":2026,"eua_price":80}'const res = await fetch('https://apibox.io.vn/v1/cbam-calc', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"cn": "72104900",
"country": "VN",
"mass_t": 100,
"year": 2026,
"eua_price": 80
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/cbam-calc",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"cn": "72104900", "country": "VN", "mass_t": 100, "year": 2026, "eua_price": 80},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/cbam-calc');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"cn":"72104900","country":"VN","mass_t":100,"year":2026,"eua_price":80}',
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"cn": "72104900",
"country": "Viet Nam",
"sector": "Iron and steel",
"year": 2026,
"mass_t": 100,
"method": "default",
"default_values": {
"table": "Viet Nam",
"cn": "7210",
"direct": 2.37,
"indirect": null,
"total": 2.37,
"route": "C"
},
"embedded_emissions": {
"see_tco2e_per_t": 2.607,
"basis": "default value 2.37 × (1 + 10 % mark-up for 2026)",
"mark_up_pct": 10,
"total_tco2e": 260.7
},
"free_allocation": {
"benchmark_cn": "72104900",
"benchmark_column": "B (BMg)",
"benchmark_tco2e_per_t": 1.491,
"cbam_factor": 0.975,
"cscf": 1,
"sefa_tco2e_per_t": 1.4537
},
"certificates": {
"per_tonne": 1.1533,
"total": 115.3275,
"carbon_price_deduction": 0
},
"cost_eur": {
"price_eur_per_certificate": 80,
"total": 9226.2,
"per_tonne": 92.26
},
"deadlines": {
"declaration": "2027-09-30",
"certificates_on_sale_from": "2027-02-01"
},
"source": "EUR-Lex, © European Union (Decision 2011/833/EU)",
"disclaimer": "Reference only, not legal or tax advice; check the official text and your customs / verification body."
}
Use cases
- Quote the CBAM cost of a steel or aluminium shipment to an EU buyer
- Compare default values with your plant’s verified emissions
- Budget CBAM certificates for 2026–2034 as free allocation phases out
- Fill the emissions part of supplier communications to EU importers
FAQ
Why are default values higher than my plant’s emissions?
They are country averages (or the average of the ten worst exporters when no reliable data exists) plus a mark-up of 10–30 %, to encourage verified actual data.
Who pays CBAM?
The EU importer (authorised CBAM declarant) buys and surrenders certificates; the exporter supplies verified emission data.
Is there a small-importer exemption?
Yes, importers below 50 tonnes a year in total of iron and steel, aluminium, fertiliser and cement goods are exempt (hydrogen and electricity excluded).
Related APIs
JSON Validator
Check JSON syntax with exact line and column of errors, and validate data against a JSON Schema (draft 4, 7, 2019-09 or 2020-12).
{ }JSON Formatter
Pretty print JSON with 0-8 spaces or tabs, minify it, or sort object keys recursively. Syntax errors are reported with line and column.
CSVCSV to JSON
Convert CSV into an array of JSON objects using the header row, with delimiter auto-detection, number and boolean typing, and row-level errors.