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

  1. Opret en gratis kundekonto, og opret så en API-nøgle under Indstillinger → Integration.
  2. 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}'
  3. 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

FeltType
from_address(påkrævet)stringStreet, postcode, city and country
to_address(påkrævet)stringStreet, postcode, city and country
from_postalstringPostcode used for contract matching (optional, otherwise read from the address)
to_postalstringPostcode used for contract matching
from_countrystringISO 3166-1 alpha-2
to_countrystringISO 3166-1 alpha-2
from_latnumber
from_lngnumber
to_latnumber
to_lngnumber
weight_kg(påkrævet)numberTotal weight in kg
volume_m3(påkrævet)numberTotal volume in m³
palletsnumberNumber of pallet places
pallet_breakdownobject[]Pallets by type and size
goods_typePLL | PKK | CLLGoods form: PLL pallets, PKK parcels, CLL loose cargo (case-insensitive)
goods_descriptionstringWhat the goods are
package_countinteger
delivery_option(påkrævet)interval | fixed | flexible
pickup_earlieststringTime 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_lateststringTime 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_startstringTime 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_endstringTime 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_fixedstringTime 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_windowsobject[]Several delivery windows
slot_time_modestring
requested_vehicle1_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_sensitivenone | cooling | freezing
expressboolean
remarksstringFree text for the carrier
loading_requirementsstringFree text, e.g. "Side loading"
requires_tailgate_pickupboolean
requires_tailgate_deliveryboolean
pickup_refstring
delivery_refstring
incotermsstringE.g. DAP, EXW
recipient_companystringMax 200 characters
sender_companystringSender on CMR and label if it is not you (1-200 characters)
pickup_opening_hoursstringMax 200
delivery_opening_hoursstringMax 200
pickup_call_aheadboolean
delivery_call_aheadboolean
pickup_accessrampe | truck | kran | kun_mindre_bil[]
delivery_accessrampe | truck | kran | kun_mindre_bil[]
pickup_contactobjectContact on site. Only shown to the carrier that is assigned the load.
delivery_contactobjectContact on site. Only shown to the carrier that is assigned the load.
max_all_in_price_dkknumberYour ceiling for the total price, ex. VAT
target_price_dkknumberYour target total price, ex. VAT
contract_bypassbooleanSkip your contract rates and send the load to the marketplace
contract_pallet_typePLL | PKK | CLLContract category, derived from pallet_breakdown when omitted
transport_moderoad | air | seaDefault "road"
dangerous_goodsbooleanDangerous goods. Adds "adr" to required_certifications.
adr_classstring
un_numberstring4-digit UN number, e.g. "1203" or "UN 1203". Requires dangerous_goods.
adr_packing_groupI | II | IIIRequires dangerous_goods
required_certificationsadr | gmp_plus | food_safety | iso_9001 | iso_14001 | iso_45001 | aeo | danske_speditorer | nsab_2015 | other[]Certifications the carrier must hold
requires_clean_vehicleboolean
requires_feed_approved_vehicleboolean
intermediate_stopsobject[]Road only, at most 20
pickup_typedoor | port | airportAir/sea: "door" or the terminal ("port" for sea, "airport" for air)
delivery_typedoor | port | airportAir/sea: "door" or the terminal
polstringAir/sea: port/airport of loading. UN/LOCODE (e.g. DKAAR), "ANY" (forwarder chooses) or free text up to 80 characters
podstringAir/sea: port/airport of discharge, same format as pol
shipping_typeFCL | LCLSea only
container_size20ft | 40ft | 40hc | 45ft | 20ft_reefer | 40ft_reeferSea FCL only
container_countinteger
cbmnumberAir/sea volume in m³
hs_codestringCustoms tariff number
country_of_originstringISO 3166-1 alpha-2
importer_namestring
customs_help_neededboolean
neutral_addressstringNeutral shipment: the address shown as sender instead of yours. Not combined with sender_company.
insurance_requestedbooleanCargo insurance
declared_value_dkknumberGoods 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" }
KodeBetydning
invalid_requestThe request is not valid.
invalid_valueA field has a value that is not allowed.
missing_fieldsOne or more required fields are missing.
address_incompleteAn address is missing a street, postcode or city.
invalid_sender_companysender_company is not valid.
invalid_stop_detailsAn intermediate stop is not valid.
validation_errorThe request did not pass validation.
invalid_lane_ruleThe lane rule is not valid.
invalid_pathThe path is not valid for this endpoint.
invalid_document_typeUnknown document type.
invalid_eventsOne or more webhook events are unknown.
invalid_webhook_urlThe webhook URL is not allowed.
invalid_ratingRating must be a number between 1 and 5.
no_valid_fieldsNo fields that can be updated were sent.
missing_api_keyMissing API key. Send it in the X-API-Key header.
invalid_api_keyThe API key is invalid or inactive.
api_key_expiredThe API key has expired.
unauthorizedNot authenticated.
forbiddenYou do not have access to this resource.
customer_edit_lockedThese settings are managed by Nordify for your account.
autopilot_not_enabledAutopilot is not enabled for this account.
not_foundNot found.
no_assignmentThe load has no carrier assigned yet.
document_not_readyThe document is not available yet.
method_not_allowedMethod not allowed on this path.
invalid_load_statusThe load is not in a status that allows this.
invalid_bid_statusThe bid is not in a status that allows this.
already_ratedYou have already rated this load.
conflictThe request conflicts with the current state.
rate_limitedRate limit exceeded. Try again later.
too_many_failed_attemptsToo many failed authentication attempts. Try again later.
estimation_failedCould not compute a price estimate.
update_failedThe update could not be saved.
internal_errorSomething 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.accepted
const 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.