Trackingeyes-API(旧英文版)
  1. Authentication
Trackingeyes-API(旧英文版)
  • Authentication
    • OAuth
      POST
  • Ocean Data
    • Ocean Cargo Tracking
      • Ocean Status Code
      • Ocean Support List
      • Ocean Tracking Subscribe
      • Ocean Tracking Push
      • Ocean Tracking download
    • Container Maritime Trajectory
      • Container Maritime Trajectory
  • Global Air Cargo Tracking
    • Air Status Code
    • Air Support List
    • Air Tracking Subscribe
      POST
    • Air Tracking Push
      POST
    • Air Tracking Download
      GET
  1. Authentication

OAuth

POST
/api/auth/authorization
1.The validity period of the token is 2 hours. If it expires, a new token needs to be obtained again.
2.After obtaining the token in the return value, when calling other API interfaces of TrackingEyes, you can splice the token value and company code on the url.
3.Application examples:server address:/api/oceanbill/batchOceanBill?companyCode=Enterprise ID&token=4a8467e5-294c-11eb-8f8e-00163e0afef2

Request

Body Params application/json

Example
{
    "companyCode": "Enterprise number",
    "secret": "Secret key"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.trackingeyes.com/api/auth/authorization' \
--header 'Content-Type: application/json' \
--data-raw '{
    "companyCode": "Enterprise number",
    "secret": "Secret key"
}'

Responses

🟢200success
application/json
Body

Example
{
  "code": "200",
  "message": "",
  "result": "4a8467e5-294c-11eb-8f8e-00163e0afef2"
}
Modified at 2025-08-18 01:53:17
Next
Ocean Status Code
Built with