GET /api/ports
Container and cargo volume data for US ports. Includes TEU throughput, year-over-year trends, and vessel calls.
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
port_slug | string | ✓ | Port slug (e.g. la-lb, savannah, houston, newark, oakland). | |
months | int | 12 | Months of historical data. |
| Field | Type | Description |
|---|---|---|
latest_teu | int | Most recent month’s TEU (twenty-foot equivalent unit) volume. |
yoy_change_pct | float | Year-over-year percentage change. |
monthly | array | Monthly volume breakdown. |
monthly[].vessel_calls | int | Number of vessel arrivals that month. |
GET /api/construction
Satellite-detected construction activity in a metro. Uses change detection on Sentinel-2 imagery to identify active sites.
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
metro_slug | string | ✓ | Metro slug. | |
days | int | 30 | Lookback window in days. | |
min_area_sqft | int | 5000 | Minimum detected site area in sq ft. |
| Field | Type | Description |
|---|---|---|
total_detections | int | Number of detected active construction sites. |
detections[].estimated_area_sqft | int | Estimated site footprint in square feet. |
detections[].confidence | float | Detection confidence score (0-1). |
detections[].nearest_permit_id | string | Cross-referenced building permit if matched. |