AIS
GET /udl/ais
Changed onService operation to dynamically query data by a variety of query parameters not specified in this API documentation. See the queryhelp operation (/udl/<datatype>/queryhelp) for more details on valid/required query parameter information.
Request
- Base URLhttps://unifieddatalibrary.com
- URLhttps://unifieddatalibrary.com/udl/ais
- Authnone declared
Query parameters
tsstring date-time required
The timestamp that the vessel position was recorded, in ISO 8601 UTC format. (YYYY-MM-DDTHH:MM:SS.ssssssZ)
firstResultinteger
maxResultsinteger
Response
OK
Example response
[
{
"id": "AIS-ID",
"classificationMarking": "U",
"idTrack": "TRACK-ID",
"idVessel": "VESSEL-ID",
"mmsi": 304010417,
"imon": 9015462,
"ts": "2021-02-25T12:00:00.123456Z",
"shipName": "DORNUM",
"shipType": "Passenger",
"engagedIn": "Cargo",
"specialCraft": "Tug",
"cargoType": "Freight",
"callSign": "V2OZ",
"vesselFlag": "United States",
"lat": 47.758499,
"lon": -5.154223,
"posHiAccuracy": true,
"posHiLatency": true,
"speed": 10.5,
"trueHeading": 329.1,
"course": 157.1,
"rateOfTurn": 22.1,
"navStatus": "Underway Using Engine",
"posDeviceType": "GPS",
"antennaRefDimensions": [
50.1,
50.1,
20.1,
20.1
],
"length": 511.1,
"width": 24.1,
"draught": 21.1,
"shipDescription": "Search and rescue vessels",
"destination": "USCLE",
"destinationETA": "2021-02-25T12:00:00.123456Z",
"currentPortGUID": "0ABC",
"currentPortLOCODE": "XF013",
"lastPortGUID": "0VAX",
"lastPortLOCODE": "USSKY",
"nextPortGUID": "0Z8Q",
"nextPortLOCODE": "USCLE",
"etaCalculated": "2021-02-25T12:00:00.123456Z",
"etaUpdated": "2021-02-25T12:00:00.123456Z",
"distanceToGo": 150.5,
"distanceTravelled": 200.3,
"avgSpeed": 12.1,
"maxSpeed": 13.3,
"createdAt": "2018-01-01T16:00:00.123Z",
"createdBy": "some.user",
"source": "Bluestaq",
"sourceDL": "AXE",
"origin": "THIRD_PARTY_DATASOURCE",
"dataMode": "TEST",
"origNetwork": "OPS1"
}
]Changes
- info
added the new optional
queryrequest parameterfirstResult - info
added the new optional
queryrequest parametermaxResults
- info
- info
api operation id
findAllremoved and replaced with - info
the endpoint scheme security
BasicAuthwas removed from the API
- info
Some revisions have not been checked yet.