# MSC container and bill of lading tracking API

Track MSC shipments by container, bill of lading or booking reference via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by Apish, pass parameters such as number, output, raw, and retrieve structured data including requested shipment reference, resolved reference type, top-level estimated arrival, container identifier, and source tracking timestamp context for freight timeline, and container view.

Documentation: https://openany.si/market/apis/msc/msc-container-and-bill-of-lading-tracking-api/?offering=9ad3f37c-6225-4894-93d0-1c7e7e67035e
API ID: 9ad3f37c-6225-4894-93d0-1c7e7e67035e
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/msc/v1/track
Page update time: 2026-12-03T02:45:54.546Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:45:52.814Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits used",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MSC container and bill of lading tracking API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string",
          "description": "number"
        },
        "type": {
          "type": "string",
          "description": "type",
          "enum": [
            "auto",
            "container",
            "bl",
            "booking"
          ]
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "number"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "as_of": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "credits_used": {
      "type": "integer"
    },
    "delivered": {
      "type": "boolean"
    },
    "destination": {
      "type": "string"
    },
    "eta": {
      "type": "string"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date_raw": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "detail": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "estimated": {
            "type": "boolean"
          },
          "facility": {
            "type": "string"
          },
          "facility_code": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ]
          },
          "location": {
            "type": "string"
          },
          "time": {
            "type": "string"
          },
          "un_locode": {
            "type": "string"
          },
          "vessel": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "object",
                "properties": {
                  "built": {
                    "type": "string"
                  },
                  "flag": {
                    "type": "string"
                  },
                  "imo": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "voyage": {
                    "type": "string"
                  }
                }
              }
            ]
          }
        }
      }
    },
    "fetched_at": {
      "type": "string"
    },
    "number": {
      "type": "string"
    },
    "origin": {
      "type": "string"
    },
    "shipments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "bill_of_lading": {
            "type": "null"
          },
          "containers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "container_number": {
                  "type": "string"
                },
                "delivered": {
                  "type": "boolean"
                },
                "eta": {
                  "type": "string"
                },
                "events": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "date_raw": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "estimated": {
                        "type": "boolean"
                      },
                      "facility": {
                        "type": "string"
                      },
                      "facility_code": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "location": {
                        "type": "string"
                      },
                      "time": {
                        "type": "string"
                      },
                      "un_locode": {
                        "type": "string"
                      },
                      "vessel": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "built": {
                                "type": "string"
                              },
                              "flag": {
                                "type": "string"
                              },
                              "imo": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "voyage": {
                                "type": "string"
                              }
                            }
                          }
                        ]
                      }
                    }
                  }
                },
                "latest_location": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                }
              }
            }
          },
          "containers_count": {
            "type": "integer"
          },
          "delivered": {
            "type": "boolean"
          },
          "destination": {
            "type": "string"
          },
          "eta": {
            "type": "null"
          },
          "origin": {
            "type": "string"
          },
          "port_of_discharge": {
            "type": "string"
          },
          "port_of_load": {
            "type": "string"
          },
          "price_calculation_date": {
            "type": "null"
          },
          "transshipments": {
            "type": "array",
            "items": {}
          }
        }
      }
    },
    "status": {
      "type": "string"
    },
    "tracking_type": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/msc/v1/track?number=MSDU2377185&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "as_of": "Tracking results provided by MSC on 19.11.2026 at 13:20 Central Europe Standard Time",
  "cached": false,
  "credits_used": 1,
  "delivered": false,
  "destination": "SAINT LOUIS, US",
  "eta": "2026-12-31",
  "events": [
    {
      "date_raw": "08/11/2026",
      "description": "Empty to Shipper",
      "detail": [
        "EMPTY"
      ],
      "estimated": false,
      "facility": "MEDLOG (SHANGHAI) CO., LTD, TIANJING BRANCH",
      "facility_code": null,
      "location": "TIANJINXINGANG, CN",
      "time": "2026-11-08",
      "un_locode": "CNTXG",
      "vessel": null
    },
    {
      "date_raw": "12/11/2026",
      "description": "Export received at CY",
      "detail": [
        "LADEN"
      ],
      "estimated": false,
      "facility": "TIANJIN PORT PACIFIC INTERNATIONAL CONTAINER TERMINAL CO., LTD",
      "facility_code": "TPCT1",
      "location": "TIANJINXINGANG, CN",
      "time": "2026-11-12",
      "un_locode": "CNTXG",
      "vessel": null
    },
    {
      "date_raw": "12/11/2026",
      "description": "Export Return to Shipper",
      "detail": [
        "LADEN"
      ],
      "estimated": false,
      "facility": "TIANJIN PORT PACIFIC INTERNATIONAL CONTAINER TERMINAL CO., LTD",
      "facility_code": "TPCT1",
      "location": "TIANJINXINGANG, CN",
      "time": "2026-11-12",
      "un_locode": "CNTXG",
      "vessel": null
    },
    {
      "date_raw": "14/11/2026",
      "description": "Export back from shipper",
      "detail": [
        "LADEN"
      ],
      "estimated": false,
      "facility": "TIANJIN PORT PACIFIC INTERNATIONAL CONTAINER TERMINAL CO., LTD",
      "facility_code": "TPCT1",
      "location": "TIANJINXINGANG, CN",
      "time": "2026-11-14",
      "un_locode": "CNTXG",
      "vessel": null
    },
    {
      "date_raw": "30/11/2026",
      "description": "Estimated Time of Departure",
      "detail": [
        "MSC VENICE",
        "FY648A"
      ],
      "estimated": true,
      "facility": "TIANJIN PORT SECOND CONTAINER TERMINAL CO., LTD",
      "facility_code": "TSCT",
      "location": "TIANJINXINGANG, CN",
      "time": "2026-11-30",
      "un_locode": "CNTXG",
      "vessel": {
        "built": "2016",
        "flag": "LIBERIA",
        "imo": "9647473",
        "name": "MSC VENICE",
        "voyage": "FY648A"
      }
    },
    {
      "date_raw": "08/12/2026",
      "description": "Estimated Time of Arrival",
      "detail": [
        "MSC VENICE",
        "FY648A"
      ],
      "estimated": true,
      "facility": "GANGJI TERMINAL (PHASE IV)",
      "facility_code": "BLGAN",
      "location": "NINGBO, CN",
      "time": "2026-12-08",
      "un_locode": "CNNGB",
      "vessel": {
        "built": "2016",
        "flag": "LIBERIA",
        "imo": "9647473",
        "name": "MSC VENICE",
        "voyage": "FY648A"
      }
    },
    {
      "date_raw": "12/12/2026",
      "description": "Full Intended Transshipment",
      "detail": [
        "MSC VANDYA",
        "GO649N"
      ],
      "estimated": true,
      "facility": "GANGJI TERMINAL (PHASE IV)",
      "facility_code": "BLGAN",
      "location": "NINGBO, CN",
      "time": "2026-12-12",
      "un_locode": "CNNGB",
      "vessel": {
        "built": "2012",
        "flag": "PANAMA",
        "imo": "9484467",
        "name": "MSC VANDYA",
        "voyage": "GO649N"
      }
    },
    {
      "date_raw": "31/12/2026",
      "description": "Estimated Time of Arrival",
      "detail": [
        "MSC VANDYA",
        "GO649N"
      ],
      "estimated": true,
      "facility": "LONG BEACH PIER T TERMINAL",
      "facility_code": "Z952",
      "location": "LONG BEACH, US",
      "time": "2026-12-31",
      "un_locode": "USLGB",
      "vessel": {
        "built": "2012",
        "flag": "PANAMA",
        "imo": "9484467",
        "name": "MSC VANDYA",
        "voyage": "GO649N"
      }
    }
  ],
  "fetched_at": "2026-11-19T12:20:05.945Z",
  "number": "MSDU2377185",
  "origin": "TIANJINXINGANG, CN",
  "shipments": [
    {
      "bill_of_lading": null,
      "containers": [
        {
          "container_number": "MSDU2377185",
          "delivered": false,
          "eta": "2026-12-31",
          "events": [
            {
              "date_raw": "08/11/2026",
              "description": "Empty to Shipper",
              "detail": [
                "EMPTY"
              ],
              "estimated": false,
              "facility": "MEDLOG (SHANGHAI) CO., LTD, TIANJING BRANCH",
              "facility_code": null,
              "location": "TIANJINXINGANG, CN",
              "time": "2026-11-08",
              "un_locode": "CNTXG",
              "vessel": null
            },
            {
              "date_raw": "12/11/2026",
              "description": "Export received at CY",
              "detail": [
                "LADEN"
              ],
              "estimated": false,
              "facility": "TIANJIN PORT PACIFIC INTERNATIONAL CONTAINER TERMINAL CO., LTD",
              "facility_code": "TPCT1",
              "location": "TIANJINXINGANG, CN",
              "time": "2026-11-12",
              "un_locode": "CNTXG",
              "vessel": null
            },
            {
              "date_raw": "12/11/2026",
              "description": "Export Return to Shipper",
              "detail": [
                "LADEN"
              ],
              "estimated": false,
              "facility": "TIANJIN PORT PACIFIC INTERNATIONAL CONTAINER TERMINAL CO., LTD",
              "facility_code": "TPCT1",
              "location": "TIANJINXINGANG, CN",
              "time": "2026-11-12",
              "un_locode": "CNTXG",
              "vessel": null
            },
            {
              "date_raw": "14/11/2026",
              "description": "Export back from shipper",
              "detail": [
                "LADEN"
              ],
              "estimated": false,
              "facility": "TIANJIN PORT PACIFIC INTERNATIONAL CONTAINER TERMINAL CO., LTD",
              "facility_code": "TPCT1",
              "location": "TIANJINXINGANG, CN",
              "time": "2026-11-14",
              "un_locode": "CNTXG",
              "vessel": null
            },
            {
              "date_raw": "30/11/2026",
              "description": "Estimated Time of Departure",
              "detail": [
                "MSC VENICE",
                "FY648A"
              ],
              "estimated": true,
              "facility": "TIANJIN PORT SECOND CONTAINER TERMINAL CO., LTD",
              "facility_code": "TSCT",
              "location": "TIANJINXINGANG, CN",
              "time": "2026-11-30",
              "un_locode": "CNTXG",
              "vessel": {
                "built": "2016",
                "flag": "LIBERIA",
                "imo": "9647473",
                "name": "MSC VENICE",
                "voyage": "FY648A"
              }
            },
            {
              "date_raw": "08/12/2026",
              "description": "Estimated Time of Arrival",
              "detail": [
                "MSC VENICE",
                "FY648A"
              ],
              "estimated": true,
              "facility": "GANGJI TERMINAL (PHASE IV)",
              "facility_code": "BLGAN",
              "location": "NINGBO, CN",
              "time": "2026-12-08",
              "un_locode": "CNNGB",
              "vessel": {
                "built": "2016",
                "flag": "LIBERIA",
                "imo": "9647473",
                "name": "MSC VENICE",
                "voyage": "FY648A"
              }
            },
            {
              "date_raw": "12/12/2026",
              "description": "Full Intended Transshipment",
              "detail": [
                "MSC VANDYA",
                "GO649N"
              ],
              "estimated": true,
              "facility": "GANGJI TERMINAL (PHASE IV)",
              "facility_code": "BLGAN",
              "location": "NINGBO, CN",
              "time": "2026-12-12",
              "un_locode": "CNNGB",
              "vessel": {
                "built": "2012",
                "flag": "PANAMA",
                "imo": "9484467",
                "name": "MSC VANDYA",
                "voyage": "GO649N"
              }
            },
            {
              "date_raw": "31/12/2026",
              "description": "Estimated Time of Arrival",
              "detail": [
                "MSC VANDYA",
                "GO649N"
              ],
              "estimated": true,
              "facility": "LONG BEACH PIER T TERMINAL",
              "facility_code": "Z952",
              "location": "LONG BEACH, US",
              "time": "2026-12-31",
              "un_locode": "USLGB",
              "vessel": {
                "built": "2012",
                "flag": "PANAMA",
                "imo": "9484467",
                "name": "MSC VANDYA",
                "voyage": "GO649N"
              }
            }
          ],
          "latest_location": "TIANJINXINGANG, CN",
          "status": "Export back from shipper",
          "type": "20' DRY VAN"
        }
      ],
      "containers_count": 1,
      "delivered": false,
      "destination": "SAINT LOUIS, US",
      "eta": null,
      "origin": "TIANJINXINGANG, CN",
      "port_of_discharge": "LONG BEACH, US",
      "port_of_load": "TIANJINXINGANG, CN",
      "price_calculation_date": null,
      "transshipments": []
    }
  ],
  "status": "Export back from shipper",
  "tracking_type": "Container"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/msc/msc-container-and-bill-of-lading-tracking-api/?offering=9ad3f37c-6225-4894-93d0-1c7e7e67035e

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
