Get the vessels currently in a UN/LOCODE port as JSON
aisfleet.com/api/x402/v1/ais/ports/:locode/vessels
Get the vessels currently in a UN/LOCODE port as JSON: MMSI, name and arrival time of every vessel the AIS Fleet network observes there now, with a total count.
GET
https://aisfleet.com/api/x402/v1/ais/ports/:locode/vesselsUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://aisfleet.com/api/x402/v1/ais/ports/:locode/vessels");
console.log(await res.json());More from AIS FleetProvider status
- aisfleet.com/api/x402/v1/ais/ports/:locode/intelligence-monthGet every privacy-eligible vessel visit at one UN/LOCODE whose arrival falls in the 1-calendar-month period selected by required start=YYYY-MM-01. Includes per-vessel visit counts, arrivals, departures, stay durations, identity and dimensions, monthly sections, quality flags and observed dwell statistics. Only complete periods with full capture coverage are sold, and a sold report is delivered who1.00
- aisfleet.com/api/x402/v1/ais/vessels/:mmsi/port-callsGet the UN/LOCODE port calls of the last 30 days for a 9-digit MMSI as JSON: arrivals, departures, estimated flags, and the port the vessel is in now. Boundaries not directly observed are flagged estimated, and the response names when capture coverage began.0.02
- aisfleet.com/api/x402/v1/ais/vessels/:mmsi/positionGet the latest available AIS Fleet vessel position for a 9-digit MMSI, observed within the prior six hours. The response includes observation time, age, and speed/course over ground when the observation reported them.0.01
- aisfleet.com/api/x402/v1/ais/vessels/:mmsi/track-24hGet the AIS track of the last 24 hours for a 9-digit MMSI as JSON: up to 1000 evenly sampled fixes with time, position and speed, ending at the newest fix. Sold only for vessels the AIS Fleet network currently observes; gaps between fixes mean no reception, never interpolation.0.05
- aisfleet.com/api/x402/v1/ais/vessels/:mmsi/track-30dGet the AIS track of the last 30 days for a 9-digit MMSI as JSON: up to 1000 evenly sampled fixes with time, position and speed, ending at the newest fix. Sold only for vessels the AIS Fleet network currently observes; gaps between fixes mean no reception, never interpolation.0.50
- aisfleet.com/api/x402/v1/ais/vessels/:mmsi/track-7dGet the AIS track of the last 7 days for a 9-digit MMSI as JSON: up to 1000 evenly sampled fixes with time, position and speed, ending at the newest fix. Sold only for vessels the AIS Fleet network currently observes; gaps between fixes mean no reception, never interpolation.0.15
- aisfleet.com/api/x402/v1/weather/stations/:network/:code/dayGet every wind reading one fixed weather station reported on one complete past UTC day (day=YYYY-MM-DD, within the last 29 days) as JSON: time, mean speed, gust and direction, in knots and degrees true. The station is its network (icao, wmo or ndbc) and code, e.g. icao/KSFO; the free marine offer lists the stations near a point.0.02
