Search vessels by MMSI, IMO, call sign or ship name
GET/vessels/search
- Takes: Name
- Passive: the target is not contacted
Returns matching vessels with their self-reported AIS identity and registry records. Use query for a free-form identifier (at least 3 characters) or where for an advanced search on several fields (AND, OR, =, >=, <; no LIKE); the two cannot be combined. Add includes=OWNERSHIP or AUTHORIZATIONS for owner and authorization history. Page with limit and the since token from the previous response.
Query parameters
datasets[0]Dataset to search. More datasets can be added as datasets[1], and so on.
queryFree-form identifier: MMSI, IMO, call sign or ship name. Minimum 3 characters. Cannot be combined with where.
whereAdvanced search on several identifiers with AND, OR, =, >= and <. Cannot be combined with query.
match-fieldsFilter by match level. Works with query, not with where.
includesExtra information to return
limitNumber of results to return. Maximum 50.
sincePagination token from the previous response
binaryReturn a protocol buffer instead of JSON
Response fields · 12ShowHide
id
GFW vessel ID, used by the vessel and events endpoints
shipname
Ship name as broadcast on AIS
ssvid
MMSI
flag
Flag (ISO3)
callsign
Call sign
registryInfo[]
Registry records: ship name, IMO, call sign, flag, gear types, length, tonnage, transmission dates
registryOwners[]
Owner history: name, flag, source, dates (with includes=OWNERSHIP)
registryPublicAuthorizations[]
Authorization history by source and dates (with includes=AUTHORIZATIONS)
combinedSourcesInfo[]
Gear types, ship types and fishing-list status combined across sources
didYouMean
Suggested alternative matches, by field
since
Token for the next page
total
Total number of matches
curl 'https://gateway.api.globalfishingwatch.org/v3/vessels/search?datasets%5B0%5D=public-global-vessel-identity%3Alatest' \
-H 'Authorization: Bearer YOUR_API_KEY'{
"entries": [
{
"dataset": "public-global-vessel-identity:v20231026",
"registryInfoTotalRecords": 1,
"registryInfo": [
{
"id": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
"shipname": "EXAMPLE STAR",
"ssvid": "000000001",
"imo": "0000001",
"callsign": "XX0000",
"flag": "XXX",
"geartypes": [
"trawlers"
],
"lengthM": 26.4,
"tonnageGt": 121
}
],
"registryOwners": [
{
"name": "EXAMPLE FISHING CO",
"flag": "XXX",
"ssvid": "000000001",
"sourceCode": "EXAMPLE-1",
"dateFrom": "2014-06-30T00:00:00Z",
"dateTo": "2015-09-30T00:00:00Z"
}
],
"selfReportedInfo": [
{
"id": "1234abcd5-6789-ef01-2345-6789abcdef01",
"shipname": "EXAMPLE STAR",
"ssvid": "000000001",
"flag": "XXX",
"callsign": "XX0000",
"sourceCode": [
"AIS"
],
"messagesCounter": 1284,
"positionsCounter": 894
}
]
}
],
"limit": 30,
"metadata": {
"query": "Example Star",
"normalizedQuery": "EXAMPLESTAR"
},
"since": "MTAuNzQ1MDM5LkVYQU1QTEU=",
"total": 1
}