---
updatedAt: 2026-05-27T06:53:55.000Z
agentTools:
  projectIndex: https://docs.track123.com/llms.txt
---

# Register ocean cargo tracking

Up to 100 tracking numbers can be imported at a time, the interface frequency limit is 3 requests/sec. The results include both accepted and rejected lists. The accepted list is consist of successful registered trackings and the rejected list is consist of failed ones.

<Callout icon="📘" theme="info">
  Ocean cargo tracking consumes more resources.
  Each ocean cargo tracking number will consume 100 quotas when registered.
</Callout>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api reference",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.track123.com/gateway/open-api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Track123-Api-Secret"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "tags": [
    {
      "name": "Ocean cargo"
    }
  ],
  "paths": {
    "/tk/v2.1/ocean/track/import": {
      "post": {
        "tags": [
          "Ocean cargo"
        ],
        "summary": "Register ocean cargo tracking",
        "description": "Up to 100 tracking numbers can be imported at a time, the interface frequency limit is 3 requests/sec. The results include both accepted and rejected lists. The accepted list is consist of successful registered trackings and the rejected list is consist of failed ones.",
        "operationId": "register-ocean-cargo-tracking",
        "parameters": [
          {
            "name": "Track123-Api-Secret",
            "in": "header",
            "description": "Your API key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "Request Example": {
                  "value": [
                    {
                      "trackingNo": "MATS5217756000",
                      "carrierCode": "matson",
                      "type": 2,
                      "customerEmail": "support@track123.com"
                    }
                  ]
                }
              },
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "trackingNo": {
                      "type": "string",
                      "required": true,
                      "description": "Tracking number"
                    },
                    "type": {
                      "type": "integer",
                      "required": true,
                      "description": "Tracking number type (1. booking number 2. bill of landing number 3. container number)"
                    },
                    "carrierCode": {
                      "type": "string",
                      "required": true,
                      "description": "The unique carrier code"
                    },
                    "customerEmail": {
                      "type": "string",
                      "description": "The customer email address associated with the order"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "examples": {
                  "Success": {
                    "value": {
                      "code": "00000",
                      "data": {
                        "accepted": [
                          {
                            "trackingNo": "MATS5217756001",
                            "type": 2,
                            "orderNo": "11111112",
                            "carrierCode": "matson",
                            "customerEmail": "support@track123.com"
                          }
                        ],
                        "rejected": [
                          {
                            "trackingNo": "MATS5217756000",
                            "type": 2,
                            "carrierCode": "matson",
                            "error": {
                              "code": "A0400",
                              "msg": "单号已经导入"
                            }
                          }
                        ]
                      },
                      "msg": "Success",
                      "traceId": "N/A"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Service status code"
                    },
                    "data": {
                      "type": "object",
                      "description": "Object actually returned",
                      "properties": {
                        "accepted": {
                          "type": "array",
                          "description": "Successful registration of tracking number",
                          "items": {
                            "type": "object",
                            "properties": {
                              "trackingNo": {
                                "type": "string",
                                "description": "Tracking number"
                              },
                              "type": {
                                "type": "integer",
                                "description": "Tracking number type (1. booking number 2. bill of landing number 3. container number)"
                              },
                              "carrierCode": {
                                "type": "string",
                                "description": "The unique carrier code"
                              },
                              "orderNo": {
                                "type": "string",
                                "description": "The unique order number generated by Track123 when a tracking number is registered"
                              },
                              "customerEmail": {
                                "type": "string",
                                "description": "The customer email address associated with the order filled in by the merchant/platform"
                              }
                            }
                          }
                        },
                        "rejected": {
                          "type": "array",
                          "description": "Rejected registration of tracking number",
                          "items": {
                            "type": "object",
                            "properties": {
                              "trackingNo": {
                                "type": "string",
                                "description": "Tracking number"
                              },
                              "type": {
                                "type": "integer",
                                "description": "Tracking number type (1. booking number 2. bill of landing number 3. container number)"
                              },
                              "carrierCode": {
                                "type": "string",
                                "description": "The unique carrier code"
                              },
                              "error": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "Error code"
                                  },
                                  "msg": {
                                    "type": "string",
                                    "description": "Error infomation"
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "msg": {
                      "type": "string",
                      "description": "The description information corresponding to the business status code or other auxiliary description information."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```