Ship history (API key)
vessel_trackWhere a ship has been between two times (UTC, ISO 8601), from the AIS Trail archive. Needs an AIS Trail API key sent by the MCP client as the HTTP header 'Authorization: Bearer ap_live_…' (keys at https://aistrail.com); clients that cannot add headers (OAuth-only web connectors) cannot use it yet. Resolution: raw (up to 24 h per call), 1m (up to 7 days) or 1h (up to 366 days); at most 200 points per call, as rows of [time, lat, lon, speed_kn, course_deg]. The plan's history depth, credits (as on the track endpoint: 1 per vessel-day) and rate limit apply, and the 24-hour delay on recent data on plans without live data. sources_through gives, per source, the time up to which the archive holds its data; pending_days lists days in the range a source has not delivered yet, so no points on those days does not mean the ship was absent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End, e.g. 2026-10-02T00:00:00Z | |
| from | Yes | Start, e.g. 2026-10-01T00:00:00Z | |
| mmsi | Yes | ||
| resolution | No | 1m |