GET /api/v1/forecasts
Cargo volume forecasts by port and methodology.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
port | string | Port slug | |
method | string | ’pipeline’ | ‘statistical’ | ‘ml’ | |
limit | number | Default 50, max 200 |
GET /api/v1/forecasts/accuracy
Forecast accuracy metrics (MAE, MAPE, directional accuracy).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
port | string | Port slug | |
method | string | Forecast method |
POST /api/v1/predict-destination
Requires API key.
GET /api/v1/destination-reliability to decide whether to trust the vessel’s declared destination or fall back to the model prediction.
Body
| Name | Type | Required | Description |
|---|---|---|---|
mmsi | string | ✓ | Vessel MMSI |
active_h3_sequence | string[] | ✓ | Ordered list of H3 cell indexes the vessel has moved through, oldest first. Up to 256 entries |
draft_current | number | Current reported draft in meters | |
draft_delta | number | Change in draft since start of the sequence, in meters |
GET /api/v1/destination-reliability
Vessel destination declaration reliability scores.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
vessel | string | IMO number | |
tier | string | ’reliable’ | ‘moderate’ | ‘unreliable’ | |
limit | number | Default 100, max 500 |