Get the UN/LOCODE port calls of the last 30 days for a 9-digit MMSI as JSON: arrivals, dep
Get 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.
20000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-31
updated
Provider
aisfleet.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xa4b5056e8260d49213e64c081b504c8535c14bc4",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"pathParams": {
"mmsi": "259026050"
},
"type": "http"
},
"output": {
"example": {
"call_count": 1,
"calls": [
{
"arrival_estimated": false,
"arrived_at": "2026-08-25T09:12:00Z",
"country": "NL",
"departed_at": null,
"departure_estimated": false,
"duration_seconds": null,
"locode": "NLRTM",
"port_name": "Rotterdam"
}
],
"coverage_start": "2026-08-23T00:00:00Z",
"current_port": {
"arrival_estimated": false,
"arrived_at": "2026-08-25T09:12:00Z",
"country": "NL",
"locode": "NLRTM",
"port_name": "Rotterdam"
},
"license_url": "https://aisfleet.com/agent-data-license/",
"mmsi": "123456789",
"provider": "AIS Fleet",
"truncated": false,
"window_days": 30,
"window_end": "2026-08-25T09:12:00Z",
"window_start": "2026-07-26T09:12:00Z"
},
"type": "json"
}
},
"routeTemplate": "/api/x402/v1/ais/vessels/:mmsi/port-calls",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"const": "GET",
"type": "string"
},
"pathParams": {
"additionalProperties": false,
"properties": {
"mmsi": {
"pattern": "^[0-9]{9}$",
"type": "string"
}
},
"required": [
"mmsi"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"pathParams"
],
"type": "object"
},
"output": {
"additionalProperties": false,
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"call_count": {
"minimum": 1,
"type": "integer"
},
"calls": {
"items": {
"additionalProperties": false,
"properties": {
"arrival_estimated": {
"type": "boolean"
},
"arrived_at": {
"format": "date-time",
"type": "string"
},
"country": {
"type": "string"
},
"departed_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"departure_estimated": {
"type": "boolean"
},
"duration_seconds": {
"type": [
"integer",
"null"
]
},
"locode": {
"type": "string"
},
"port_name": {
"type": "string"
}
},
"required": [
"locode",
"port_name",
"country",
"arrived_at",
"departed_at",
"arrival_estimated",
"departure_estimated",
"duration_seconds"
],
"type": "object"
},
"type": "array"
},
"coverage_start": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"current_port": {
"additionalProperties": false,
"properties": {
"arrival_estimated": {
"type": "boolean"
},
"arrived_at": {
"format": "date-time",
"type": "string"
},
"country": {
"type": "string"
},
"locode": {
"type": "string"
},
"port_name": {
"type": "string"
}
},
"required": [
"locode",
"port_name",
"country",
"arrived_at",
"arrival_estimated"
],
"type": [
"object",
"null"
]
},
"license_url": {
"format": "uri",
"type": "string"
},
"mmsi": {
"pattern": "^[0-9]{9}$",
"type": "string"
},
"provider": {
"const": "AIS Fleet",
"type": "string"
},
"truncated": {
"type": "boolean"
},
"window_days": {
"const": 30,
"type": "integer"
},
"window_end": {
"format": "date-time",
"type": "string"
},
"window_start": {
"format": "date-time",
"type": "string"
}
},
"required": [
"provider",
"mmsi",
"window_days",
"window_start",
"window_end",
"coverage_start",
"current_port",
"calls",
"call_count",
"truncated",
"license_url"
],
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
}
}
}Use it
curl
curl "https://aisfleet.com/api/x402/v1/ais/vessels/:mmsi/port-calls" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://aisfleet.com/api/x402/v1/ais/vessels/:mmsi/port-calls");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://aisfleet.com/api/x402/v1/ais/vessels/:mmsi/port-calls")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5503.json, and this resource appears in /discovery/resources and /discovery/search.