Dockflow V3Upstream API

The V3Upstream API from Dockflow, for v3upstream.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /v3/upstream Poll upstream events #

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/dockflow-com:dockflow-com-v3upstream-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

dockflow-com-v3upstream-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dockflow v3 V3Upstream API
  version: 3.0.0
servers:
- url: https://api.dockflow.com
  description: Production
- url: https://uat.dockflow.com
  description: UAT
security:
- ApiKey: []
tags:
- name: V3Upstream
paths:
  /v3/upstream:
    get:
      operationId: v3Upstream.get
      summary: Poll upstream events
      tags:
      - V3Upstream
      parameters:
      - name: since
        in: query
        description: 'Only tradeflows changed after this ISO 8601 timestamp (exclusive), with an offset. Without since, cursor, tradeflow or container: the last 15 minutes.'
        schema:
          type: string
      - name: tradeflow
        in: query
        description: Your tradeflow reference. Returns that tradeflow regardless of when it changed.
        schema:
          type: string
      - name: container
        in: query
        description: A container number. Returns its tradeflows regardless of when they changed.
        schema:
          type: string
      - name: category
        in: query
        description: 'Keep only events of this category: MILESTONE, SHIPMENT or LOCATION.'
        schema:
          type: string
      - name: code
        in: query
        description: 'Keep only events whose code starts with this value. One of: GE, GN, AE, VD, VA, UV, GT, GD, GR, POS, A-BKD, A-RCS, A-DEP, A-ARR, A-RCF, A-NFD, A-DLV. Any other value returns 400.'
        schema:
          type: string
      - name: cursor
        in: query
        description: next_cursor from the previous page. Keep since identical across the pages of one cycle.
        schema:
          type: string
      - name: active
        in: query
        description: 'true (active only), false, or both. Default: active plus recently deactivated.'
        schema:
          type: string
      - name: fields
        in: query
        description: 'Comma-separated blocks: events, locations, containers, shipment, vessels. Default: all but vessels.'
        schema:
          type: string
          default: ''
      - name: format
        in: query
        description: 'Shape of `events`: `v3` (Dockflow milestones) or `dcsa-tnt-2.2` (DCSA Track & Trace 2.2). The rest of the record is identical.'
        schema:
          type: string
          enum:
          - v3
          - dcsa-tnt-2.2
          default: v3
      - name: per_page
        in: query
        description: Tradeflows per page, 1 to 1000. Default 50.
        schema:
          type: integer
      - name: failsafe
        in: query
        description: Set to 1 and Dockflow keeps your position per API key and filter set, so repeated identical polls skip nothing.
        schema:
          type: string
          enum:
          - '0'
          - '1'
      responses:
        '200':
          description: 'A page of tradeflows matching the filters. Pass `next_cursor` back to read

            the next page; it is null on the last one.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/UpstreamRecord'
                  next_cursor:
                    type:
                    - string
                    - 'null'
                required:
                - data
                - next_cursor
        '400':
          description: ''
          content:
            application/json:
              schema:
                anyOf:
                - type: string
                - type: string
                  const: 'category must be one of: MILESTONE, SHIPMENT, LOCATION'
                - type: string
                  const: per_page must be between 1 and 1000
                - type: string
                  const: since must be a valid ISO8601 timestamp
components:
  schemas:
    UpstreamRecord:
      type: object
      description: One record per shipment of a tradeflow. The locations, containers, vessels, shipment and events blocks are present when requested with fields.
      properties:
        version:
          type: string
          examples:
          - 3.0.0
        tradeflow_reference:
          type: string
          examples:
          - PO4564268
        bill_of_lading:
          type:
          - string
          - 'null'
        booking:
          type:
          - string
          - 'null'
        additional_references:
          type: object
          properties:
            bill_of_lading:
              type: array
              items:
                type: string
            booking:
              type: array
              items:
                type: string
        data_quality:
          type: object
          properties:
            freshness_min:
              type: integer
            anomalies:
              type: number
            missed_milestones:
              type: integer
            has_live_data:
              type: boolean
            is_singular_shipment:
              type: boolean
        metadata:
          type: object
          properties:
            last_updated:
              type: string
              format: date-time
              description: Keep since unchanged while following next_cursor; after the last page, use the highest value as the next since.
            carrier_name:
              type:
              - string
              - 'null'
            carrier_scac:
              type:
              - string
              - 'null'
            is_active:
              type: boolean
            created_at:
              type: string
              format: date-time
        partners:
          type: array
          description: The other organisations on this tradeflow, oldest link first. Your own organisation is not listed.
          items:
            type: object
            properties:
              name:
                type: string
              roles:
                type: array
                description: Lowercased, e.g. client, forwarder.
                items:
                  type: string
              reference:
                type:
                - string
                - 'null'
                description: That partner's own reference for this tradeflow.
        locations:
          type: array
          items:
            type: object
        containers:
          type: array
          items:
            type: object
        vessels:
          type: array
          items:
            type: object
        shipment:
          type: object
        events:
          type: array
          items:
            type: object
      required:
      - version
      - tradeflow_reference
      - bill_of_lading
      - booking
      - additional_references
      - data_quality
      - metadata
      title: UpstreamRecord
  securitySchemes:
    ApiKey:
      type: http
      description: An API key, `{env}_{entity-slug}_{secret}`.
      scheme: bearer