Prerequisites
- An API key — generate one at lca.maalbar.dk/api-keys
- A REST client (cURL, Postman, or the interactive playground in the API Reference)
Base URL
All requests go to:Authenticate
Every request requires your API key in theX-Api-Key header. Verify it works by fetching your customer record:
cURL
200 response confirms your credentials are valid. A 401 means the key is wrong or missing.
Steps
Create Locations
Set up supplier factories, warehouses, and sales channels.
Create Routes
Define transport legs between your locations.
Create a Screening
Create a product and attach a screening to it.
Add Materials
Add materials from the Målbar catalog to the screening.
Add Packaging
Add packaging items from the Målbar catalog to the screening.
Retrieve Results
Fetch the CO₂ footprint and export results in bulk.