{"openapi":"3.1.0","info":{"title":"Carbon API","version":"1.5.0","description":"Estimate what the EU Carbon Border Adjustment Mechanism costs for an import line, check whether a CN code is covered, and read the default values, certificate prices and dataset versions behind each answer. The rules are Reg (EU) 2023/956 as amended; the EUDR endpoint follows Reg (EU) 2023/1115.\n\nThe base URL is `https://carbonapi.eu`. Every endpoint is a `GET` and returns JSON.\n\n## Quickstart\n\nYou need no account to try it. This call prices 40 t of hot-rolled steel from Türkiye for 2027:\n\n```bash\ncurl \"https://carbonapi.eu/v1/resolve?cn=72083900&origin=TR&tonnes=40&year=2027\"\n```\n\nThe answer, cut to its main fields, at the 2026-Q3 certificate price:\n\n```json\n{\n  \"data\": {\n    \"inScope\": true,\n    \"cn\": \"72083900\",\n    \"sector\": \"iron_steel\",\n    \"origin\": \"TR\",\n    \"route\": \"C\",\n    \"source\": \"default\",\n    \"perTonne\": { \"direct\": 2.9136, \"indirect\": 0, \"total\": 2.9136 },\n    \"totalEmissions\": 116.544,\n    \"benchmark\": { \"cn\": \"72083900\", \"route\": \"C\", \"value\": 1.37, \"unit\": \"tCO2e/t\" },\n    \"cbamFactor\": 0.95,\n    \"crossSectoralCorrection\": 1,\n    \"freeAllocationAdjustment\": 52.06,\n    \"emissionsSubjectToCbam\": 64.484,\n    \"certificates\": 65,\n    \"price\": { \"period\": \"2026-Q3\", \"price\": 82.32, \"currency\": \"EUR\" },\n    \"cost\": 5350.8,\n    \"thresholdApplies\": true,\n    \"thresholdTonnes\": 50,\n    \"declarationDeadline\": \"2028-09-30\"\n  },\n  \"meta\": { \"dataVersion\": \"2026-10-19.451099948819\", \"pricePeriod\": \"2026-Q3\" }\n}\n```\n\nThe same answer is also available from the command line and from an AI agent. See [CLI](#description/cli) and [MCP server](#description/mcp-server).\n\n## Authentication\n\nSend your API key as a Bearer token:\n\n```\nAuthorization: Bearer cbam_live_…\n```\n\nTo get a key, choose the Developer plan on [/pricing](https://carbonapi.eu/pricing), then create the key in your dashboard. The Importer plan is the web app and has no API access.\n\nWithout a key, only `/v1/resolve` and `/v1/eudr/resolve` answer, inside the daily free limit below; every other data endpoint returns `401 UNAUTHORIZED`. A malformed, invalid or revoked key also returns `401 UNAUTHORIZED`. A key with no active Developer plan returns `403 PLAN_REQUIRED`.\n\n## Rate limits\n\nWithout a key, each IP address gets 3 calls a day to `/v1/resolve` and `/v1/eudr/resolve` together. `/v1/status` and `/openapi.json` are free. The count clears at 00:00 UTC.\n\nWith a key, every call counts against your account: 50,000 a month on Developer, shared by all your keys. The month is the UTC calendar month.\n\nEach counted answer carries `x-ratelimit-limit` and `x-ratelimit-remaining`. Past the limit you get `429 RATE_LIMITED` and a `retry-after` header in seconds.\n\n## Errors\n\nError body: `{ \"error\": { \"code\", \"message\", \"details\"? } }`. Branch on `code`; the `message` can change.\n\n| Code | Status | When |\n| --- | --- | --- |\n| `INVALID_INPUT` | 400 | A parameter is missing, invalid or unknown |\n| `UNAUTHORIZED` | 401 | No key on a keyed endpoint, or key malformed, invalid or revoked |\n| `PLAN_REQUIRED` | 403 | Key has no active Developer plan |\n| `OUT_OF_SCOPE` | 404 | CN code outside Annex I |\n| `NOT_FOUND` | 404 | Unknown path |\n| `RATE_LIMITED` | 429 | Daily or monthly limit spent |\n| `INTERNAL` | 500 | Unexpected server failure |\n| `NO_DEFAULT` | 503 | No default value matches |\n| `DATASET_UNAVAILABLE` | 503 | Dataset or change feed missing |\n| `PRICE_UNAVAILABLE` | 503 | No certificate price bundled |\n\n## Data versions\n\nEach deploy bundles one dataset version, and every answer comes from it. `meta.dataVersion` names that version, for example `2026-10-19.451099948819`: the publication date and a content hash. `meta.pricePeriod` names the latest bundled certificate price, or `null`.\n\nA new dataset version ships as a new deploy. `/v1/changes` lists one entry per version, and `/v1/status` returns the current one. Store `dataVersion` with each answer you keep, so you can tell which data produced it.\n\n## Versioning\n\nThe major version is in the path: `/v1`. A breaking change ships as `/v2`. New fields and new endpoints can arrive in `/v1` at any time, so ignore fields you do not know.\n\nBefore we remove a `/v1` endpoint, its answers carry a `Deprecation` header (RFC 9745) and a `Sunset` header with the removal date. The Sunset date is at least 90 days after the first Deprecation header. No `/v1` endpoint is deprecated today.\n\n## CLI\n\n`@cbamdata/cli` gives you the same calculations as one `cbam` command. It prints a one-line summary, or the full JSON answer with `--json`.\n\n```bash\nnpx -y @cbamdata/cli resolve --cn 72083900 --origin TR --tonnes 40 --year 2027\n```\n\nCommands: `resolve`, `scope`, `defaults`, `changes`, `certificate-price`, `status`. Set your key with `CBAM_API_KEY` and the base URL with `CBAM_API_URL`, or pass `--api-key` and `--api-url` on each call. `cbam --help` lists every flag.\n\n## MCP server\n\nAn AI agent in Claude, Cursor, Windsurf or ChatGPT can call the same calculations through the Model Context Protocol.\n\n| | |\n| --- | --- |\n| Remote server | `https://carbonapi.eu/mcp`, Streamable HTTP |\n| Protocol version | `2025-11-25` |\n| Local stdio server | `npx -y @cbamdata/mcp` |\n| Registry manifest | [/server.json](https://carbonapi.eu/server.json) |\n| Server card | [/.well-known/mcp/server-card.json](https://carbonapi.eu/.well-known/mcp/server-card.json) |\n\nIn Claude, open [Carbon API in the connector directory](https://claude.ai/directory/cbam-data) and press Connect. Signed in, [/connect](https://carbonapi.eu/connect) has the same buttons for Claude and ChatGPT.\n\nBoth transports expose the same tools: `cbam_resolve`, `cbam_scope`, `cbam_certificate_price`, `cbam_defaults`, `cbam_changes` and `cbam_status`. The remote server needs a sign-in. ChatGPT and Claude connect through OAuth with your Carbon API account: a free account gets `cbam_resolve` (3 calculations a day) and `cbam_status`, and the Developer plan gets all 6 tools on its monthly allowance. Any other client can send a Developer plan API key as a Bearer token. The local stdio server calls `/v1`, so without a key it answers `cbam_resolve` inside the daily free limit."},"servers":[{"url":"https://carbonapi.eu","description":"Production"}],"security":[{"bearerAuth":[]},{}],"tags":[{"name":"Calculate","description":"Turn a CN code and an origin into certificates, cost or due-diligence duties."},{"name":"Reference data","description":"Read the scope, default values and certificate prices the calculations use."},{"name":"Dataset","description":"Find out which dataset version answers and what changed between versions."}],"paths":{"/v1/resolve":{"get":{"operationId":"resolveEstimate","tags":["Calculate"],"summary":"Estimate certificates and cost","description":"Returns the CBAM certificates and the euro cost for one import line. Call it to quote or budget an import.\n\nHow it is calculated:\n\n1. Check the CN code is in Annex I.\n2. Take emissions per tonne: the default value plus the mark-up, or your `actual` values (Art. 7).\n3. Multiply by the mass.\n4. Deduct the free allocation adjustment (Art. 31): mass times the CBAM factor for the year, the cross-sectoral correction factor and the route's CBAM benchmark (Reg (EU) 2025/2620, Column B).\n5. Deduct the carbon price paid at origin (Art. 9).\n6. Round the certificates up and multiply by the latest certificate price.\n\nA heading with covered sub-codes returns `resolve: \"partial\"` and lists them: pick one and call again. The answer is a planning estimate. It does not replace your declaration or model your actual free allocation.","parameters":[{"name":"cn","in":"query","required":true,"schema":{"type":"string"},"example":"72083900","description":"CN or TARIC code of 4, 6, 8 or 10 digits. Spaces, dots and hyphens are removed."},{"name":"origin","in":"query","required":true,"schema":{"type":"string","pattern":"^[A-Z]{2}$"},"example":"TR","description":"Country of origin as an ISO 3166-1 alpha-2 code in capitals."},{"name":"tonnes","in":"query","schema":{"type":"number","exclusiveMinimum":0},"example":40,"description":"Net mass in metric tonnes, or MWh for electricity. Send `tonnes` or `weight` with `weightUnit`, never both."},{"name":"weight","in":"query","schema":{"type":"number","exclusiveMinimum":0},"example":40000,"description":"Net mass in the unit set by `weightUnit`. Requires weightUnit. Send this pair or `tonnes`, never both. Electricity does not accept it."},{"name":"weightUnit","in":"query","schema":{"type":"string","enum":["g","kg","t","lb","ton"]},"example":"kg","description":"Unit of `weight`: `g`, `kg`, `t` (metric tonne), `lb` or `ton` (US short ton). Requires `weight`."},{"name":"year","in":"query","required":true,"schema":{"type":"integer","minimum":2026,"maximum":2034},"example":2027,"description":"Year of import, 2026 to 2034. It sets the CBAM factor, the mark-up and the declaration deadline."},{"name":"route","in":"query","schema":{"type":"string","maxLength":40},"example":"C","description":"Production route of the default-value row, as listed in `/v1/defaults`. Send `\"\"` for the blank route, an independently benchmarked value. If you omit it, the row with the highest total is used. A route with no row returns `503 NO_DEFAULT`."},{"name":"carbonPricePaid","in":"query","schema":{"type":"number","minimum":0},"example":12.5,"description":"Carbon price paid in the origin country, in EUR per tCO2e (Art. 9). It removes its share of the yearly reference price in certificates, up to all of them. Under Implementing Reg (EU) 2026/2498, an estimate on default values can only use the Commission's default carbon price for the country; with `actual`, the price must be certified by an independent person."},{"name":"actual","in":"query","schema":{"type":"string"},"example":"{\"direct\":1.9,\"indirect\":0.3}","description":"Your actual emissions per tonne as JSON, `{\"direct\":n,\"indirect\":n}`. `direct` is required and above 0; `indirect` is optional. When you send it, no default value or mark-up is used, and the answer marks the data as unverified (Art. 7). Electricity needs it."}],"responses":{"200":{"description":"You get an estimate, or a partial answer that lists the sub-codes to choose from.","content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Estimate"},{"$ref":"#/components/schemas/Partial"}]},"meta":{"$ref":"#/components/schemas/Meta"}}},"example":{"data":{"inScope":true,"cn":"72083900","sector":"iron_steel","origin":"TR","originRow":"TR","route":"C","routeAssumed":false,"source":"default","sourceTrail":{"dataCategory":"default_value","cn":"7208","origin":"TR","route":"C","direct":2.428,"indirect":0,"total":2.428,"unit":"tCO2e/t","dataVersion":"2026-10-19.451099948819","defaultValuesVersion":"2026-07-31","regulation":"Reg (EU) 2026/1740 correcting Reg (EU) 2025/2621","annex":"Annex I","legalSource":"https://eur-lex.europa.eu/eli/reg/2026/1740/oj","publicationDate":"2026-07-31","workbookSource":"https://taxation-customs.ec.europa.eu/document/download/1c05d211-80cb-4aaa-8ef0-e08005a95d7e_en?filename=DV%20correcting%20act_final%20update_06.08.xlsx"},"notices":[{"severity":"info","code":"DEFAULT_VALUE_USED","message":"Published default values were used because no actual emissions data was supplied."},{"severity":"info","code":"THRESHOLD_MAY_APPLY","message":"The import line is at or below the 50 t annual threshold; eligibility depends on annual imports."}],"markup":0.2,"perTonne":{"direct":2.9136,"indirect":0,"total":2.9136},"totalEmissions":116.544,"benchmark":{"cn":"72083900","route":"C","years":"","value":1.37,"unit":"tCO2e/t","version":"2025-12-22","regulation":"Reg (EU) 2025/2620","legalSource":"https://eur-lex.europa.eu/eli/reg_impl/2025/2620/oj","publicationDate":"2025-12-22","workbookSource":"https://taxation-customs.ec.europa.eu/document/download/9877523c-2a02-4926-a211-aefae7cf6d0d_en?filename=CBAM%20Benchmarks_20260206.xlsx"},"cbamFactor":0.95,"crossSectoralCorrection":1,"freeAllocationAdjustment":52.06,"emissionsSubjectToCbam":64.484,"carbonPriceDeductionShare":0,"certificates":65,"price":{"period":"2026-Q3","price":82.32,"currency":"EUR","published":"2026-10-05","source":"https://taxation-customs.ec.europa.eu/carbon-border-adjustment-mechanism/price-cbam-certificates_en"},"cost":5350.8,"thresholdApplies":true,"thresholdTonnes":50,"declarationDeadline":"2028-09-30","penaltyPerTonne":100,"dataVersion":"2026-10-19.451099948819"},"meta":{"dataVersion":"2026-10-19.451099948819","pricePeriod":"2026-Q3"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/PlanRequired"},"404":{"$ref":"#/components/responses/OutOfScope"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/eudr/resolve":{"get":{"operationId":"resolveEudr","tags":["Calculate"],"summary":"Check EUDR scope and duties","description":"Returns whether a CN code falls under the EU Deforestation Regulation, its commodity, the origin's risk tier and the due-diligence duties that follow. Call it for goods made from cattle, cocoa, coffee, oil palm, rubber, soya or wood.\n\nHow it is answered:\n\n- Match the CN code to Annex I of Reg (EU) 2023/1115.\n- Look up the origin's risk tier: high, standard or low (Art. 29, Implementing Reg (EU) 2025/1093).\n- A low-risk origin gets simplified due diligence (Art. 13).\n- Set the minimum check rate by tier: 9%, 3% or 1% (Art. 16).\n- Add the application dates (Reg (EU) 2025/2650).\n\nA code outside Annex I returns `200` with `inScope: false`. This endpoint shares the daily free limit of `/v1/resolve`.","parameters":[{"name":"cn","in":"query","required":true,"schema":{"type":"string"},"example":"44011100","description":"CN or TARIC code of 4, 6, 8 or 10 digits. Spaces, dots and hyphens are removed."},{"name":"origin","in":"query","required":true,"schema":{"type":"string","pattern":"^[A-Z]{2}$"},"example":"RU","description":"Country of origin as an ISO 3166-1 alpha-2 code in capitals."}],"responses":{"200":{"description":"You get the scope, the risk tier and, for a covered code, the duties and dates.","content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/EudrResolveAnswer"},"meta":{"$ref":"#/components/schemas/Meta"}}},"example":{"data":{"inScope":true,"cn":"44011100","commodity":"wood","origin":"RU","riskTier":"high","simplified":false,"obligations":{"article4":"Prohibition to place or export without due diligence statement confirming deforestation-free and legal production.","article9":"Information gathering: geolocation coordinates of production plots, date of production, and supply chain traceability.","article10":"Risk assessment and risk mitigation: weigh the Art. 10 criteria and act until the risk of non-compliance is negligible.","article13":"Does not apply: standard or high risk origin requires full Article 10 due diligence.","article29":"Country benchmarking under Commission Implementing Regulation (EU) 2025/1093 assigning high, standard, or low risk.","simplified":false,"checkRate":0.09},"applicationDates":{"largeAndMedium":"2026-12-30","microAndSmall":"2027-06-30"},"row":{"cn":"44011100","commodity":"wood","description":"Coniferous"}},"meta":{"dataVersion":"2026-09-18","pricePeriod":null}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/PlanRequired"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/scope/{cn}":{"get":{"operationId":"getScopeByCn","tags":["Reference data"],"summary":"Check if a CN code is covered","description":"Returns whether a CN code is in Annex I of Reg (EU) 2023/956, with its sector. Call it when you only need to know if a good is covered. It needs a Developer plan key.\n\n`inScope` has 3 values:\n\n- `true`: the code is covered. You get its sector and flags.\n- `\"partial\"`: the code is a heading. `children` lists the covered sub-codes.\n- `false`: the code is outside Annex I. You still get a `200`.","parameters":[{"name":"cn","in":"path","required":true,"schema":{"type":"string"},"example":"72083900","description":"CN or TARIC code of 4, 6, 8 or 10 digits. Spaces, dots and hyphens are removed."},{"name":"compact","in":"query","schema":{"type":"string","enum":["cn"]},"example":"cn","description":"Send `cn` to get `children` as CN codes only, with no row detail. Other values return `400`."}],"responses":{"200":{"description":"You get the scope answer for the code, covered or not.","content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ScopeAnswer"},"meta":{"$ref":"#/components/schemas/Meta"}}},"example":{"data":{"cn":"72083900","inScope":true,"sector":"iron_steel","precursor":false,"indirect":false,"description":"Of a thickness of less than 3 mm"},"meta":{"dataVersion":"2026-10-19.451099948819","pricePeriod":"2026-Q3"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/PlanRequired"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/defaults":{"get":{"operationId":"listDefaults","tags":["Reference data"],"summary":"List default values","description":"Returns rows of the default-values annex: the emissions per tonne the EU publishes for each CN code, origin and production route. Call it to show the value behind an estimate, or to compare origins and routes.\n\nValues are as published in Reg (EU) 2025/2621, corrected by Reg (EU) 2026/1740, before the mark-up. The annex often lists a code at 4 digits, so `cn=72083900` also returns the `7208` row. `/v1/resolve` uses the `ROW` (rest of world) row when your origin has no row of its own. Results come in pages.","parameters":[{"name":"cn","in":"query","schema":{"type":"string"},"example":"7208","description":"CN code prefix of 1 to 10 digits. You get rows whose code starts with it, and rows whose shorter code it starts with. Spaces, dots and hyphens are removed."},{"name":"sector","in":"query","schema":{"$ref":"#/components/schemas/Sector"},"example":"iron_steel","description":"Only rows of this sector."},{"name":"origin","in":"query","schema":{"type":"string","pattern":"^(?:[A-Z]{2}|ROW)$"},"example":"TR","description":"Only rows of this origin: an ISO 3166-1 alpha-2 code, or `ROW`."},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1},"example":1,"description":"Page number, from 1. Default `1`."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"example":50,"description":"Rows per page, from 1 to 200. Default `50`."}],"responses":{"200":{"description":"You get one page of matching rows, and `meta.pagination`. No match gives an empty list.","content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["defaults"],"properties":{"defaults":{"type":"array","description":"The rows on this page.","items":{"$ref":"#/components/schemas/DefaultRow"}}}},"meta":{"$ref":"#/components/schemas/Meta"}}},"example":{"data":{"defaults":[{"cn":"7208","sector":"iron_steel","origin":"TR","route":"C","direct":2.428,"indirect":0,"total":2.428,"unit":"tCO2e/t"}]},"meta":{"dataVersion":"2026-10-19.451099948819","pricePeriod":"2026-Q3","pagination":{"page":1,"limit":2,"total":1,"pages":1}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/PlanRequired"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/certificate-price":{"get":{"operationId":"getCertificatePrice","tags":["Reference data"],"summary":"Get the certificate price","description":"Returns the latest published CBAM certificate price in EUR, or the full series. Call it to price certificates yourself, or to show which period an estimate used.\n\nThe price is published quarterly in 2026 and weekly from 2027. \"Latest\" is the price with the most recent publication date. `/v1/resolve` uses the same price.","parameters":[{"name":"all","in":"query","schema":{"type":"string"},"example":"true","description":"Send it with any value, or none (`?all`), to get every bundled price as a list."}],"responses":{"200":{"description":"You get the latest price as an object, or every price as a list when you send `all`.","content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["price"],"properties":{"price":{"description":"The latest price, or the list of prices with `all`.","oneOf":[{"$ref":"#/components/schemas/PricePoint"},{"type":"array","items":{"$ref":"#/components/schemas/PricePoint"}}]}}},"meta":{"$ref":"#/components/schemas/Meta"}}},"example":{"data":{"price":{"period":"2026-Q3","price":82.32,"currency":"EUR","published":"2026-10-05","source":"https://taxation-customs.ec.europa.eu/carbon-border-adjustment-mechanism/price-cbam-certificates_en"}},"meta":{"dataVersion":"2026-10-19.451099948819","pricePeriod":"2026-Q3"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/PlanRequired"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/changes":{"get":{"operationId":"listChanges","tags":["Dataset"],"summary":"List dataset changes","description":"Returns the change feed: one entry per published dataset version, with its date and a summary of what changed. Call it on a schedule to learn when scope or default values changed, then read the new data.\n\nSend `since` with the last version you hold to get only that version and later ones. Results come in pages. A build with no change feed returns `503 DATASET_UNAVAILABLE`, never an empty list.","parameters":[{"name":"since","in":"query","schema":{"type":"string","minLength":1,"maxLength":64},"example":"2026-09-15.550cad608499","description":"A dataset version, up to 64 characters. You get that entry and every newer one. For a version the feed does not list, you get the entries from its date on."},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1},"example":1,"description":"Page number, from 1. Default `1`."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"example":50,"description":"Entries per page, from 1 to 200. Default `50`."}],"responses":{"200":{"description":"You get one page of change entries, and `meta.pagination`.","content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["changes"],"properties":{"changes":{"type":"array","description":"The entries on this page.","items":{"$ref":"#/components/schemas/Change"}}}},"meta":{"$ref":"#/components/schemas/Meta"}}},"example":{"data":{"changes":[{"version":"2026-10-19.451099948819","date":"2026-10-19","summary":"2465 changes in benchmarks"},{"version":"2026-10-12.afa0bc2ddaf8","date":"2026-10-12","summary":"1 change in certificate-price"},{"version":"2026-09-15.d560045608f6","date":"2026-09-15","summary":"no row changes; provenance or mark-up updated"}]},"meta":{"dataVersion":"2026-10-19.451099948819","pricePeriod":"2026-Q3","pagination":{"page":1,"limit":3,"total":5,"pages":2}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/PlanRequired"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/v1/status":{"get":{"operationId":"getStatus","tags":["Dataset"],"summary":"Get the build status","description":"Returns what this deploy answers from: the dataset version, its build time, row counts, the latest certificate price and the free-access rules. Call it as a health check, or to read the current dataset version before you fetch data.\n\nCalls without a key are free. With a key, the call counts against your plan. It takes no parameters; any query parameter returns `400`.","responses":{"200":{"description":"You get the status of this deploy.","content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["status"],"properties":{"status":{"$ref":"#/components/schemas/Status"}}},"meta":{"$ref":"#/components/schemas/Meta"}}},"example":{"data":{"status":{"datasetVersion":"2026-10-19.451099948819","generatedAt":"2026-10-19T17:11:28.440Z","changeFeedAvailable":true,"counts":{"scopeRows":572,"defaultRows":10910,"prices":3},"latestPrice":{"period":"2026-Q3","price":82.32,"currency":"EUR","published":"2026-10-05","source":"https://taxation-customs.ec.europa.eu/carbon-border-adjustment-mechanism/price-cbam-certificates_en"},"access":{"auth":"none","note":"Without a key, only /v1/resolve and /v1/eudr/resolve answer, 3 times a day per address, with x-ratelimit-remaining on every metered answer. This health check and /openapi.json are not counted. Every other endpoint needs a Developer plan key, whose account shares one monthly allowance."}}},"meta":{"dataVersion":"2026-10-19.451099948819","pricePeriod":"2026-Q3"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/PlanRequired"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"cbam_live_…","description":"Your API key from the dashboard, sent as `Authorization: Bearer cbam_live_…`. Required on every endpoint except `/v1/resolve`, `/v1/eudr/resolve` and `/v1/status`, which answer without it inside the daily free limit."}},"schemas":{"Sector":{"type":"string","description":"CBAM sector of the good, from Annex I of Reg (EU) 2023/956.","enum":["cement","iron_steel","aluminium","fertilisers","electricity","hydrogen"],"example":"iron_steel"},"ErrorBody":{"type":"object","description":"The body of every error response.","required":["error"],"properties":{"error":{"type":"object","description":"What went wrong.","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code. Branch on this value.","enum":["INVALID_INPUT","UNAUTHORIZED","PLAN_REQUIRED","OUT_OF_SCOPE","NOT_FOUND","RATE_LIMITED","INTERNAL","NO_DEFAULT","DATASET_UNAVAILABLE","PRICE_UNAVAILABLE"],"example":"INVALID_INPUT"},"message":{"type":"string","description":"Readable explanation for a person. The text can change.","example":"invalid request parameters"},"details":{"type":"object","description":"Extra context, when there is any. `INVALID_INPUT` lists each problem in `issues`; `RATE_LIMITED` without a key gives `limit`, `resetsAt` and `plans`.","additionalProperties":true,"example":{"issues":["cn: cn: 4, 6, 8 or 10 digits after normalisation"]}}}},"meta":{"$ref":"#/components/schemas/Meta"}}},"Meta":{"type":"object","description":"Which data produced the answer. Sent with every successful response.","required":["dataVersion","pricePeriod"],"properties":{"dataVersion":{"type":"string","description":"Version of the bundled dataset. On `/v1/eudr/resolve`, the date of the country benchmarking list.","example":"2026-10-19.451099948819"},"pricePeriod":{"type":["string","null"],"description":"Period of the latest bundled certificate price. `null` when none is bundled, and always on `/v1/eudr/resolve`.","example":"2026-Q3"},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"Pagination":{"type":"object","description":"Page position. Sent only by `/v1/defaults` and `/v1/changes`.","required":["page","limit","total","pages"],"properties":{"page":{"type":"integer","minimum":1,"description":"This page number.","example":1},"limit":{"type":"integer","minimum":1,"maximum":200,"description":"Items per page.","example":50},"total":{"type":"integer","minimum":0,"description":"Items that match, across all pages.","example":1},"pages":{"type":"integer","minimum":0,"description":"Number of pages. `0` when nothing matches.","example":1}}},"PricePoint":{"type":"object","description":"One published CBAM certificate price.","required":["period","price","currency","published","source"],"properties":{"period":{"type":"string","description":"Period the price applies to: a quarter in 2026, a week from 2027.","example":"2026-Q3"},"price":{"type":"number","description":"Price of 1 certificate, which covers 1 tCO2e, in EUR.","example":82.32},"currency":{"type":"string","const":"EUR","description":"Always `EUR`.","example":"EUR"},"published":{"type":"string","format":"date","description":"Date the Commission published the price.","example":"2026-10-05"},"source":{"type":"string","format":"uri","description":"Commission page the price comes from.","example":"https://taxation-customs.ec.europa.eu/carbon-border-adjustment-mechanism/price-cbam-certificates_en"}}},"DefaultRow":{"type":"object","description":"One row of the default-values annex, before the mark-up.","required":["cn","sector","origin","route","direct","indirect","unit"],"properties":{"cn":{"type":"string","description":"CN code at the length the annex lists it: 4, 6, 8 or 10 digits. It covers every code that starts with it.","example":"7208"},"sector":{"$ref":"#/components/schemas/Sector"},"origin":{"type":"string","description":"ISO 3166-1 alpha-2 origin, or `ROW` for the rest of the world.","example":"TR"},"route":{"type":"string","description":"Production route code. `\"\"` is the blank route: an independently benchmarked value with no named process.","example":"C"},"direct":{"type":"number","minimum":0,"description":"Direct emissions per tonne, in tCO2e/t. For reference only.","example":2.428},"indirect":{"type":"number","minimum":0,"description":"Indirect emissions per tonne, in tCO2e/t. For reference only.","example":0},"total":{"type":"number","minimum":0,"description":"Published total per tonne, in tCO2e/t. The calculation uses this value; `direct` and `indirect` can differ from it by rounding.","example":2.428},"unit":{"type":"string","const":"tCO2e/t","description":"Always `tCO2e/t`."}}},"Change":{"type":"object","description":"One published dataset version in the change feed.","required":["version","date","summary"],"properties":{"version":{"type":"string","description":"The dataset version this entry describes.","example":"2026-09-15.550cad608499"},"date":{"type":"string","format":"date","description":"Date the version was published.","example":"2026-09-15"},"summary":{"type":"string","description":"How many rows changed, and in which datasets.","example":"13289 changes in defaults, scope"}}},"Status":{"type":"object","description":"What this deploy answers from.","required":["datasetVersion","generatedAt","changeFeedAvailable","counts","latestPrice","access"],"properties":{"datasetVersion":{"type":"string","description":"Bundled dataset version, the same as `meta.dataVersion`.","example":"2026-10-19.451099948819"},"generatedAt":{"type":"string","format":"date-time","description":"When the bundled dataset was built.","example":"2026-09-15T15:22:18.818Z"},"changeFeedAvailable":{"type":"boolean","description":"`true` when `/v1/changes` has a feed to return.","example":true},"counts":{"type":"object","description":"Number of rows in each bundled dataset.","required":["scopeRows","defaultRows","prices"],"properties":{"scopeRows":{"type":"integer","minimum":0,"description":"CN codes in Annex I.","example":572},"defaultRows":{"type":"integer","minimum":0,"description":"Rows of default values.","example":10910},"prices":{"type":"integer","minimum":0,"description":"Certificate prices.","example":2}}},"latestPrice":{"description":"The latest certificate price, or `null` when none is bundled.","oneOf":[{"$ref":"#/components/schemas/PricePoint"},{"type":"null"}]},"access":{"type":"object","description":"The access rules for calls without a key.","required":["auth","note"],"properties":{"auth":{"type":"string","const":"none","description":"Always `none`: this endpoint answers without a key.","example":"none"},"note":{"type":"string","description":"The daily free limit and which endpoints need a key, in words."}}}}},"Notice":{"type":"object","description":"A fact about the answer that you may need to show your user.","required":["severity","code","message"],"properties":{"severity":{"type":"string","enum":["warning","info"],"description":"`warning` when the answer used a fallback, `info` otherwise.","example":"info"},"code":{"type":"string","enum":["DEFAULT_VALUE_USED","ROW_FALLBACK","THRESHOLD_MAY_APPLY","FREE_ALLOCATION_ESTIMATED","CARBON_PRICE_DEDUCTION","PARTIAL_CN"],"description":"`DEFAULT_VALUE_USED`: no actual data, so default values were used. `ROW_FALLBACK`: no row for your origin, so the rest-of-world row was used. `THRESHOLD_MAY_APPLY`: the line is at or below 50 t. `FREE_ALLOCATION_ESTIMATED`: the free allocation adjustment is an estimate: no benchmark covers the code, you sent `actual`, or the year is after 2030. `CARBON_PRICE_DEDUCTION`: you sent `carbonPricePaid`; says which reference price divided it and what evidence Reg (EU) 2026/2498 asks for. `PARTIAL_CN`: pick a more specific code.","example":"DEFAULT_VALUE_USED"},"message":{"type":"string","description":"Readable explanation. The text can change.","example":"Published default values were used because no actual emissions data was supplied."}}},"Estimate":{"type":"object","description":"The estimate for one import line.","required":["inScope","cn","sector","origin","originRow","route","routeAssumed","source","sourceTrail","notices","markup","perTonne","totalEmissions","benchmark","cbamFactor","crossSectoralCorrection","freeAllocationAdjustment","emissionsSubjectToCbam","carbonPriceDeductionShare","certificates","price","cost","thresholdApplies","thresholdTonnes","declarationDeadline","penaltyPerTonne","dataVersion"],"properties":{"inScope":{"type":"boolean","const":true,"description":"Always `true` on an estimate.","example":true},"cn":{"type":"string","description":"Your CN code, digits only.","example":"72083900"},"sector":{"$ref":"#/components/schemas/Sector"},"origin":{"type":"string","description":"Your origin.","example":"TR"},"originRow":{"type":"string","description":"Origin of the default-value row used: your origin, or `ROW` when it has no row. With `actual`, your origin.","example":"TR"},"route":{"type":"string","description":"Route of the row used, or your `route`. `actual` when you sent `actual` and no route.","example":"C"},"routeAssumed":{"type":"boolean","description":"`true` when you sent no route and more than 1 row matched, so the row with the highest total was used.","example":false},"source":{"type":"string","enum":["default","actual"],"description":"`default` for published default values, `actual` for your `actual` values.","example":"default"},"markup":{"type":"number","minimum":0,"description":"Mark-up added to the default value, as a share: `0.2` is 20%. Fertilisers 1%; other sectors 10% in 2026, 20% in 2027, 30% from 2028. `0` with `actual`.","example":0.2},"perTonne":{"type":"object","description":"Emissions per tonne after the mark-up, in tCO2e/t.","required":["direct","indirect","total"],"properties":{"direct":{"type":"number","minimum":0,"description":"Direct emissions per tonne.","example":2.9136},"indirect":{"type":"number","minimum":0,"description":"Indirect emissions per tonne. `0` when the CN code does not count them.","example":0},"total":{"type":"number","minimum":0,"description":"Emissions per tonne the calculation uses.","example":2.9136}}},"totalEmissions":{"type":"number","minimum":0,"description":"`perTonne.total` times the mass, in tCO2e.","example":116.544},"benchmark":{"type":["object","null"],"description":"The CBAM benchmark the free allocation adjustment used: the Column B value for the route, Reg (EU) 2025/2620. After 2030, the 2028 to 2030 value. `null` when no benchmark covers the code, and for electricity.","required":["cn","route","years","value","unit","version","regulation","legalSource","publicationDate","workbookSource"],"properties":{"cn":{"type":"string","description":"CN code of the benchmark row.","example":"72083900"},"route":{"type":"string","description":"Production route of the benchmark row.","example":"C"},"years":{"type":"string","enum":["","2026-2027","2028-2030"],"description":"Years the value applies to. `\"\"` when one value covers 2026 to 2030.","example":""},"value":{"type":"number","minimum":0,"description":"Benchmark in tCO2e per tonne.","example":1.37},"unit":{"type":"string","const":"tCO2e/t","example":"tCO2e/t"},"version":{"type":"string","description":"Version of the benchmark dataset.","example":"2025-12-22"},"regulation":{"type":"string","description":"The act that sets the benchmarks.","example":"Reg (EU) 2025/2620"},"legalSource":{"type":"string","format":"uri","description":"EUR-Lex link to the act.","example":"https://eur-lex.europa.eu/eli/reg_impl/2025/2620/oj"},"publicationDate":{"type":"string","format":"date","description":"Publication date of the act.","example":"2025-12-22"},"workbookSource":{"type":"string","format":"uri","description":"The Commission workbook the values were read from."}}},"cbamFactor":{"type":"number","minimum":0,"maximum":1,"description":"CBAM factor for the year (Directive 2003/87/EC Art. 10a(1a)): the share of the benchmark you deduct. `0.975` in 2026, `0.95` in 2027, `0.515` in 2030, `0` from 2034.","example":0.95},"crossSectoralCorrection":{"type":"number","minimum":0,"maximum":1,"description":"Cross-sectoral correction factor (Decision (EU) 2026/1862): `1` in every year.","example":1},"freeAllocationAdjustment":{"type":"number","minimum":0,"description":"Free allocation adjustment (Art. 31): the mass times `cbamFactor`, `crossSectoralCorrection` and `benchmark.value`, in tCO2e. `0` when `benchmark` is `null`.","example":52.06},"emissionsSubjectToCbam":{"type":"number","minimum":0,"description":"`totalEmissions` minus `freeAllocationAdjustment`, at least `0`, in tCO2e.","example":64.484},"carbonPriceDeductionShare":{"type":"number","minimum":0,"maximum":1,"description":"`carbonPricePaid` divided by the yearly reference price, the average of the import year's published certificate prices, or the latest price before any is published. At most `1` (Implementing Reg (EU) 2026/2498 Art. 7). `0` when you sent none.","example":0},"certificates":{"type":"integer","minimum":0,"description":"Certificates to surrender: `emissionsSubjectToCbam` minus `carbonPriceDeductionShare` times `totalEmissions`, at least `0`, rounded up.","example":65},"price":{"$ref":"#/components/schemas/PricePoint","description":"The certificate price used: the latest bundled price."},"cost":{"type":"number","minimum":0,"description":"`certificates` times `price.price`, in EUR, rounded to the cent.","example":4893.2},"thresholdApplies":{"type":"boolean","description":"`true` when the line is 50 t or less in a sector with the annual threshold (Art. 2(3)(a)). The exemption depends on your yearly total, so `certificates` stays as calculated.","example":true},"thresholdTonnes":{"type":"number","minimum":0,"description":"The annual threshold in tonnes: `50`, or `0` for electricity and hydrogen.","example":50},"declarationDeadline":{"type":"string","format":"date","description":"Date to declare and surrender: 30 September of the next year (Art. 6).","example":"2028-09-30"},"penaltyPerTonne":{"type":"number","minimum":0,"description":"Penalty in EUR per tCO2e not surrendered, before indexation (Art. 26(1)).","example":100},"dataVersion":{"type":"string","description":"Dataset version used, the same as `meta.dataVersion`.","example":"2026-10-19.451099948819"},"sourceTrail":{"description":"The source of the emissions: the default-value row and its legal source, or a record that you sent unverified actual values.","oneOf":[{"type":"object","title":"Default value","required":["dataCategory","cn","origin","route","direct","indirect","total","unit","dataVersion","defaultValuesVersion","regulation","annex","legalSource","publicationDate","workbookSource"],"properties":{"dataCategory":{"type":"string","const":"default_value","description":"A published default value was used."},"cn":{"type":"string","description":"CN code of the row. It can be shorter than yours.","example":"7208"},"origin":{"type":"string","description":"Origin of the row, or `ROW`.","example":"TR"},"route":{"type":"string","description":"Route of the row.","example":"C"},"direct":{"type":"number","description":"Direct emissions per tonne as published, before the mark-up.","example":2.428},"indirect":{"type":"number","description":"Indirect emissions per tonne as published, before the mark-up.","example":0},"total":{"type":"number","description":"Total per tonne as published, before the mark-up.","example":2.428},"unit":{"type":"string","const":"tCO2e/t","description":"Always `tCO2e/t`."},"dataVersion":{"type":"string","description":"Bundled dataset version.","example":"2026-10-19.451099948819"},"defaultValuesVersion":{"type":"string","description":"Version of the published default values.","example":"2026-07-31"},"regulation":{"type":"string","description":"Regulation that publishes the values.","example":"Reg (EU) 2026/1740 correcting Reg (EU) 2025/2621"},"annex":{"type":"string","description":"Annex of that regulation.","example":"Annex I"},"legalSource":{"type":"string","format":"uri","description":"Official Journal link.","example":"https://eur-lex.europa.eu/eli/reg/2026/1740/oj"},"publicationDate":{"type":"string","format":"date","description":"Publication date of the regulation.","example":"2026-07-31"},"workbookSource":{"type":"string","format":"uri","description":"Commission workbook the rows were read from."}}},{"type":"object","title":"Actual emissions","required":["dataCategory","source","verification"],"properties":{"dataCategory":{"type":"string","const":"actual_emissions","description":"Your `actual` values were used."},"source":{"type":"string","const":"caller_asserted","description":"You supplied the values."},"verification":{"type":"string","const":"unverified","description":"This API does not verify them."}}}]},"notices":{"type":"array","description":"Facts about the estimate: `DEFAULT_VALUE_USED`, `ROW_FALLBACK`, `THRESHOLD_MAY_APPLY`, `FREE_ALLOCATION_ESTIMATED`, `CARBON_PRICE_DEDUCTION`.","items":{"$ref":"#/components/schemas/Notice"}}}},"Partial":{"type":"object","description":"The code is a heading with covered sub-codes. Call `/v1/resolve` again with one of them.","required":["resolve","cn","children","notices"],"properties":{"resolve":{"type":"string","const":"partial","description":"Always `partial`.","example":"partial"},"cn":{"type":"string","description":"Your CN code, digits only.","example":"7208"},"conditional":{"type":"boolean","const":true,"description":"Present when the 8-digit heading is covered only for some 10-digit codes under it."},"children":{"type":"array","description":"The covered sub-codes.","items":{"$ref":"#/components/schemas/ResolveChild"}},"variants":{"type":"array","description":"10-digit codes under a conditional heading that have their own default values. Present when there are 2 or more.","items":{"type":"string"}},"notices":{"type":"array","description":"Always 1 `PARTIAL_CN` notice.","items":{"$ref":"#/components/schemas/Notice"}}}},"ResolveChild":{"type":"object","description":"A covered sub-code.","required":["cn","sector","description"],"properties":{"cn":{"type":"string","description":"The sub-code.","example":"72081000"},"sector":{"$ref":"#/components/schemas/Sector"},"description":{"type":"string","description":"Description from the CN nomenclature.","example":"In coils, not further worked than hot-rolled, with patterns in relief"}}},"ScopeRow":{"type":"object","description":"A CN code in Annex I of Reg (EU) 2023/956.","required":["cn","sector","precursor","indirect","description"],"properties":{"cn":{"type":"string","description":"The CN code.","example":"72081000"},"sector":{"$ref":"#/components/schemas/Sector"},"precursor":{"type":"boolean","description":"`true` when the good is a precursor used to make other covered goods.","example":false},"indirect":{"type":"boolean","description":"`true` when indirect emissions count toward the certificates.","example":false},"description":{"type":"string","description":"Description from the CN nomenclature.","example":"In coils, not further worked than hot-rolled, with patterns in relief"}}},"ScopeAnswer":{"description":"The scope of one CN code. `inScope` tells you which shape you have.","oneOf":[{"type":"object","title":"Covered","required":["cn","inScope","sector","precursor","indirect","description"],"properties":{"cn":{"type":"string","description":"Your CN code, digits only.","example":"72083900"},"inScope":{"type":"boolean","const":true,"description":"The code is covered."},"sector":{"$ref":"#/components/schemas/Sector"},"precursor":{"type":"boolean","description":"`true` when the good is a precursor used to make other covered goods.","example":false},"indirect":{"type":"boolean","description":"`true` when indirect emissions count toward the certificates.","example":false},"description":{"type":"string","description":"Description from the CN nomenclature.","example":"Of a thickness of less than 3 mm"}}},{"type":"object","title":"Heading","required":["cn","inScope","children"],"properties":{"cn":{"type":"string","description":"Your CN code, digits only.","example":"7208"},"inScope":{"type":"string","const":"partial","description":"The code is a heading with covered sub-codes."},"conditional":{"type":"boolean","const":true,"description":"Present when the 8-digit heading is covered only for some 10-digit codes under it."},"children":{"description":"The covered sub-codes: full rows, or codes only with `compact=cn`.","oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/ScopeRow"}},{"type":"array","items":{"type":"string"},"example":["72081000","72082500"]}]}}},{"type":"object","title":"Not covered","required":["cn","inScope"],"properties":{"cn":{"type":"string","description":"Your CN code, digits only.","example":"01012100"},"inScope":{"type":"boolean","const":false,"description":"The code is outside Annex I."}}}]},"EudrRow":{"type":"object","description":"A CN code in Annex I of Reg (EU) 2023/1115.","required":["cn","commodity","description"],"properties":{"cn":{"type":"string","description":"The CN code.","example":"44011100"},"commodity":{"type":"string","enum":["cattle","cocoa","coffee","oil_palm","rubber","soya","wood"],"description":"The relevant commodity.","example":"wood"},"description":{"type":"string","description":"Description from Annex I.","example":"Coniferous"},"ex":{"type":"boolean","description":"`true` when Annex I lists the code with `ex`: only part of it is covered."},"appliesFrom":{"type":"string","format":"date","description":"Set when Delegated Reg (EU) 2026/2102 added the line with a later start, so it isn't covered before that date.","example":"2027-12-30"}}},"EudrResolveAnswer":{"type":"object","description":"EUDR scope and duties for one CN code and origin. `obligations`, `applicationDates` and `row` come with a covered code; `children` and `notices` with a heading.","required":["inScope","cn","commodity","origin","riskTier"],"properties":{"inScope":{"description":"`true` covered, `\"partial\"` a heading with covered sub-codes, `false` not covered.","oneOf":[{"type":"boolean"},{"type":"string","const":"partial"}],"example":true},"cn":{"type":"string","description":"Your CN code, digits only.","example":"44011100"},"commodity":{"type":["string","null"],"enum":["cattle","cocoa","coffee","oil_palm","rubber","soya","wood",null],"description":"The relevant commodity. `null` when not covered, or when a heading mixes commodities.","example":"wood"},"origin":{"type":"string","description":"Your origin.","example":"RU"},"riskTier":{"type":"string","enum":["high","standard","low"],"description":"Risk tier of the origin under Art. 29. Countries on neither list are `standard`.","example":"high"},"simplified":{"type":"boolean","description":"`true` when the origin is low risk, so simplified due diligence applies (Art. 13).","example":false},"obligations":{"type":["object","null"],"description":"Your duties for this line. `null` when not covered.","required":["article4","article9","article10","article13","article29","simplified","checkRate"],"properties":{"article4":{"type":"string","description":"Art. 4: no placing or export without a due diligence statement."},"article9":{"type":"string","description":"Art. 9: the information to collect, such as plot geolocation."},"article10":{"type":"string","description":"Art. 10: risk assessment and mitigation, or the exemption for a low-risk origin."},"article13":{"type":"string","description":"Art. 13: whether simplified due diligence applies."},"article29":{"type":"string","description":"Art. 29: the country benchmarking the risk tier comes from."},"simplified":{"type":"boolean","description":"The same as the top-level `simplified`.","example":false},"checkRate":{"type":"number","description":"Minimum share of operators the authorities check: `0.09` high, `0.03` standard, `0.01` low (Art. 16).","example":0.09}}},"applicationDates":{"type":["object","null"],"description":"When the rules apply to you. `null` when not covered.","required":["largeAndMedium","microAndSmall"],"properties":{"largeAndMedium":{"type":"string","format":"date","description":"For large and medium operators (Art. 38(2)).","example":"2026-12-30"},"microAndSmall":{"type":"string","format":"date","description":"For micro and small enterprises (Art. 38(3)).","example":"2027-06-30"}}},"row":{"$ref":"#/components/schemas/EudrRow","description":"The Annex I row that covers your code."},"children":{"type":"array","description":"The covered sub-codes of a heading.","items":{"$ref":"#/components/schemas/EudrRow"}},"notices":{"type":"array","description":"For a heading, 1 `PARTIAL_CN` notice.","items":{"$ref":"#/components/schemas/Notice"}}}}},"responses":{"BadRequest":{"description":"A parameter is missing, malformed, out of range or unknown. `error.details.issues` lists each problem.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"},"example":{"error":{"code":"INVALID_INPUT","message":"invalid request parameters","details":{"issues":["cn: cn: 4, 6, 8 or 10 digits after normalisation"]}}}}}},"Unauthorized":{"description":"You called an endpoint other than `/v1/resolve`, `/v1/eudr/resolve` or `/v1/status` without a key, or sent an `Authorization` header that is malformed, or a key that is invalid or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"},"example":{"error":{"code":"UNAUTHORIZED","message":"API key is invalid or revoked"}}}}},"PlanRequired":{"description":"Your key is valid, but its account has no active Developer plan.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"},"example":{"error":{"code":"PLAN_REQUIRED","message":"An active Developer plan is required for API access"}}}}},"OutOfScope":{"description":"The CN code is valid but outside Annex I, so no estimate exists. `/v1/scope/{cn}` returns the same fact as a `200`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"},"example":{"error":{"code":"OUT_OF_SCOPE","message":"CN 01012100 is not in Annex I of Reg (EU) 2023/956"}}}}},"InternalError":{"description":"An unexpected failure on the server. The body carries no internal detail.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"},"example":{"error":{"code":"INTERNAL","message":"internal error"}}}}},"Unavailable":{"description":"This build lacks data the answer needs: `NO_DEFAULT`, `DATASET_UNAVAILABLE` or `PRICE_UNAVAILABLE`. You never get an empty success instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"},"example":{"error":{"code":"PRICE_UNAVAILABLE","message":"no CBAM certificate price is bundled for this build"}}}}},"TooManyRequests":{"description":"You spent the daily free limit, or your account's monthly allowance. Wait `retry-after` seconds, or add a Developer key.","headers":{"retry-after":{"schema":{"type":"integer"},"description":"Seconds to wait. Without a key, the seconds to the next 00:00 UTC; with a key, `86400`."},"x-ratelimit-limit":{"schema":{"type":"integer"},"description":"Calls allowed in the window."},"x-ratelimit-remaining":{"schema":{"type":"integer"},"description":"Calls left in the window: `0` here."},"x-ratelimit-reset":{"schema":{"type":"string","format":"date-time"},"description":"Without a key, the instant the daily count clears."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"},"example":{"error":{"code":"RATE_LIMITED","message":"3 free calls a day, and this one is over it","details":{"limit":3,"resetsAt":"2026-09-17T00:00:00.000Z","plans":"https://carbonapi.eu/pricing"}}}}}}}}}