Route Explorer
Route Explorer is the keyboard-first workflow for planning a shipment between any two countries and seeing chokepoint exposure, bypass corridors, land alternatives, and per-country impact — all on top of this maritime layer. See the dedicated Route Explorer page for the full workflow, tab contents, keyboard bindings, and tier gating.Chokepoint Monitoring
The system monitors 13 strategic waterways where disruptions could impact global trade, powered by three data sources: IMF PortWatch (weekly vessel transit counts), AISStream (real-time 24h crossing counter), and CorridorRisk (risk intelligence).
Each chokepoint card shows real-time transit counts (tanker vs cargo), week-over-week change, and an expandable 180-day time-series chart rendered with TradingView lightweight-charts.
Density Analysis
Vessel positions are aggregated into a 2-degree grid to calculate traffic density. Each cell tracks:- Current vessel count
- Historical baseline (30-minute rolling window)
- Change percentage from baseline
Dark Ship Detection
The system monitors for AIS gaps, vessels that stop transmitting their position. An AIS gap exceeding 60 minutes in monitored regions may indicate:- Sanctions evasion (ship-to-ship transfers)
- Illegal fishing
- Military activity
- Equipment failure
Backed by endpoints
WebSocket Architecture
AIS data flows through a WebSocket relay for real-time updates without polling:Railway Relay Architecture
Some APIs block requests from cloud providers (Vercel, AWS, Cloudflare Workers). A Railway relay server provides authenticated access:
Environment Variables (Railway):
AISSTREAM_API_KEY- AIS data accessOPENSKY_CLIENT_ID- OAuth2 client IDOPENSKY_CLIENT_SECRET- OAuth2 client secret
- Residential IP ranges (not blocked like cloud providers)
- WebSocket support for persistent connections
- Global edge deployment for low latency
- Free tier sufficient for moderate traffic
