{
  "x402Version": 2,
  "id": 30585,
  "slug": "30585",
  "resource": "https://aisfleet.com/api/x402/v1/ais/vessels/:mmsi/port-calls",
  "description": "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.",
  "type": "http",
  "serviceName": "AIS Fleet",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa4b5056e8260d49213e64c081b504c8535c14bc4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {
            "mmsi": "232066816"
          },
          "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"
      }
    }
  },
  "tags": [
    "ais",
    "vessel",
    "port",
    "port-calls",
    "maritime",
    "bazaar"
  ],
  "sourceHost": "aisfleet.com",
  "lastUpdated": "2026-09-21T07:03:03.295Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-21T07:03:02.433Z"
  },
  "metadata": {
    "serviceName": "AIS Fleet",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "pathParams": {
              "mmsi": "232066816"
            },
            "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "aisfleet.com",
    "manifest_name": "aisfleet.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "call_count": 0,
      "calls": [
        {
          "arrival_estimated": true,
          "arrived_at": "2026-01-01T00:00:00Z",
          "country": "string",
          "departed_at": "2026-01-01T00:00:00Z",
          "departure_estimated": true,
          "duration_seconds": 0,
          "locode": "string",
          "port_name": "string"
        }
      ],
      "coverage_start": "2026-01-01T00:00:00Z",
      "current_port": {
        "arrival_estimated": true,
        "arrived_at": "2026-01-01T00:00:00Z",
        "country": "string",
        "locode": "string",
        "port_name": "string"
      },
      "license_url": "https://example.com",
      "mmsi": "string",
      "provider": "string",
      "truncated": true,
      "window_days": 0,
      "window_end": "2026-01-01T00:00:00Z",
      "window_start": "2026-01-01T00:00:00Z"
    },
    "type": "string"
  }
}