VesselFinder AIS API Documentation

ExpectedArrivals

Description

The ExpectedArrivals method returns AIS data, with optional Voyage and Master datasets, for all vessels expected at a port within a given period. A vessel is included when the port is entered as destination in its AIS transponder.

DatasetContentCredits
AISCoordinates, course, speed, heading, current draught, destination, ETA and static vessel data5
VoyageLast port/country and time of departure1
MasterIMO, name, flag, type, year of build, builder, owner / manager, classification society, dimensions, maximum draught, gross tonnage, net tonnage, deadweight, TEU, crude and gas capacity2

URL format

https://api.vesselfinder.com/expectedarrivals?userkey=YOUR_API_KEY&param=value&…

Parameters

ParameterRequiredTypeDefaultDescription
userkeyyestext-Your personal API key
formatnotextjsonResponse format json or xml
extradatanotext-Additional datasets: voyage, master or both: voyage,master
limitnointeger-Maximum number of returned records
intervalyes*integer-Time interval (minutes) in the future to check for expected arrivals
fromdateyes*datetime-Start of the period, UTC (YYYY-MM-DD HH:MM:SS)
todateyes*datetime-End of the period, UTC (YYYY-MM-DD HH:MM:SS)
locodeyestext-UN/LOCODE of the port
aistypenolist of integers-List of vessel types, see AIS Ship Types (e.g. 70,80)

(*) The request must specify a time span with either interval or fromdate and todate.

Code examples

curl "https://api.vesselfinder.com/expectedarrivals?userkey=YOUR_API_KEY&interval=1440&locode=BGVAR"

Examples

Vessels expected in the next 24 hours

GET https://api.vesselfinder.com/expectedarrivals?userkey=YOUR_API_KEY&interval=1440&locode=BGVAR
[
    {
        "AIS": {
            "MMSI": 636092343,
            "TIMESTAMP": "2017-08-16 13:02:17 UTC",
            "LATITUDE": 40.79601,
            "LONGITUDE": 28.89114,
            "COURSE": 138.5,
            "SPEED": 0.4,
            "HEADING": 135,
            "NAVSTAT": 1,
            "IMO": 9407469,
            "NAME": "ANNA-MARIA",
            "CALLSIGN": "D5AS7",
            "TYPE": 70,
            "A": 162,
            "B": 28,
            "C": 21,
            "D": 11,
            "DRAUGHT": 6.5,
            "DESTINATION": "VARNA",
            "LOCODE": "BGVAR",
            "ETA_AIS": "08-16 14:00",
            "ETA": "2017-08-16 14:00:00",
            "SRC": "TER",
            "ZONE": "Black Sea",
            "ECA": false
        }
    },
    {
        "AIS": {
            "MMSI": 271001057,
            "TIMESTAMP": "2017-08-16 13:06:41 UTC",
            "LATITUDE": 43.0857,
            "LONGITUDE": 27.95016,
            "COURSE": 160.0,
            "SPEED": 0.5,
            "HEADING": 73,
            "NAVSTAT": 1,
            "IMO": 9126742,
            "NAME": "ROZA A",
            "CALLSIGN": "TCRB7",
            "TYPE": 71,
            "A": 138,
            "B": 30,
            "C": 10,
            "D": 10,
            "DRAUGHT": 7.5,
            "DESTINATION": "BGVAR",
            "LOCODE": "BGVAR",
            "ETA_AIS": "08-16 15:00",
            "ETA": "2017-08-16 15:00:00",
            "SRC": "TER",
            "ZONE": "Black Sea",
            "ECA": false
        }
    }
]

With Voyage and Master datasets

GET https://api.vesselfinder.com/expectedarrivals?userkey=YOUR_API_KEY&extradata=voyage,master&interval=1440&locode=BGVAR
[
    {
        "AIS": {
            "MMSI": 636092343,
            "TIMESTAMP": "2017-08-16 13:09:20 UTC",
            "LATITUDE": 40.79497,
            "LONGITUDE": 28.89261,
            "COURSE": 152.0,
            "SPEED": 0.9,
            "HEADING": 162,
            "NAVSTAT": 1,
            "IMO": 9407469,
            "NAME": "ANNA-MARIA",
            "CALLSIGN": "D5AS7",
            "TYPE": 70,
            "A": 162,
            "B": 28,
            "C": 21,
            "D": 11,
            "DRAUGHT": 6.5,
            "DESTINATION": "VARNA",
            "LOCODE": "BGVAR",
            "ETA_AIS": "08-16 14:00",
            "ETA": "2017-08-16 14:00:00",
            "SRC": "TER",
            "ZONE": "Black Sea",
            "ECA": false
        },
        "MASTERDATA": {
            "IMO": 9407469,
            "NAME": "ANNA-MARIA",
            "FLAG": "LR",
            "TYPE": "Bulk Carrier",
            "BUILT": 2007,
            "BUILDER": "KAWASAKI",
            "OWNER": "ANNA-MARIA SCHIFFAHRTS",
            "MANAGER": "BLUMENTHAL JMK GMBH & CO KG",
            "CLASS": "NIPPON KAIJI KYOKAI",
            "LENGTH": 189.9,
            "BEAM": 32.3,
            "MAXDRAUGHT": 13.0,
            "GT": 30811,
            "NT": 18205,
            "DWT": 55473,
            "TEU": 0,
            "CRUDE": 0,
            "GAS": 0
        },
        "VOYAGE": {
            "LOCODE": "BR002",
            "DEPARTURE": "2017-06-10 15:20:10 UTC",
            "LASTPORT": "Santos Anchorage",
            "LASTCOUNTRY": "Brazil"
        }
    },
    {
        "AIS": {
            "MMSI": 271001057,
            "TIMESTAMP": "2017-08-16 13:09:40 UTC",
            "LATITUDE": 43.08535,
            "LONGITUDE": 27.95031,
            "COURSE": 166.0,
            "SPEED": 0.2,
            "HEADING": 54,
            "NAVSTAT": 1,
            "IMO": 9126742,
            "NAME": "ROZA A",
            "CALLSIGN": "TCRB7",
            "TYPE": 71,
            "A": 138,
            "B": 30,
            "C": 10,
            "D": 10,
            "DRAUGHT": 7.5,
            "DESTINATION": "BGVAR",
            "LOCODE": "BGVAR",
            "ETA_AIS": "08-16 15:00",
            "ETA": "2017-08-16 15:00:00",
            "SRC": "TER",
            "ZONE": "Black Sea",
            "ECA": false
        },
        "MASTERDATA": {
            "IMO": 9126742,
            "NAME": "ROZA A",
            "FLAG": "TR",
            "TYPE": "Container Ship",
            "BUILT": 1997,
            "BUILDER": "CHINA SB CORP",
            "OWNER": "LIMAR LIMAN",
            "MANAGER": "ARKAS DENIZCILIK VE NAKLIYAT",
            "CLASS": "AMERICAN BUREAU OF SHIPPING",
            "LENGTH": 168.8,
            "BEAM": 27.3,
            "MAXDRAUGHT": 13.5,
            "GT": 15120,
            "NT": 6764,
            "DWT": 19325,
            "TEU": 1439,
            "CRUDE": 0,
            "GAS": 0
        },
        "VOYAGE": {
            "LOCODE": "TRAMB",
            "DEPARTURE": "2017-08-15 12:05:56 UTC",
            "LASTPORT": "Ambarli",
            "LASTCOUNTRY": "Turkey"
        }
    }
]