Shipment list
Read shipment mode, origin, destination, carrier, container or airway-bill reference, current status, ETA and creation time.
Developer platform
The Havnmarq API connects shipment operations and makes public satellite scene coverage discoverable for analysis. Separate keys read organization-linked shipments, append customer-authorized events, or query Sentinel-1 scene metadata around a port reference coordinate. Owners and administrators can also send Havnmarq shipment and exception updates to signed HTTPS webhooks.
GET /api/v1/shipments
curl https://core.havnmarq.com/api/v1/shipments?limit=50 \
-H "Authorization: Bearer $HAVNMARQ_API_KEY"Keys grant one permission, are shown once, hashed at rest, expire after 90 days and can be revoked. Production and preview credentials are separate.
Available now
Organizations can read the shipment records attached to their linked Havnmarq account and submit events from their own systems. Event submission is append-only and does not change shipment master data.
Read shipment mode, origin, destination, carrier, container or airway-bill reference, current status, ETA and creation time.
Fetch up to 100 records per request using an opaque next-page token.
Create up to five active keys, name them by integration, review last use, and revoke access immediately.
Limits of 60 requests per minute per key and 600 per minute per organization, with rate-limit response headers and retry guidance.
Post status events from an authorized ERP, TMS or carrier connection with an external event ID. Duplicate retries are safe; conflicting reuse returns 409.
Each accepted event is tied to its organization, API key, source, external ID and content hash for traceability.
Discover public Copernicus Sentinel-1 GRD scene metadata intersecting a port’s UN/LOCODE reference point. This is imagery availability, not a vessel count or live port activity feed.
Subscribe to shipment events and exception changes, verify HMAC-SHA256 signatures, and inspect delivery attempts with automatic retries.
Satellite scene discovery
Create a key with satellite:scenes:read, then call GET /api/v1/satellite/scenes with an active five-character UN/LOCODE and an optional 1–90 day window (default 30). The response includes acquisition time, Sentinel platform, product type, orbit direction, polarization, catalogue footprint geometry when available, and its bounding box.
Havnmarq queries the public Copernicus Data Space STAC catalogue. Requests are bounded to ten scenes and use a shared five-minute cache to reduce repeated upstream calls. Scene discovery does not download imagery or expose source assets.
Source references: Copernicus STAC documentation ↗ · data terms ↗
curl 'https://core.havnmarq.com/api/v1/satellite/scenes?unlocode=BDCGP&days=30' \
-H "Authorization: Bearer $HAVNMARQ_SATELLITE_KEY"Interpretation boundary
A scene intersecting the UN/LOCODE reference point does not prove the full port boundary was imaged, that vessels were present, or that there was congestion or throughput. Sentinel-1 acquisitions are intermittent observations, not real-time tracking. Havnmarq does not yet publish satellite-derived vessel counts or activity scores through this endpoint.
Access model
Market intelligence
This scene-catalogue endpoint does not expose Eurostat or other market datasets, raw satellite imagery, vessel detections or activity estimates. Any later derived product will require reviewed port boundaries, a validated detection process, scene-level provenance, confidence and quality controls, and source-term approval.
Explore available reports ↗Request reference
Authentication uses a bearer API key. Optional query parameters are limit (1–100, default 50) and page_token (the previous response’s next-page token).
Successful responses include data and meta. Errors use a stable code and message envelope. Responses are not cached.
{
"data": [
{
"id": "…",
"mode": "Sea",
"origin": "Chattogram",
"destination": "Rotterdam",
"carrier": "…",
"container_or_awb_number": "…",
"current_status": "In Transit",
"eta": "2026-12-04",
"created_at": "2026-11-24T09:15:00Z"
}
],
"meta": {
"limit": 50,
"next_page_token": null,
"request_id": "…"
}
}Illustrative schema only. Values are examples; no customer records are shown here.
Event submission
Use a key with shipments:events:write. Send a stable source identifier and external event ID so retries remain safe. The timestamp is the time reported by your source; Havnmarq separately records receipt time.
Only the listed fields are accepted. Values are bounded, future timestamps beyond one day are rejected, and an identical retry returns HTTP 200 with duplicate: true.
curl -X POST https://core.havnmarq.com/api/v1/shipments/$SHIPMENT_ID/events \
-H "Authorization: Bearer $HAVNMARQ_EVENTS_KEY" \
-H "Content-Type: application/json" \
-d '{"source":"customer-tms","external_event_id":"evt-1042","status":"Departed origin terminal","location":"Chattogram","occurred_at":"2026-11-25T08:30:00Z"}'This endpoint records a customer-supplied event. It does not independently verify a carrier or terminal feed.
Webhook receiver
Havnmarq sends shipment event and exception lifecycle updates as signed JSON. Verify the HMAC against the exact raw request body and reject timestamps more than five minutes from your server clock. Do not parse and re-serialize the body before verification.
Havnmarq-Signature: t=<unix_seconds>,v1=<hex_hmac>; HMAC-SHA256 input is timestamp + "." + raw_body.Havnmarq-Delivery-Id; a timeout after your server processes an event may cause a retry.shipment.event.created, shipment.exception.created, and shipment.exception.updated.{
"id": "delivery-uuid",
"type": "shipment.event.created",
"created_at": "2026-11-25T08:31:00Z",
"data": {
"event_id": "event-uuid",
"shipment_id": "shipment-uuid",
"status": "Departed origin terminal",
"location": "Chattogram",
"occurred_at": "2026-11-25T08:30:00Z"
}
}Illustrative payload. Exception events include exception ID, shipment ID, category, severity, current status, title, activity type and occurrence time. Customer systems must still supply or authorize shipment events; a webhook is delivery, not an independent tracking feed.
Next step
Sign in to create credentials, then use the OpenAPI reference to connect your systems.