MSC Shipment 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.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
MSC Shipment Tracking API
Prepare your request, then continue with your agent.
Pricing
$0.002 / billing credit
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- API
- Pricing
On this page
Overview
MSC Shipment Tracking API
Provide number and optionally type=auto, container, bl or booking. Shipment and container objects can hold different ETA values; preserve event estimated flags and the source as_of context.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required: number. Optional: type. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks. |
| Selected implementation | apish · MSC container and bill of lading tracking API |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Freight timeline: Separate estimated events from recorded milestones.
- Container view: Keep each container identity and ETA under its shipment.
Returned Data
| Field | Meaning |
|---|---|
number |
Requested shipment reference |
tracking_type |
Resolved reference type |
eta |
Top-level estimated arrival |
events[].estimated |
Whether an event is estimated |
shipments[].containers[].container_number |
Container identifier |
as_of |
Source tracking timestamp context |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/apish/msc/v1/track \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode number=MSDU2377185 \
--data-urlencode output=json \
--data-urlencode raw=0
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published MSC Shipment Tracking API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent MSC container and bill of lading tracking API · GET · View API reference | $0.002 / billing credit | 0 | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/msc/v1/track- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
number | URL query parametersquery | string | Yes | number |
type | URL query parametersquery | string | No | type enum: "auto", "container", "bl", "booking" |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json. enum: "json" |
records | URL query parametersquery | string | No | With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
as_ofstringcachedbooleancredits_usedintegerdeliveredbooleandestinationstringetastringeventsobject[]date_rawstringdescriptionstringdetailstring[]estimatedbooleanfacilitystringfacility_codenull | stringlocationstringtimestringun_locodestringvesselnull | objectbuiltstringflagstringimostringnamestringvoyagestring
fetched_atstringnumberstringoriginstringshipmentsobject[]bill_of_ladingnullcontainersobject[]container_numberstringdeliveredbooleanetastringeventsobject[]date_rawstringdescriptionstringdetailstring[]estimatedbooleanfacilitystringfacility_codenull | stringlocationstringtimestringun_locodestringvesselnull | objectbuiltstringflagstringimostringnamestringvoyagestring
latest_locationstringstatusstringtypestring
containers_countintegerdeliveredbooleandestinationstringetanulloriginstringport_of_dischargestringport_of_loadstringprice_calculation_datenulltransshipmentsunknown[]
statusstringtracking_typestring
Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits used | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Live API.SH response · Minimal request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 7
Review these request fields before running. Keep the published provider and request method unchanged.
number- number
type- type
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
records- With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
Terminal · cURLcurl \ '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'Check the response
Sample response · Documented HTTP 200
Sample response{ "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" }