search_vessels
Search maritime vessels by type, flag, or status. Get JSON with match and returned counts, plus vessel details. Truncated results are clearly indicated.
Instructions
Search the vessel dataset by type, flag state, and/or navigational status.
Any argument left blank is ignored, and surrounding whitespace is ignored. Returns JSON with a "data" block stating the source, a "matches" count of everything that matched, a "returned" count of how many are included, and a "vessels" list. When returned is less than matches the list was capped by the limit argument: raise it or narrow the search to see the rest. When data.source is "snapshot" the positions are from a fixed sample dataset and are not current: say so when answering. Fields that AIS has not reported yet are null, never guessed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | No | Flag state to match, case insensitive and partial, for example Malaysia or Singapore. Leave blank to match any flag. | |
| limit | No | Maximum number of vessels to return, between 1 and 200. The response always reports how many matched, so a truncated answer is visible rather than silent. | |
| status | No | Navigational status to match, case insensitive and partial. Examples: Under way, At anchor, Moored. Leave blank to match any status. | |
| vessel_type | No | Ship category to match, case insensitive and partial. Examples: Tanker, Cargo, Passenger, Tug, Fishing. Leave blank to match any type. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |