MarineTraffic API
marinetraffic.com
MarineTraffic - vessel tracking with ship search, AIS positions, voyages, and ports.
- Actions
- 8
- Category
- Maritime
- Login
- Not required
- Output
- JSON
Call the MarineTraffic API
Submit a task, then poll the job until it settles. This example runs act_marinetraffic_live_map_ais_tile.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_marinetraffic_live_map_ais_tile",
"params": {
"zoom": "4",
"tile_x": "3",
"tile_y": "3"
}
}'8 actions on marinetraffic.com
Read
Live Map AIS Tile
act_marinetraffic_live_map_ais_tileread2 credits / callReturns AIS vessel rows for a map tile with positions, speed, and ship IDs.
- zoom
- string · required
- tile_x
- string · required
- tile_y
- string · required
Vessel AIS Position
act_marinetraffic_vessel_position_aisread1 credit / callReturns a vessel's current AIS position, speed, course, and status by ship ID.
- ship_id
- string · required
Vessel Metadata
act_marinetraffic_vessel_metadataread1 credit / callReturns vessel particulars including IMO, MMSI, flag, dimensions, and type.
- ship_id
- string · required
Vessel Photo Gallery
act_marinetraffic_vessel_photo_galleryread1 credit / callReturns a vessel's photo count and gallery image URLs by ship ID.
- ship_id
- string · required
- photo_query_type
- string
Vessel Related Companies
act_marinetraffic_vessel_related_companiesread1 credit / callReturns maritime companies linked to a vessel's destination and nearby ports.
- ship_id
- string · required
Vessel Search Autocomplete
act_marinetraffic_vessel_search_autocompleteread1 credit / callReturns vessels and ports matching a query with ship IDs, names, and MMSI.
- search_term
- string · required
Vessel Summary Narrative
act_marinetraffic_vessel_summary_narrativeread1 credit / callReturns a human-readable position and particulars summary for a vessel.
- ship_id
- string · required
Vessel Voyage ETA
act_marinetraffic_vessel_voyage_etaread1 credit / callReturns a vessel's voyage destination, ETA, ports, and progress by ship ID.
- ship_id
- string · required
MarineTraffic API questions
- Is there an API for MarineTraffic?
- MarineTraffic does not offer a public data API for this, but Anakin Wire provides 8 maintained endpoints for marinetraffic.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape MarineTraffic data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when marinetraffic.com changes its markup, Anakin updates the action.
- Do I need a MarineTraffic account?
- No. Every MarineTraffic action listed here runs anonymously — no account and no credentials required.
- What does the MarineTraffic API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.