Trackingeyes-API
🇺🇸 English
  • 🇨🇳 中文
  • 🇺🇸 English
  1. Authentication
Trackingeyes-API
🇺🇸 English
  • 🇨🇳 中文
  • 🇺🇸 English
  • Authentication
    • OAuth
      POST
  • Ocean Data API
    • Ocean Data
      • Ocean Support List
      • Ocean Status Code
      • Ocean Cargo Tracking
        • Ocean Tracking Subscribe
        • Ocean Tracking Push
        • Ocean Tracking download
    • Container Maritime Trajectory
      • Container Maritime Trajectory
  • Air Data API
    • Air Support List
    • Air Status Code
    • Global Air Cargo Tracking
      • Air Tracking Subscribe
      • Air Tracking Push
      • Air Tracking Download
  • Schemas
    • Schemas
      • BookingContainerDto
      • CommonResponseVoid
      • BookingToMSKInput
      • CarrierAccount
      • InstanceStatusUpdateRequest
      • CommonResponseListSporateOutput
      • JobDataDto
      • SporateCtnrInfoDto
      • AccountStatusRequest
      • SporateOutput
      • CommonResponse
      • BookingResultDto
      • CommonResponseCarrierAccount
      • CommonResponseBookingResultDto
      • CommonResponseString
  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 --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-12-09 08:18:10
Next
Ocean Support List
Built with