Skip to main content
This guide walks through the full integration flow in order. Each step builds on the previous one, so work through them in sequence.

Prerequisites

Base URL

All requests go to:
https://api.maalbar.dk

Authenticate

Every request requires your API key in the X-Api-Key header. Verify it works by fetching your customer record:
cURL
curl https://api.maalbar.dk/v1/customer \
  -H "X-Api-Key: mb_live_xxxxxxxxxxxxxxxx"
A 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.