Nordify API
Book og følg fragt fra jeres ERP, WMS eller webshop. API'et opretter opgaver med de samme regler som "Opret transport" i Nordify, og I får bud, dokumenter og status tilbage.
Version 2026-11-26 · https://api.nordify.app
Kom i gang på 5 minutter
- Opret en gratis kundekonto, og opret så en API-nøgle under Indstillinger → Integration.
- Opret jeres første opgave:
curl -X POST https://api.nordify.app/api-loads \ -H "X-API-Key: $NORDIFY_API_KEY" \ -H "Content-Type: application/json" \ -d '{"from_address":"Industrivej 10, 2630 Taastrup, Denmark","to_address":"Havnevej 5, 5000 Odense, Denmark","weight_kg":400,"volume_m3":2.5,"pallets":1,"goods_type":"PLL","pallet_breakdown":[{"type":"hel","count":1,"dimensions":{"length":120,"width":80,"height":135}}],"delivery_option":"interval","pickup_earliest":"2026-12-01T08:00:00+01:00","pickup_latest":"2026-12-01T10:00:00+01:00","delivery_start":"2026-12-01T12:00:00+01:00","delivery_end":"2026-12-01T16:00:00+01:00","requested_vehicle":"rigid_truck","requires_tailgate_delivery":true,"recipient_company":"Odense Elektronik A/S","delivery_contact":{"name":"Mette","phone":"+45 87 65 43 21","site_notes":"Gate 3"},"delivery_ref":"DO-2026-042","max_all_in_price_dkk":5000}' - Registrér en webhook for at høre om bud, tildeling og levering, eller hent GET /api-loads/{id}.
Autentificering
Send nøglen i headeren X-API-Key på hvert kald over HTTPS. Hold nøglen på jeres server, aldrig i en browser eller app.
Tid og tidszoner
Tidsvinduer er dansk tid, som i Nordify. Send en offset, fx "2026-12-01T08:00:00+01:00", så omregnes den. En tid med "Z" eller uden offset læses som dansk tid. Svarene viser vinduerne som dansk tid med "Z".
Enheder: vægt i kg, rumfang i m³, pallemål i cm, priser i DKK ekskl. moms. Alle beløb, I får, er jeres egen samlede pris (all-in).
Nye felter kan komme til i svarene. Ignorér felter, I ikke kender.
Endpoints
- POST
/api-loadsCreate a load - GET
/api-loadsList your loads - GET
/api-loads/{id}Get a load with bids, assignment and CO₂ - DELETE
/api-loads/{id}Delete a load (open or bidding only) - POST
/api-loads/{id}/cancelCancel a load - POST
/api-loads/{id}/reopenReopen a cancelled load - POST
/api-loads/{id}/rateRate the carrier after delivery - GET
/api-loads/{id}/emissionsCO₂ emissions (ISO 14083 / GLEC v3) - POST
/api-loads/{id}/bids/{bidId}/acceptAccept a bid - POST
/api-loads/{id}/bids/{bidId}/cancelUndo a bid acceptance before the carrier confirms - GET
/api-documents/{id}/cmrCMR consignment note (signed download link) - GET
/api-documents/{id}/podProof of delivery (signed download link) - GET
/api-labels/{id}Shipping labels (PDF 100×150 mm, or JSON) - POST
/api-webhooksRegister a webhook - GET
/api-webhooksList your webhooks - DELETE
/api-webhooks/{id}Delete a webhook - GET
/api-autopilotYour Autopilot settings - PATCH
/api-autopilotUpdate your Autopilot settings - GET
/api-autopilot/lane-rulesYour lane rules - POST
/api-autopilot/lane-rulesCreate a lane rule - PATCH
/api-autopilot/lane-rules/{id}Update a lane rule - DELETE
/api-autopilot/lane-rules/{id}Delete a lane rule - POST
/api-price-estimateEstimated market price for a shipment
Felter i POST /api-loads
| Felt | Type | |
|---|---|---|
| from_address(påkrævet) | string | Street, postcode, city and country |
| to_address(påkrævet) | string | Street, postcode, city and country |
| from_postal | string | Postcode used for contract matching (optional, otherwise read from the address) |
| to_postal | string | Postcode used for contract matching |
| from_country | string | ISO 3166-1 alpha-2 |
| to_country | string | ISO 3166-1 alpha-2 |
| from_lat | number | |
| from_lng | number | |
| to_lat | number | |
| to_lng | number | |
| weight_kg(påkrævet) | number | Total weight in kg |
| volume_m3(påkrævet) | number | Total volume in m³ |
| pallets | number | Number of pallet places |
| pallet_breakdown | object[] | Pallets by type and size |
| goods_type | PLL | PKK | CLL | Goods form: PLL pallets, PKK parcels, CLL loose cargo (case-insensitive) |
| goods_description | string | What the goods are |
| package_count | integer | |
| delivery_option(påkrævet) | interval | fixed | flexible | |
| pickup_earliest | string | Time windows are Danish local time. Send an offset (e.g. "2026-12-01T08:00:00+01:00") and it is converted; a time with "Z" or no offset is read as Danish local time. |
| pickup_latest | string | Time windows are Danish local time. Send an offset (e.g. "2026-12-01T08:00:00+01:00") and it is converted; a time with "Z" or no offset is read as Danish local time. |
| delivery_start | string | Time windows are Danish local time. Send an offset (e.g. "2026-12-01T08:00:00+01:00") and it is converted; a time with "Z" or no offset is read as Danish local time. |
| delivery_end | string | Time windows are Danish local time. Send an offset (e.g. "2026-12-01T08:00:00+01:00") and it is converted; a time with "Z" or no offset is read as Danish local time. |
| delivery_fixed | string | Time windows are Danish local time. Send an offset (e.g. "2026-12-01T08:00:00+01:00") and it is converted; a time with "Z" or no offset is read as Danish local time. |
| delivery_windows | object[] | Several delivery windows |
| slot_time_mode | string | |
| requested_vehicle | 1_pll | 4_pll | 8_pll | 16_pll | 33_pll | van | rigid_truck | artic_truck | semi_trailer | megatrailer | koeletrailer | citytrailer | gardin_trailer | p_trailer | box_trailer | |
| temp_sensitive | none | cooling | freezing | |
| express | boolean | |
| remarks | string | Free text for the carrier |
| loading_requirements | string | Free text, e.g. "Side loading" |
| requires_tailgate_pickup | boolean | |
| requires_tailgate_delivery | boolean | |
| pickup_ref | string | |
| delivery_ref | string | |
| incoterms | string | E.g. DAP, EXW |
| recipient_company | string | Max 200 characters |
| sender_company | string | Sender on CMR and label if it is not you (1-200 characters) |
| pickup_opening_hours | string | Max 200 |
| delivery_opening_hours | string | Max 200 |
| pickup_call_ahead | boolean | |
| delivery_call_ahead | boolean | |
| pickup_access | rampe | truck | kran | kun_mindre_bil[] | |
| delivery_access | rampe | truck | kran | kun_mindre_bil[] | |
| pickup_contact | object | Contact on site. Only shown to the carrier that is assigned the load. |
| delivery_contact | object | Contact on site. Only shown to the carrier that is assigned the load. |
| max_all_in_price_dkk | number | Your ceiling for the total price, ex. VAT |
| target_price_dkk | number | Your target total price, ex. VAT |
| contract_bypass | boolean | Skip your contract rates and send the load to the marketplace |
| contract_pallet_type | PLL | PKK | CLL | Contract category, derived from pallet_breakdown when omitted |
| transport_mode | road | air | sea | Default "road" |
| dangerous_goods | boolean | Dangerous goods. Adds "adr" to required_certifications. |
| adr_class | string | |
| un_number | string | 4-digit UN number, e.g. "1203" or "UN 1203". Requires dangerous_goods. |
| adr_packing_group | I | II | III | Requires dangerous_goods |
| required_certifications | adr | gmp_plus | food_safety | iso_9001 | iso_14001 | iso_45001 | aeo | danske_speditorer | nsab_2015 | other[] | Certifications the carrier must hold |
| requires_clean_vehicle | boolean | |
| requires_feed_approved_vehicle | boolean | |
| intermediate_stops | object[] | Road only, at most 20 |
| pickup_type | door | port | airport | Air/sea: "door" or the terminal ("port" for sea, "airport" for air) |
| delivery_type | door | port | airport | Air/sea: "door" or the terminal |
| pol | string | Air/sea: port/airport of loading. UN/LOCODE (e.g. DKAAR), "ANY" (forwarder chooses) or free text up to 80 characters |
| pod | string | Air/sea: port/airport of discharge, same format as pol |
| shipping_type | FCL | LCL | Sea only |
| container_size | 20ft | 40ft | 40hc | 45ft | 20ft_reefer | 40ft_reefer | Sea FCL only |
| container_count | integer | |
| cbm | number | Air/sea volume in m³ |
| hs_code | string | Customs tariff number |
| country_of_origin | string | ISO 3166-1 alpha-2 |
| importer_name | string | |
| customs_help_needed | boolean | |
| neutral_address | string | Neutral shipment: the address shown as sender instead of yours. Not combined with sender_company. |
| insurance_requested | boolean | Cargo insurance |
| declared_value_dkk | number | Goods value for the insurance. Only with insurance_requested. |
Eksempler
curl -X POST https://api.nordify.app/api-loads \
-H "X-API-Key: $NORDIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from_address":"Industrivej 10, 2630 Taastrup, Denmark","to_address":"Havnevej 5, 5000 Odense, Denmark","weight_kg":400,"volume_m3":2.5,"pallets":1,"goods_type":"PLL","pallet_breakdown":[{"type":"hel","count":1,"dimensions":{"length":120,"width":80,"height":135}}],"delivery_option":"interval","pickup_earliest":"2026-12-01T08:00:00+01:00","pickup_latest":"2026-12-01T10:00:00+01:00","delivery_start":"2026-12-01T12:00:00+01:00","delivery_end":"2026-12-01T16:00:00+01:00","requested_vehicle":"rigid_truck","requires_tailgate_delivery":true,"recipient_company":"Odense Elektronik A/S","delivery_contact":{"name":"Mette","phone":"+45 87 65 43 21","site_notes":"Gate 3"},"delivery_ref":"DO-2026-042","max_all_in_price_dkk":5000}'Fejl
Alle fejl har samme form. Brug error i jeres kode; message er til mennesker og kan ændre sig. field nævner feltet, når ét felt er forkert.
{ "error": "invalid_value", "message": "requested_vehicle must be one of: ...", "field": "requested_vehicle" }| Kode | Betydning |
|---|---|
| invalid_request | The request is not valid. |
| invalid_value | A field has a value that is not allowed. |
| missing_fields | One or more required fields are missing. |
| address_incomplete | An address is missing a street, postcode or city. |
| invalid_sender_company | sender_company is not valid. |
| invalid_stop_details | An intermediate stop is not valid. |
| validation_error | The request did not pass validation. |
| invalid_lane_rule | The lane rule is not valid. |
| invalid_path | The path is not valid for this endpoint. |
| invalid_document_type | Unknown document type. |
| invalid_events | One or more webhook events are unknown. |
| invalid_webhook_url | The webhook URL is not allowed. |
| invalid_rating | Rating must be a number between 1 and 5. |
| no_valid_fields | No fields that can be updated were sent. |
| missing_api_key | Missing API key. Send it in the X-API-Key header. |
| invalid_api_key | The API key is invalid or inactive. |
| api_key_expired | The API key has expired. |
| unauthorized | Not authenticated. |
| forbidden | You do not have access to this resource. |
| customer_edit_locked | These settings are managed by Nordify for your account. |
| autopilot_not_enabled | Autopilot is not enabled for this account. |
| not_found | Not found. |
| no_assignment | The load has no carrier assigned yet. |
| document_not_ready | The document is not available yet. |
| method_not_allowed | Method not allowed on this path. |
| invalid_load_status | The load is not in a status that allows this. |
| invalid_bid_status | The bid is not in a status that allows this. |
| already_rated | You have already rated this load. |
| conflict | The request conflicts with the current state. |
| rate_limited | Rate limit exceeded. Try again later. |
| too_many_failed_attempts | Too many failed authentication attempts. Try again later. |
| estimation_failed | Could not compute a price estimate. |
| update_failed | The update could not be saved. |
| internal_error | Something went wrong on our side. Try again, or contact support. |
Grænser
Standard er 1.000 kald i timen pr. nøgle (se headerne X-RateLimit-Limit og X-RateLimit-Remaining). For mange kald med forkert nøgle spærrer IP'en i 15 minutter. Højst 15 annulleringer pr. 7 dage pr. konto. Over en grænse får I 429 rate_limited.
Webhooks
Hver levering er signeret. X-Webhook-Signature er hex HMAC-SHA256 af den rå krop med jeres secret. Webhooks bærer aldrig beløb eller vognmandens id; hent dem med GET /api-loads/{id}.
Hændelser
load.createdload.assignedload.in_transitload.deliveredload.cancelledload.closedload.deletedbid.createdbid.acceptedconst crypto = require('crypto');
app.post('/webhook', express.raw({type: 'application/json'}), (req, res) => {
const signature = req.headers['x-webhook-signature'];
const secret = process.env.WEBHOOK_SECRET; // Example only — set this in your server environment
const expected = crypto
.createHmac('sha256', secret)
.update(req.body)
.digest('hex');
if (signature !== expected) {
return res.status(401).send('Invalid signature');
}
const payload = JSON.parse(req.body);
// Behandl webhook...
res.sendStatus(200);
});Ændringslog
2026-11-27
- API-reference på nordify.app/developers/reference: alle endpoints med parametre, krop, eksempelsvar og "Prøv det" til læsende kald.
2026-11-26
- Ensartede fejl: alle fejl er { "error": "<kode>", "message", "field"? }. Koderne står i OpenAPI-filen.
- OpenAPI 3.1-fil på nordify.app/openapi.json og en offentlig udviklerside.
- Nye felter på POST /api-loads, som i "Opret transport": farligt gods (un_number, adr_packing_group), required_certifications, rengjort/fodergodkendt bil, mellemstop, sø- og luftfragt, neutral forsendelse og fragtforsikring.
- Tider med offset gemmes nu korrekt som dansk tid (de lå en time for tidligt).
- Faste værdilister for køretøj, temperatur, leveringsvalg, godsform og palletype: ukendte værdier giver 400 invalid_value.
- from_city/to_city udledes af adressen. Webhooken load.closed kan vælges.
- Svar og webhooks indeholder aldrig gebyrer, vognmandens beløb eller vognmandens telefonnummer.