Digitraffic (Fintraffic) Port Call V2 API

The Port Call V2 API from Digitraffic (Fintraffic) — 2 operation(s) for port call v2.

GitHub OpenAPI

Operations 2

GET /api/port-call/v2/visits Return all active visits. #
GET /api/port-call/v2/visits/{visitId} Return one visit #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/digitraffic-fi:digitraffic-fi-port-call-v2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

digitraffic-fi-port-call-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Digitraffic Marine Port Call V2 API
  version: 'Branch: master, tag: 2026.11.2-1 #0bde4c1 @ 2026-11-03T08:19:21+0000'
  description: 'OpenAPI document


    Digitraffic is a service operated by Fintraffic, offering real time traffic information. Currently the service covers *road, marine and rail* traffic. More information can be found at the Digitraffic website


    The service has a public Google-group meri.digitraffic.fi for communication between developers, service administrators and Fintraffic. The discussion in the forum is mostly in Finnish, but you''re welcome to communicate in English too.


    ### General notes of the API

    * Many Digitraffic APIs use the GeoJSON format. The definition of GeoJSON can be found at https://tools.ietf.org/html/rfc7946.

    * For dates and times, the ISO 8601 format is used with "Zulu" zero offset from UTC unless otherwise specified (i.e., "yyyy-mm-ddThh:mm:ss[.mmm]Z"). E.g. 2019-11-01T06:30:00Z.'
  termsOfService: https://www.digitraffic.fi/en/terms-of-service/
  contact:
    name: Digitraffic / Fintraffic
    url: https://www.digitraffic.fi/
  license:
    name: Creative Commons 4.0 BY
    url: https://creativecommons.org/licenses/by/4.0/
servers:
- url: https://meri.digitraffic.fi
tags:
- name: Port Call V2
paths:
  /api/port-call/v2/visits:
    get:
      tags:
      - Port Call V2
      summary: Return all active visits.
      parameters:
      - name: portOfCall
        in: query
        description: Filter by port locode.
        schema:
          type: string
      - name: vesselName
        in: query
        description: Filter by vessel name. Case-insensitive partial match.
        schema:
          type: string
      - name: sort
        in: query
        description: 'Sort results by field:direction. Fields: eta, etd, ata, atd, vesselName, portOfCall, status. Directions: asc, desc. Example: sort=eta:desc'
        schema:
          type: string
      - name: fromDateTime
        in: query
        description: Return visits where any timestamp (ETA, ETD, ATA or ATD) is on or after this value. Inclusive. ISO 8601 datetime.
        schema:
          type: string
      - name: imo
        in: query
        description: Filter by IMO number.
        schema:
          type: string
      - name: status
        in: query
        description: 'Filter by visit status. Values: expected-to-arrive, arrived, departed, cancelled.'
        schema:
          type: string
      - name: toDateTime
        in: query
        description: Return visits where any timestamp (ETA, ETD, ATA or ATD) is before this value. Exclusive. ISO 8601 datetime.
        schema:
          type: string
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/VisitsModel'
        '500':
          description: 500 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
      operationId: getApiPortCallV2Visits
      x-operation-id-source: derived
  /api/port-call/v2/visits/{visitId}:
    get:
      tags:
      - Port Call V2
      summary: Return one visit
      parameters:
      - name: visitId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/VisitModel'
        '400':
          description: 400 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
        '500':
          description: 500 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
      operationId: getApiPortCallV2VisitsByVisitId
      x-operation-id-source: derived
components:
  schemas:
    VisitsModel:
      type: array
      items:
        required:
        - eta
        - portOfCall
        - status
        - updateTime
        - visitId
        type: object
        properties:
          previousPortName:
            type: string
            description: Previous port name
          shipCallSign:
            maxLength: 7
            type: string
            description: Ship call sign
          breadth:
            maximum: 9007199254740991
            minimum: 0
            type: integer
            description: Vessel breadth in metres
          portOfCall:
            maxLength: 5
            minLength: 5
            type: string
            description: Port locode of visit
          mmsi:
            maxLength: 9
            minLength: 9
            pattern: ^[0-9]{9}$
            type: string
            description: Ship MMSI number
          grossTonnage:
            maximum: 9007199254740991
            minimum: 0
            type: integer
            description: Gross tonnage (GT)
          declarantName:
            maxLength: 70
            type: string
            description: Declarant name
          netTonnage:
            maximum: 9007199254740991
            minimum: 0
            type: integer
            description: Net tonnage (NT)
          portName:
            type: string
            description: Port of call name
          berthCode:
            type: string
            description: Unique berth code, if available
          berthName:
            type: string
            description: Berth or mooring place, if available
          ata:
            pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
            type: string
            description: Actual time of arrival
            format: date-time
          vesselId:
            maxLength: 7
            minLength: 7
            type: string
            description: IMO-number
          atd:
            pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
            type: string
            description: Actual time of departure
            format: date-time
          eta:
            pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
            type: string
            description: Estimated time of arrival
            format: date-time
          visitId:
            maxLength: 35
            type: string
          etd:
            pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
            type: string
            description: Estimated time of departure
            format: date-time
          height:
            maximum: 9007199254740991
            minimum: 0
            type: integer
            description: Vessel height in metres
          nextPortOfCall:
            maxLength: 5
            type: string
            description: Next port (UN/LOCODE)
          portAreaCode:
            type: string
            description: Port area code, if available
          length:
            maximum: 9007199254740991
            minimum: 0
            type: integer
            description: Vessel length in metres
          updateTime:
            pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
            type: string
            description: When visit was updated
            format: date-time
          previousPortOfCall:
            maxLength: 5
            type: string
            description: Previous port (UN/LOCODE)
          vesselType:
            maxLength: 4
            type: string
            description: Vessel type code (UN/ECE Recommendation 28)
          portAreaName:
            type: string
            description: Port area name, if available
          vesselName:
            maxLength: 70
            type: string
            description: Vessel name
          nextPortName:
            type: string
            description: Next port name
          status:
            type: string
            description: Visit status
            enum:
            - Expected to Arrive
            - Arrived
            - Departed
            - Cancelled
        additionalProperties: false
    VisitModel:
      required:
      - eta
      - portOfCall
      - status
      - updateTime
      - visitId
      type: object
      properties:
        previousPortName:
          type: string
          description: Previous port name
        shipCallSign:
          maxLength: 7
          type: string
          description: Ship call sign
        breadth:
          maximum: 9007199254740991
          minimum: 0
          type: integer
          description: Vessel breadth in metres
        portOfCall:
          maxLength: 5
          minLength: 5
          type: string
          description: Port locode of visit
        mmsi:
          maxLength: 9
          minLength: 9
          pattern: ^[0-9]{9}$
          type: string
          description: Ship MMSI number
        grossTonnage:
          maximum: 9007199254740991
          minimum: 0
          type: integer
          description: Gross tonnage (GT)
        declarantName:
          maxLength: 70
          type: string
          description: Declarant name
        netTonnage:
          maximum: 9007199254740991
          minimum: 0
          type: integer
          description: Net tonnage (NT)
        portName:
          type: string
          description: Port of call name
        berthCode:
          type: string
          description: Unique berth code, if available
        berthName:
          type: string
          description: Berth or mooring place, if available
        ata:
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
          type: string
          description: Actual time of arrival
          format: date-time
        vesselId:
          maxLength: 7
          minLength: 7
          type: string
          description: IMO-number
        atd:
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
          type: string
          description: Actual time of departure
          format: date-time
        eta:
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
          type: string
          description: Estimated time of arrival
          format: date-time
        visitId:
          maxLength: 35
          type: string
        etd:
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
          type: string
          description: Estimated time of departure
          format: date-time
        height:
          maximum: 9007199254740991
          minimum: 0
          type: integer
          description: Vessel height in metres
        nextPortOfCall:
          maxLength: 5
          type: string
          description: Next port (UN/LOCODE)
        portAreaCode:
          type: string
          description: Port area code, if available
        length:
          maximum: 9007199254740991
          minimum: 0
          type: integer
          description: Vessel length in metres
        updateTime:
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
          type: string
          description: When visit was updated
          format: date-time
        previousPortOfCall:
          maxLength: 5
          type: string
          description: Previous port (UN/LOCODE)
        vesselType:
          maxLength: 4
          type: string
          description: Vessel type code (UN/ECE Recommendation 28)
        portAreaName:
          type: string
          description: Port area name, if available
        vesselName:
          maxLength: 70
          type: string
          description: Vessel name
        nextPortName:
          type: string
          description: Next port name
        status:
          type: string
          description: Visit status
          enum:
          - Expected to Arrive
          - Arrived
          - Departed
          - Cancelled
      additionalProperties: false
    Empty:
      title: Empty Schema
      type: object