$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "id": "port-la",
< "port": "Los Angeles",
< "region": "US West",
< "dwellHours": 86,
< "vesselsWaiting": 14,
< "throughputIndex": 71,
< "containersDelayed": 4200,
< "date": "2026-09-23"
< },
< {
< "id": "port-sg",
< "port": "Singapore",
< "region": "SEA",
< "dwellHours": 42,
< "vesselsWaiting": 8,
< "throughputIndex": 84,
< "containersDelayed": 1600,
< "date": "2026-09-23"
< },
< {
< "id": "port-rtm",
< "port": "Rotterdam",
< "region": "EU",
< "dwellHours": 31,
< "vesselsWaiting": 5,
< "throughputIndex": 91,
< "containersDelayed": 900,
< "date": "2026-09-23"
< }
< ],
< "previousItems": [
< {
< "id": "port-la",
< "port": "Los Angeles",
< "region": "US West",
< "dwellHours": 54,
< "vesselsWaiting": 7,
< "throughputIndex": 83,
< "containersDelayed": 2100,
< "date": "2026-09-16"
< },
< {
< "id": "port-sg",
< "port": "Singapore",
< "region": "SEA",
< "dwellHours": 39,
< "vesselsWaiting": 7,
< "throughputIndex": 85,
< "containersDelayed": 1450,
< "date": "2026-09-16"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~port-congestion-change-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'