1. Authentication
Trackingeyes-API
🇺🇸 English
  • 🇨🇳 中文
  • 🇺🇸 English
  • Authentication
    • OAuth
      POST
    • Get Port Codes
      GET
    • Get Carrier Codes
      GET
  • Ocean Data API
    • Ocean Data
      • Ocean Support List
      • Ocean Status Code
      • Ocean Cargo Tracking
        • Ocean Tracking Subscribe
        • Ocean Tracking Push
        • Ocean Tracking Timely Update
        • Ocean Tracking Download
    • China Port Data
      • China Port List
      • China Port Subscription
      • China Port Push
      • China Port Download
    • Container Maritime Trajectory
      • DEMO
      • Container Maritime Trajectory
  • AI Ship Prediction
    • AI Ship Prediction Query
      GET
  • Air Data API
    • Air Support List
    • Air Status Code
    • Air Cargo Tracking
      • Air Tracking Subscribe
      • Air Tracking Push
      • Air Tracking Download
  • Schedule
    • Shipowner Support List
    • Ports Support List
    • Point to Point Schedule Query
      POST
    • Point to Point Schedule Paginated Push
      POST
  • Overseas Data API
    • USA Terminal Data
      • USA Terminal Support List
      • USA Terminal Data Subscription
      • USA Terminal Data Push
      • USA Terminal Data Download
    • USA Customs Entry ABI data
      • USA Customs Entry ABI List
      • USA Customs Entry ABI data
  1. Authentication

OAuth

POST
https://api.trackingeyes.com/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 'https://api.trackingeyes.com/api/auth/authorization' \
--header 'Content-Type: application/json' \
--data '{
    "companyCode": "Enterprise number",
    "secret": "Secret key"
}'

Responses

🟢200success
application/json
Bodyapplication/json

Example
{
  "code": "200",
  "type": "success",
  "message": "",
  "result": "4a8467e5-294c-11eb-8f8e-00163e0afef2"
}
Modified at 2026-03-23 11:01:47
Next
Get Port Codes
Built with