{
  "x402Version": 2,
  "id": 30587,
  "slug": "30587",
  "resource": "https://aisfleet.com/api/x402/v1/ais/ports/:locode/vessels",
  "description": "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.",
  "type": "http",
  "serviceName": "AIS Fleet",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa4b5056e8260d49213e64c081b504c8535c14bc4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "500000",
      "amountUsd": 0.5,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "coverage_start": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "license_url": {
            "format": "uri",
            "type": "string"
          },
          "newest_arrival_at": {
            "format": "date-time",
            "type": "string"
          },
          "port": {
            "additionalProperties": false,
            "properties": {
              "country": {
                "type": "string"
              },
              "locode": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "locode",
              "name",
              "country"
            ],
            "type": "object"
          },
          "provider": {
            "const": "AIS Fleet",
            "type": "string"
          },
          "truncated": {
            "type": "boolean"
          },
          "vessel_count": {
            "minimum": 1,
            "type": "integer"
          },
          "vessels": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "arrival_estimated": {
                  "type": "boolean"
                },
                "arrived_at": {
                  "format": "date-time",
                  "type": "string"
                },
                "mmsi": {
                  "pattern": "^[0-9]{9}$",
                  "type": "string"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "mmsi",
                "name",
                "arrived_at",
                "arrival_estimated"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "provider",
          "port",
          "newest_arrival_at",
          "coverage_start",
          "vessels",
          "vessel_count",
          "truncated",
          "license_url"
        ],
        "type": "object"
      },
      "type": {
        "const": "json",
        "type": "string"
      }
    },
    "required": [
      "type",
      "example"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {
            "locode": "NLRTM"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "coverage_start": "2026-08-23T00:00:00Z",
            "license_url": "https://aisfleet.com/agent-data-license/",
            "newest_arrival_at": "2026-08-25T09:12:00Z",
            "port": {
              "country": "NL",
              "locode": "NLRTM",
              "name": "Rotterdam"
            },
            "provider": "AIS Fleet",
            "truncated": false,
            "vessel_count": 1,
            "vessels": [
              {
                "arrival_estimated": false,
                "arrived_at": "2026-08-25T09:12:00Z",
                "mmsi": "123456789",
                "name": "EXAMPLE TRADER"
              }
            ]
          },
          "type": "json"
        }
      },
      "routeTemplate": "/api/x402/v1/ais/ports/:locode/vessels",
      "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": {
                  "locode": {
                    "pattern": "^[A-Za-z0-9]{5}$",
                    "type": "string"
                  }
                },
                "required": [
                  "locode"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "pathParams"
            ],
            "type": "object"
          },
          "output": {
            "additionalProperties": false,
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "coverage_start": {
                    "format": "date-time",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "license_url": {
                    "format": "uri",
                    "type": "string"
                  },
                  "newest_arrival_at": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "port": {
                    "additionalProperties": false,
                    "properties": {
                      "country": {
                        "type": "string"
                      },
                      "locode": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "locode",
                      "name",
                      "country"
                    ],
                    "type": "object"
                  },
                  "provider": {
                    "const": "AIS Fleet",
                    "type": "string"
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "vessel_count": {
                    "minimum": 1,
                    "type": "integer"
                  },
                  "vessels": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "arrival_estimated": {
                          "type": "boolean"
                        },
                        "arrived_at": {
                          "format": "date-time",
                          "type": "string"
                        },
                        "mmsi": {
                          "pattern": "^[0-9]{9}$",
                          "type": "string"
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "mmsi",
                        "name",
                        "arrived_at",
                        "arrival_estimated"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "provider",
                  "port",
                  "newest_arrival_at",
                  "coverage_start",
                  "vessels",
                  "vessel_count",
                  "truncated",
                  "license_url"
                ],
                "type": "object"
              },
              "type": {
                "const": "json",
                "type": "string"
              }
            },
            "required": [
              "type",
              "example"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "ais",
    "port",
    "vessels",
    "congestion",
    "maritime",
    "bazaar"
  ],
  "sourceHost": "aisfleet.com",
  "lastUpdated": "2026-10-09T08:26:16.99Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-09T08:26:16.044Z"
  },
  "metadata": {
    "serviceName": "AIS Fleet",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "pathParams": {
              "locode": "NLRTM"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "coverage_start": "2026-08-23T00:00:00Z",
              "license_url": "https://aisfleet.com/agent-data-license/",
              "newest_arrival_at": "2026-08-25T09:12:00Z",
              "port": {
                "country": "NL",
                "locode": "NLRTM",
                "name": "Rotterdam"
              },
              "provider": "AIS Fleet",
              "truncated": false,
              "vessel_count": 1,
              "vessels": [
                {
                  "arrival_estimated": false,
                  "arrived_at": "2026-08-25T09:12:00Z",
                  "mmsi": "123456789",
                  "name": "EXAMPLE TRADER"
                }
              ]
            },
            "type": "json"
          }
        },
        "routeTemplate": "/api/x402/v1/ais/ports/:locode/vessels",
        "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": {
                    "locode": {
                      "pattern": "^[A-Za-z0-9]{5}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "locode"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "pathParams"
              ],
              "type": "object"
            },
            "output": {
              "additionalProperties": false,
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "coverage_start": {
                      "format": "date-time",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "license_url": {
                      "format": "uri",
                      "type": "string"
                    },
                    "newest_arrival_at": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "port": {
                      "additionalProperties": false,
                      "properties": {
                        "country": {
                          "type": "string"
                        },
                        "locode": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "locode",
                        "name",
                        "country"
                      ],
                      "type": "object"
                    },
                    "provider": {
                      "const": "AIS Fleet",
                      "type": "string"
                    },
                    "truncated": {
                      "type": "boolean"
                    },
                    "vessel_count": {
                      "minimum": 1,
                      "type": "integer"
                    },
                    "vessels": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "arrival_estimated": {
                            "type": "boolean"
                          },
                          "arrived_at": {
                            "format": "date-time",
                            "type": "string"
                          },
                          "mmsi": {
                            "pattern": "^[0-9]{9}$",
                            "type": "string"
                          },
                          "name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "mmsi",
                          "name",
                          "arrived_at",
                          "arrival_estimated"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "provider",
                    "port",
                    "newest_arrival_at",
                    "coverage_start",
                    "vessels",
                    "vessel_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": {
      "coverage_start": "2026-01-01T00:00:00Z",
      "license_url": "https://example.com",
      "newest_arrival_at": "2026-01-01T00:00:00Z",
      "port": {
        "country": "string",
        "locode": "string",
        "name": "string"
      },
      "provider": "string",
      "truncated": true,
      "vessel_count": 0,
      "vessels": [
        {
          "arrival_estimated": true,
          "arrived_at": "2026-01-01T00:00:00Z",
          "mmsi": "string",
          "name": "string"
        }
      ]
    },
    "type": "string"
  }
}