There are many ways to track vessels and collect marine data. Automatic Identification System collects transmits data which later is collected, processed and stored in the databases. You can access those marine databases via API.