Global vessel density at H3 resolution 8 (~0.74 km² per cell), bucketed by day and vessel type. The underlying matview is sourced fromDocumentation Index
Fetch the complete documentation index at: https://docs.axiomancer.io/llms.txt
Use this file to discover all available pages before exploring further.
ais_positions joined to vessels.vessel_type, with per-IMO-per-hour bucketing so that vessels broadcasting every 10 seconds don’t drown out vessels broadcasting hourly.
The matview holds a rolling 30-day window and is refreshed nightly at 02:00 UTC, after the previous day’s bucket has closed. Use GET /api/v1/density to render heatmaps, identify traffic corridors, or surface where a given vessel class is concentrated on a specific day.
GET /api/v1/density
H3 cells with vessel density for a given vessel type and day, ordered by positions_count descending.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Vessel type filter. Default bulk_carrier. Pass all to aggregate across types. Common values: bulk_carrier, tanker, container, lng_carrier, chemical_tanker, general_cargo, cargo, passenger, fishing, service, other | |
day | string | ISO date (YYYY-MM-DD). Defaults to yesterday in UTC — the most recent closed-day bucket the matview will have populated | |
limit | number | Cells per response. Clamped to your tier limit |
h3_index— H3 resolution-8 cell ID (~0.74 km²)positions_count— distinct per-IMO-per-hour position records that fell in this cell on this dayunique_vessels— distinct IMOs that pinged inside this cell on this day
Freshness
Every response reflects the matview as of its most recent successful refresh. The dashboard surface at/dashboard/density displays the last refresh timestamp and status (ok or otherwise) sourced from the derived_views_freshness ledger. If you need to programmatically detect a stale matview before consuming density data, request a recent day and check that count is non-zero.
If the latest scheduled refresh failed, the most recent closed day may not yet be queryable — fall back to the prior day until the ledger reports ok.