{"openapi":"3.1.0","x-stoplight":{"id":"jwo5mho0381qt"},"info":{"title":"Container Tracking API (Traqo-compatible)","version":"3.0","description":"Container Tracking allows to determine the current position of a given container on the World Map. To track the location of the container, just specify bill of lading, container, booking number.\n\nServed by Traqo Ocean as a drop-in for SeaRates tracking: same URL shape, same response.\nChange the host and the key. Every operation is implemented, and every response is HTTP 200\nwith the outcome in `message` — the one status this document declares.\n\nDifferences, all of them additive or documented:\n  - route_data.ais is never present: we hold no AIS data, and the `ais` parameter is\n    accepted and ignored.\n  - /info/sealines needs your API key here, where SeaRates serve it without one.\n  - A refusal carries `detail`, our own sentence about the cause, in a field SeaRates do not\n    define. Ignore it and nothing changes.\n  - Retry-After is sent on API_KEY_LIMIT_REACHED and API_KEY_EXPIRED (3600),\n    API_KEY_RATE_LIMIT and SEALINE_NO_RESPONSE (seconds). A 200 may carry it.\n  - When we could not reach the carrier and served a document we already held,\n    data.metadata gains `stale_reason` and `last_synced_at` beside `from_cache: true`.\n  - SEALINE_NO_RESPONSE carries data.metadata.sealine when one carrier is down rather than\n    the provider."},"servers":[{"url":"https://traqocontainer.com/api/searates"}],"paths":{"/tracking":{"get":{"summary":"Tracking by any number","operationId":"tracking-by-any-number","description":"Get tracking information by Container number, Bill of Lading or Booking number.\n\n","parameters":[{"$ref":"#/components/parameters/api_key"},{"$ref":"#/components/parameters/number"},{"$ref":"#/components/parameters/sealine"},{"$ref":"#/components/parameters/type"},{"$ref":"#/components/parameters/force_update"},{"$ref":"#/components/parameters/route"},{"$ref":"#/components/parameters/ais"}],"security":[{"api_key":[]},{"api_key_header":[]}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackingByAnyNumberSuccessOK"},"examples":{"success - OK":{"description":"Request completed successfully. There is information on containers and events","value":{"status":"success","message":"OK","data":{"metadata":{"type":"BL","number":"HKA2573372","sealine":"CMDU","sealine_name":"CMA CGM","status":"IN_TRANSIT","is_status_from_sealine":false,"from_cache":true,"updated_at":"2025-10-31 09:00:25","cache_expires":"2025-11-01 09:00:25","api_calls":{"total":100,"used":1,"remaining":99},"unique_shipments":{"total":100,"used":1,"remaining":99}},"locations":[{"id":1,"name":"San Antonio","state":"Region de Valparaiso","country":"Chile","country_code":"CL","locode":"CLSAI","lat":-33.59473,"lng":-71.60746,"timezone":"America/Santiago"},{"id":2,"name":"Shanghai","state":"Shanghai Shi","country":"China","country_code":"CN","locode":"CNSHG","lat":31.366365,"lng":121.61475,"timezone":"Asia/Shanghai"},{"id":3,"name":"Shekou","state":"Guangdong Sheng","country":"China","country_code":"CN","locode":"CNSHK","lat":22.49359,"lng":113.9156,"timezone":"Asia/Shanghai"}],"facilities":[{"id":1,"name":"Mawan Container Terminal","country_code":"CN","locode":"CNSHK","bic_code":null,"smdg_code":"MWT","lat":null,"lng":null},{"id":2,"name":"YANGSHAN DEEP WATER PORT PHASE1 TER","country_code":"CN","locode":"CNSGH","bic_code":null,"smdg_code":null,"lat":null,"lng":null},{"id":3,"name":"PUERTO CENTRAL TERMINAL","country_code":"CL","locode":"CLSAI","bic_code":null,"smdg_code":null,"lat":null,"lng":null}],"route":{"prepol":{"location":3,"date":"2025-09-13 01:01:00","actual":true},"pol":{"location":3,"date":"2025-09-30 03:32:00","actual":true},"pod":{"location":1,"date":"2025-10-31 23:00:00","actual":false,"predictive_eta":null},"postpod":{"location":null,"date":null,"actual":null}},"vessels":[{"id":1,"name":"CMA CGM SAMSON","imo":9436379,"call_sign":"9HA2907","mmsi":256687000,"flag":"MT"},{"id":2,"name":"CMA CGM MAUI","imo":9938157,"call_sign":"FMYR","mmsi":228459800,"flag":"FR"}],"containers":[{"number":"ECMU7336714","iso_code":"45G1","size_type":"40' High Cube Dry","status":"IN_TRANSIT","is_status_from_sealine":false,"events_mirrored":false,"events":[{"order_id":1,"location":3,"facility":1,"description":"Empty Picked-up at Depot","event_type":"EQUIPMENT","event_code":"PICK","status":"CPS","date":"2025-09-13 01:29:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":"TRUCK","vessel":null,"voyage":null},{"order_id":2,"location":3,"facility":1,"description":"Gate in at Port terminal","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-09-14 06:14:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":"TRUCK","vessel":null,"voyage":null},{"order_id":3,"location":3,"facility":1,"description":"Loaded on board","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-09-28 23:48:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":2,"voyage":"1WU02E2MA"},{"order_id":4,"location":3,"facility":1,"description":"Vessel Departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-09-30 03:32:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":2,"voyage":"1WU02E2MA"},{"order_id":5,"location":2,"facility":2,"description":"Vessel Arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAT","date":"2025-10-06 00:32:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":2,"voyage":"1WU02E2MA"},{"order_id":6,"location":2,"facility":2,"description":"Discharged in transhipment","event_type":"EQUIPMENT","event_code":"DISC","status":"CDT","date":"2025-10-06 07:34:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":2,"voyage":"1WU02E2MA"},{"order_id":7,"location":2,"facility":2,"description":"Loaded on board","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLT","date":"2025-10-07 23:52:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"1MH08E1MA"},{"order_id":8,"location":2,"facility":2,"description":"Vessel Departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDT","date":"2025-10-08 04:30:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"1MH08E1MA"},{"order_id":9,"location":1,"facility":3,"description":"Vessel Arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-10-31 23:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"1MH09W1MA"}]},{"number":"CMAU8661125","iso_code":"45G1","size_type":"40' High Cube Dry","status":"IN_TRANSIT","is_status_from_sealine":false,"events_mirrored":false,"events":[{"order_id":1,"location":3,"facility":1,"description":"Empty Picked-up at Depot","event_type":"EQUIPMENT","event_code":"PICK","status":"CPS","date":"2025-09-13 01:01:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":"TRUCK","vessel":null,"voyage":null},{"order_id":2,"location":3,"facility":1,"description":"Gate in at Port terminal","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-09-14 07:53:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":"TRUCK","vessel":null,"voyage":null},{"order_id":3,"location":3,"facility":1,"description":"Loaded on board","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-09-29 01:21:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":2,"voyage":"1WU02E2MA"},{"order_id":4,"location":3,"facility":1,"description":"Vessel Departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-09-30 03:32:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":2,"voyage":"1WU02E2MA"},{"order_id":5,"location":2,"facility":2,"description":"Vessel Arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAT","date":"2025-10-06 00:32:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":2,"voyage":"1WU02E2MA"},{"order_id":6,"location":2,"facility":2,"description":"Discharged in transhipment","event_type":"EQUIPMENT","event_code":"DISC","status":"CDT","date":"2025-10-06 08:12:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":2,"voyage":"1WU02E2MA"},{"order_id":7,"location":2,"facility":2,"description":"Loaded on board","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLT","date":"2025-10-08 00:25:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"1MH08E1MA"},{"order_id":8,"location":2,"facility":2,"description":"Vessel Departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDT","date":"2025-10-08 04:30:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"1MH08E1MA"},{"order_id":9,"location":1,"facility":3,"description":"Vessel Arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-10-31 23:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"1MH09W1MA"}]}],"route_data":{"route":[{"path":[[22.4936,113.9156],[21.7412,114.2507],[21.7292,114.2594],[21.7249,114.271],[21.7282,114.2856],[22.7414,116.5605],[22.7478,116.5752],[22.7538,116.59],[22.7594,116.605],[23.0111,117.2917],[23.0164,117.3044],[23.0228,117.3166],[23.0303,117.3281],[23.3945,117.8416],[23.4027,117.8528],[23.411,117.8639],[23.4196,117.8747],[24.799,119.5881],[24.8087,119.5997],[24.8188,119.611],[24.8293,119.622],[25.3135,120.1132],[25.3245,120.1236],[25.3361,120.1332],[25.3484,120.1421],[28.7869,122.4699],[28.7994,122.478],[28.8121,122.4857],[28.8252,122.4928],[30.0646,123.1441],[30.0779,123.1508],[30.0914,123.157],[30.1052,123.1627],[30.6337,123.3708],[30.6518,123.3757],[30.6702,123.3763],[30.6886,123.3725],[30.8578,123.3191],[30.8752,123.3115],[30.8903,123.3007],[30.9031,123.2868],[31.5163,122.4726],[31.531,122.4567],[31.548,122.444],[31.5675,122.4346],[31.6376,122.4082],[31.6499,122.4003],[31.6548,122.3891],[31.6524,122.3746],[31.3664,121.6148]],"type":"SEA","transport_type":"VESSEL","from":{"name":"Shekou","state":"Guangdong Sheng","country":"China","country_code":"CN","locode":"CNSHK","lat":22.49359,"lng":113.9156,"timezone":"Asia/Shanghai"},"to":{"name":"Shanghai","state":"Shanghai Shi","country":"China","country_code":"CN","locode":"CNSHG","lat":31.366365,"lng":121.61475,"timezone":"Asia/Shanghai"},"vessel":{"name":"CMA CGM MAUI","imo":9938157,"call_sign":"FMYR","mmsi":228459800,"flag":"FR"}},{"path":[[31.3664,121.6148],[31.6524,122.3746],[31.6548,122.3891],[31.6499,122.4003],[31.6376,122.4082],[31.5626,122.4364],[31.5466,122.4447],[31.5335,122.4562],[31.5234,122.471],[28.2173,128.8401],[28.2081,128.8563],[28.1979,128.8717],[28.1865,128.8864],[27.8566,129.2807],[27.8424,129.2996],[27.8304,129.3198],[27.8206,129.3413],[-31.2383,-80.0207],[-32.43899523685321,-76.01665022729425],[-33.6411,-72.0079],[-33.6423,-71.9933],[-33.6356,-71.9845],[-33.621,-71.9815],[-33.6159,-71.9815],[-33.6032,-71.9787],[-33.5956,-71.9709],[-33.5931,-71.958],[-33.5947,-71.6075]],"type":"SEA","transport_type":"VESSEL","from":{"name":"Shanghai","state":"Shanghai Shi","country":"China","country_code":"CN","locode":"CNSHG","lat":31.366365,"lng":121.61475,"timezone":"Asia/Shanghai"},"to":{"name":"San Antonio","state":"Region de Valparaiso","country":"Chile","country_code":"CL","locode":"CLSAI","lat":-33.59473,"lng":-71.60746,"timezone":"America/Santiago"},"vessel":{"name":"CMA CGM SAMSON","imo":9436379,"call_sign":"9HA2907","mmsi":256687000,"flag":"MT"}}],"pin":[-32.43899523685321,-76.01665022729425],"ais":{"status":"OK","data":{"last_event":{"description":"Vessel Departure","date":"2025-10-08 04:30:00","voyage":"1MH08E1MA"},"discharge_port":{"name":"San Antonio","country_code":"CL","code":"SAI","date":"2025-10-31 23:00:00","date_label":"ETA"},"vessel":{"name":"CMA CGM SAMSON","imo":9436379,"call_sign":"9HA2907","mmsi":256687000,"flag":"MT"},"last_vessel_position":{"lat":-31.238251,"lng":-80.020744,"updated_at":"2025-10-30 21:57:00"},"departure_port":{"country_code":"CN","code":"SHG","date":"2025-10-07 21:18:00","date_label":"ATD"},"arrival_port":{"country_code":"CL","code":"SAI","date":"2025-11-01 00:00:00","date_label":"ETA"},"updated_at":"2025-10-31 09:51:25"}}}}}}}}}}}}},"/container":{"get":{"summary":"Tracking by container","operationId":"tracking-by-container","description":"Get tracking information by container number. *This operation has been marked as deprecated. Use [GET /tracking](https://docs.searates.com/reference/tracking/tracking-by-any-number)*","deprecated":true,"parameters":[{"$ref":"#/components/parameters/api_key"},{"name":"number","in":"query","required":true,"description":"Container number","example":"MRKU7181100","schema":{"type":"string"}},{"$ref":"#/components/parameters/sealine"},{"$ref":"#/components/parameters/force_update"},{"$ref":"#/components/parameters/route"},{"$ref":"#/components/parameters/ais"}],"security":[{"api_key":[]}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackingByContainerNumberSuccessOK"},"examples":{"success - OK":{"description":"Request completed successfully. There is information on containers and events","value":{"status":"success","message":"OK","data":{"metadata":{"type":"CT","number":"MRKU9465770","sealine":"MAEU","sealine_name":"Maersk","status":"IN_TRANSIT","is_status_from_sealine":true,"from_cache":false,"updated_at":"2025-03-14 07:54:50","cache_expires":"2025-03-14 19:54:50","api_calls":{"total":100,"used":1,"remaining":99},"unique_shipments":{"total":0,"used":0,"remaining":0}},"locations":[{"id":1,"name":"Qingdao","state":"Shandong Sheng","country":"China","country_code":"CN","locode":"CNQDG","lat":36.06488,"lng":120.38042,"timezone":"Asia/Shanghai"},{"id":2,"name":"Oakland","state":"California","country":"United States","country_code":"US","locode":"USOAK","lat":37.80437,"lng":-122.2708,"timezone":"America/Los_Angeles"}],"facilities":[{"id":1,"name":"Smart International Logistics Co","country_code":"CN","locode":null,"bic_code":null,"smdg_code":null,"lat":null,"lng":null},{"id":2,"name":"Qingdao Qianwan Container Co Ltd","country_code":"CN","locode":null,"bic_code":null,"smdg_code":null,"lat":null,"lng":null},{"id":3,"name":"OAK INTL CONT TERM BERTH 58 Z985","country_code":"US","locode":null,"bic_code":null,"smdg_code":null,"lat":null,"lng":null}],"route":{"prepol":{"location":1,"date":"2025-03-03 23:05:00","actual":true},"pol":{"location":1,"date":"2025-03-12 21:14:00","actual":true},"pod":{"location":2,"date":"2025-04-12 08:00:00","actual":false,"predictive_eta":null},"postpod":{"location":2,"date":"2025-04-12 08:00:00","actual":false}},"vessels":[{"id":1,"name":"MAERSK SHIVLING","imo":9728253,"call_sign":"D5JH8","mmsi":636017104,"flag":"LR"}],"container":{"number":"MRKU9465770","iso_code":"22G1","size_type":"20' Dry Standard","status":"IN_TRANSIT","is_status_from_sealine":true,"events_mirrored":false,"events":[{"order_id":1,"location":1,"facility":1,"description":"Gate out Empty","event_type":"EQUIPMENT","event_code":"GTOT","status":"CEP","date":"2025-03-03 23:05:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":2,"location":1,"facility":2,"description":"Gate in","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-03-09 17:58:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":3,"location":1,"facility":2,"description":"Load","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-03-12 14:32:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":4,"location":1,"facility":2,"description":"Vessel departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-03-12 21:14:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":5,"location":2,"facility":3,"description":"Vessel arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-04-12 08:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"}]}}}}}}}}}}},"/reference":{"get":{"summary":"Tracking by B/L","operationId":"tracking-by-bl","description":"Get tracking information by Bill of Lading or Booking number. *This operation has been marked as deprecated. Use [GET /tracking](https://docs.searates.com/reference/tracking/tracking-by-any-number)*","deprecated":true,"parameters":[{"$ref":"#/components/parameters/api_key"},{"name":"number","in":"query","required":true,"description":"Bill of lading or booking number","example":"HLCUXM1230445340","schema":{"type":"string"}},{"$ref":"#/components/parameters/type"},{"$ref":"#/components/parameters/sealine"},{"$ref":"#/components/parameters/force_update"},{"$ref":"#/components/parameters/route"},{"$ref":"#/components/parameters/ais"}],"security":[{"api_key":[]}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackingByReferenceNumberSuccessOK"},"examples":{"success - OK":{"description":"Request completed successfully. There is information on containers and events","value":{"status":"success","message":"OK","data":{"metadata":{"type":"BL","number":"250256386","sealine":"MAEU","sealine_name":"Maersk","status":"IN_TRANSIT","is_status_from_sealine":true,"from_cache":true,"updated_at":"2025-03-14 07:37:04","cache_expires":"2025-03-14 19:37:04","api_calls":{"total":100,"used":1,"remaining":99},"unique_shipments":{"total":0,"used":0,"remaining":0}},"locations":[{"id":1,"name":"Qingdao","state":"Shandong Sheng","country":"China","country_code":"CN","locode":"CNQDG","lat":36.06488,"lng":120.38042,"timezone":"Asia/Shanghai"},{"id":2,"name":"Oakland","state":"California","country":"United States","country_code":"US","locode":"USOAK","lat":37.80437,"lng":-122.2708,"timezone":"America/Los_Angeles"}],"facilities":[{"id":1,"name":"OAK INTL CONT TERM BERTH 58 Z985","country_code":"US","locode":null,"bic_code":null,"smdg_code":null,"lat":null,"lng":null},{"id":2,"name":"Smart International Logistics Co","country_code":"CN","locode":null,"bic_code":null,"smdg_code":null,"lat":null,"lng":null},{"id":3,"name":"Qingdao Qianwan Container Co Ltd","country_code":"CN","locode":null,"bic_code":null,"smdg_code":null,"lat":null,"lng":null}],"route":{"prepol":{"location":1,"date":"2025-03-03 23:05:00","actual":true},"pol":{"location":1,"date":"2025-03-12 21:14:00","actual":true},"pod":{"location":2,"date":"2025-04-12 08:00:00","actual":false,"predictive_eta":null},"postpod":{"location":2,"date":"2025-04-12 08:00:00","actual":false}},"vessels":[{"id":1,"name":"MAERSK SHIVLING","imo":9728253,"call_sign":"D5JH8","mmsi":636017104,"flag":"LR"}],"containers":[{"number":"MRKU9465770","iso_code":"22G1","size_type":"20' Dry Standard","status":"IN_TRANSIT","is_status_from_sealine":true,"events_mirrored":false,"events":[{"order_id":1,"location":1,"facility":2,"description":"Gate out Empty","event_type":"EQUIPMENT","event_code":"GTOT","status":"CEP","date":"2025-03-03 23:05:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":2,"location":1,"facility":3,"description":"Gate in","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-03-09 17:58:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":3,"location":1,"facility":3,"description":"Load","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-03-12 14:32:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":4,"location":1,"facility":3,"description":"Vessel departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-03-12 21:14:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":5,"location":2,"facility":1,"description":"Vessel arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-04-12 08:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"}]},{"number":"PONU0050964","iso_code":"22G1","size_type":"20' Dry Standard","status":"IN_TRANSIT","is_status_from_sealine":true,"events_mirrored":false,"events":[{"order_id":1,"location":1,"facility":2,"description":"Gate out Empty","event_type":"EQUIPMENT","event_code":"GTOT","status":"CEP","date":"2025-03-03 23:04:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":2,"location":1,"facility":3,"description":"Gate in","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-03-09 17:58:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":3,"location":1,"facility":3,"description":"Load","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-03-12 14:32:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":4,"location":1,"facility":3,"description":"Vessel departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-03-12 21:14:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":5,"location":2,"facility":1,"description":"Vessel arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-04-12 08:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"}]},{"number":"WNGU2504907","iso_code":"22G1","size_type":"20' Dry Standard","status":"IN_TRANSIT","is_status_from_sealine":true,"events_mirrored":false,"events":[{"order_id":1,"location":1,"facility":2,"description":"Gate out Empty","event_type":"EQUIPMENT","event_code":"GTOT","status":"CEP","date":"2025-03-04 22:04:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":2,"location":1,"facility":3,"description":"Gate in","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-03-09 16:39:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":3,"location":1,"facility":3,"description":"Load","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-03-12 14:51:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":4,"location":1,"facility":3,"description":"Vessel departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-03-12 21:14:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":5,"location":2,"facility":1,"description":"Vessel arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-04-12 08:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"}]},{"number":"WNGU2505842","iso_code":"22G1","size_type":"20' Dry Standard","status":"IN_TRANSIT","is_status_from_sealine":true,"events_mirrored":false,"events":[{"order_id":1,"location":1,"facility":2,"description":"Gate out Empty","event_type":"EQUIPMENT","event_code":"GTOT","status":"CEP","date":"2025-03-05 03:55:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":2,"location":1,"facility":3,"description":"Gate in","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-03-09 20:51:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":3,"location":1,"facility":3,"description":"Load","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-03-12 14:28:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":4,"location":1,"facility":3,"description":"Vessel departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-03-12 21:14:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":5,"location":2,"facility":1,"description":"Vessel arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-04-12 08:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"}]},{"number":"WNGU2505884","iso_code":"22G1","size_type":"20' Dry Standard","status":"IN_TRANSIT","is_status_from_sealine":true,"events_mirrored":false,"events":[{"order_id":1,"location":1,"facility":2,"description":"Gate out Empty","event_type":"EQUIPMENT","event_code":"GTOT","status":"CEP","date":"2025-03-04 22:04:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":2,"location":1,"facility":3,"description":"Gate in","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-03-09 16:39:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":3,"location":1,"facility":3,"description":"Load","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-03-12 14:51:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":4,"location":1,"facility":3,"description":"Vessel departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-03-12 21:14:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":5,"location":2,"facility":1,"description":"Vessel arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-04-12 08:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"}]},{"number":"WNGU2506176","iso_code":"22G1","size_type":"20' Dry Standard","status":"IN_TRANSIT","is_status_from_sealine":true,"events_mirrored":false,"events":[{"order_id":1,"location":1,"facility":2,"description":"Gate out Empty","event_type":"EQUIPMENT","event_code":"GTOT","status":"CEP","date":"2025-03-05 03:35:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":2,"location":1,"facility":3,"description":"Gate in","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-03-09 16:27:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":3,"location":1,"facility":3,"description":"Load","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-03-12 14:54:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":4,"location":1,"facility":3,"description":"Vessel departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-03-12 21:14:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":5,"location":2,"facility":1,"description":"Vessel arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-04-12 08:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"}]},{"number":"WNGU2507090","iso_code":"22G1","size_type":"20' Dry Standard","status":"IN_TRANSIT","is_status_from_sealine":true,"events_mirrored":false,"events":[{"order_id":1,"location":1,"facility":2,"description":"Gate out Empty","event_type":"EQUIPMENT","event_code":"GTOT","status":"CEP","date":"2025-03-05 03:55:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":2,"location":1,"facility":3,"description":"Gate in","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-03-09 20:48:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":3,"location":1,"facility":3,"description":"Load","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-03-12 14:42:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":4,"location":1,"facility":3,"description":"Vessel departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-03-12 21:14:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":5,"location":2,"facility":1,"description":"Vessel arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-04-12 08:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"}]},{"number":"WNGU2507233","iso_code":"22G1","size_type":"20' Dry Standard","status":"IN_TRANSIT","is_status_from_sealine":true,"events_mirrored":false,"events":[{"order_id":1,"location":1,"facility":2,"description":"Gate out Empty","event_type":"EQUIPMENT","event_code":"GTOT","status":"CEP","date":"2025-03-05 03:35:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":2,"location":1,"facility":3,"description":"Gate in","event_type":"EQUIPMENT","event_code":"GTIN","status":"CGI","date":"2025-03-09 16:29:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"land","transport_type":null,"vessel":null,"voyage":null},{"order_id":3,"location":1,"facility":3,"description":"Load","event_type":"EQUIPMENT","event_code":"LOAD","status":"CLL","date":"2025-03-12 14:45:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":4,"location":1,"facility":3,"description":"Vessel departure","event_type":"TRANSPORT","event_code":"DEPA","status":"VDL","date":"2025-03-12 21:14:00","actual":true,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"},{"order_id":5,"location":2,"facility":1,"description":"Vessel arrival","event_type":"TRANSPORT","event_code":"ARRI","status":"VAD","date":"2025-04-12 08:00:00","actual":false,"is_date_from_sealine":true,"is_additional_event":false,"type":"sea","transport_type":"VESSEL","vessel":1,"voyage":"510E"}]}],"route_data":{"route":[{"path":[[36.0649,120.3804],[35.5708,120.8286],[35.5612,120.8388],[35.5533,120.8501],[35.5472,120.8627],[33.8623,125.0356],[33.8562,125.0528],[33.8514,125.0703],[33.848,125.0882],[33.7223,125.9125],[33.7231,125.9275],[33.7307,125.9376],[33.745,125.9427],[33.7717,125.9468],[33.745,125.9427],[33.7298,125.9434],[33.7196,125.9508],[33.7143,125.9649],[33.7018,126.0464],[33.6994,126.053],[33.6948,126.0561],[33.6878,126.0556],[33.6999,126.0591],[33.6932,126.0585],[33.6894,126.0615],[33.6885,126.0681],[33.7481,126.9036],[33.7494,126.9217],[33.7507,126.9398],[33.752,126.9578],[33.91265092179989,129.18822808575646],[34.0022,130.4315],[34.003,130.4497],[34.0028,130.4679],[34.0015,130.486],[33.9839,130.6611],[33.9817,130.6801],[33.9786,130.699],[33.9749,130.7177],[33.9617,130.7775],[33.9569,130.7961],[33.9507,130.8142],[33.9431,130.8318],[33.9416,130.8349],[33.9341,130.8506],[33.9266,130.8663],[33.919,130.882],[33.9153,130.8897],[33.9115,130.9007],[33.9105,130.9119],[33.9124,130.9234],[33.9074,130.9062],[33.9117,130.9172],[33.9179,130.9269],[33.926,130.9355],[33.9269,130.9362],[33.9367,130.9454],[33.9456,130.9553],[33.9538,130.966],[33.954,130.9664],[33.961,130.9778],[33.9666,130.9898],[33.9708,131.0025],[33.9656,130.9831],[33.9694,131.0049],[33.969,131.0266],[33.9645,131.0483],[33.94,131.1264],[33.934,131.146],[33.9283,131.1657],[33.9229,131.1854],[33.6807,132.0855],[33.6766,132.1054],[33.6749,132.1255],[33.6757,132.1457],[33.721,132.5874],[33.7235,132.6081],[33.7267,132.6287],[33.7306,132.6492],[34.1492,134.6545],[34.1498,134.6699],[34.1444,134.6828],[34.1332,134.6933],[33.4787,135.1134],[33.4681,135.122],[33.4598,135.1324],[33.4538,135.1447],[33.2405,135.7489],[33.2367,135.7623],[33.2347,135.7759],[33.2343,135.7899],[37.4964,-123.081],[37.4979,-123.0649],[37.5011,-123.0491],[37.506,-123.0336],[37.591,-122.8085],[37.599,-122.7875],[37.6071,-122.7666],[37.6154,-122.7457],[37.8044,-122.2708]],"type":"SEA","transport_type":"VESSEL"}],"pin":[33.91265092179989,129.18822808575646],"ais":{"status":"OK","data":{"last_event":{"description":"Vessel departure","date":"2025-03-12 21:14:00","voyage":"510E"},"discharge_port":{"name":"Oakland","country_code":"US","code":"OAK","date":"2025-04-12 08:00:00","date_label":"ETA"},"vessel":{"name":"MAERSK SHIVLING","imo":9728253,"call_sign":"D5JH8","mmsi":636017104,"flag":"LR"},"last_vessel_position":{"lat":35.077282,"lng":128.80836,"updated_at":"2025-03-14 07:47:25"},"departure_port":{"country_code":"CN","code":"QDG","date":"2025-03-12 13:59:00","date_label":"ATD"},"arrival_port":{"country_code":"KR","code":"PUS","date":"2025-03-14 06:00:00","date_label":"ETA"},"updated_at":"2025-03-14 07:52:20"}}}}}}}}}}}}},"/route":{"get":{"summary":"Route information","operationId":"route-information","description":"Route information","parameters":[{"$ref":"#/components/parameters/api_key"},{"$ref":"#/components/parameters/number"},{"$ref":"#/components/parameters/typeNotNullable"},{"$ref":"#/components/parameters/sealineNotNullable"}],"security":[{"api_key":[]}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteWithAisSuccessOK"},"examples":{"success - OK":{"description":"The request has been successfully completed. There is information about the route","value":{"status":"success","message":"OK","data":{"route":[{"path":[[24.47979,118.08186999999998],[24.49113405,118.16722284999997],[24.54407295,118.56553615000001],[24.555417,118.650889],[24.667171049999997,119.08913065000002],[25.188689949999997,121.13425834999998],[25.300444,121.57249999999999],[22.586223249999996,145.20312079999997],[9.919859749999999,-104.5206488],[7.205639,-80.89002800000003],[7.210768099999999,-80.82246965000002],[7.2347039,-80.50719735000001],[7.239833,-80.439639],[7.28132885,-80.37256395000003],[7.47497615,-80.05954705000005],[7.516472,-79.99247200000002],[7.73054345,-79.92549055],[8.729543549999999,-79.61291045000002],[8.943615,-79.545929],[9.0070242,-79.59980015000002],[9.3029338,-79.85119885],[9.366343,-79.90507000000002],[10.99826245,-79.04075110000002],[18.61388655,-75.0072629],[20.245806,-74.142944],[21.998333337490987,-75.16153650059721],[30.176794245782254,-79.91496817005077],[31.92932158327324,-80.93356067064792],[32.08354,-81.09983]],"type":"SEA"},{"path":[[32.083221,-81.099869],[32.511677,-83.064117],[32.545055,-83.159081],[32.574947,-83.244308],[32.61055,-83.338669],[32.651413,-83.427612],[32.700237,-83.507416],[32.775661,-83.557938],[32.840862,-83.620949],[32.776787,-83.685692],[32.701237,-83.735214],[32.65374,-83.759544]],"type":"LAND"}],"pin":[18.801004244953855,178.15809506036499],"ais":{"status":"OK","data":{"last_event":{"description":"Vessel departed","date":"2023-06-01 14:15:00","voyage":"029E"},"discharge_port":{"name":"Savannah","country_code":"US","code":"SAV","date":"2023-07-13 19:00:00","date_label":"ETA"},"vessel":{"name":"YM WIDTH","imo":9708447,"call_sign":"VRPE5","mmsi":477129300,"flag":"HK"},"last_vessel_position":{"lat":6.026275,"lng":95.04732,"updated_at":"2023-06-14 13:06:55"},"departure_port":{"country_code":"SG","code":"SIN","date":"2023-06-13 13:09:00","date_label":"ATD"},"arrival_port":{"country_code":"EG","code":"SUZ","date":"2023-06-24 20:00:00","date_label":"ETA"},"updated_at":"2023-06-14 15:49:22"}}}}}}}}}}}},"/info/sealines":{"get":{"summary":"Shipping lines info","operationId":"shipping-lines-info","description":"Data about the shipping lines we support","responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SealinesSuccessOK"},"examples":{"success - OK":{"description":"Data on the shipping lines we support","value":{"status":"success","message":"OK","data":[{"name":"Mediterranean Shipping Company (MSC)","active":true,"active_types":{"ct":true,"bl":true,"bk":true,"bl_ct":false,"bk_ct":false},"maintenance":false,"scac_codes":["MSCU","MEDU"],"prefixes":["MSC","MSD","MSM","MSB","MSG","MAD","MSP","MSZ","GTI","MED","MSY","MST","MSN","MSV"]},{"name":"ZIM","active":true,"active_types":{"ct":true,"bl":true,"bk":true,"bl_ct":false,"bk_ct":false},"maintenance":false,"scac_codes":["ZIMU"],"prefixes":["ZCL","ZCS","ZIM","ZMO","ZWF"]}]}}}}}}},"security":[{"api_key":[]},{"api_key_header":[]}],"parameters":[{"$ref":"#/components/parameters/api_key"}]}},"/history":{"get":{"summary":"Historical data","operationId":"historical-data","description":"Historical shipping data","parameters":[{"$ref":"#/components/parameters/api_key"},{"$ref":"#/components/parameters/number"},{"$ref":"#/components/parameters/typeNotNullable"},{"$ref":"#/components/parameters/sealine"}],"security":[{"api_key":[]}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistorySuccessOK"},"examples":{"success - OK":{"description":"","value":{"status":"success","message":"OK","data":{"metadata":{"type":"CT","number":"MSKU7117653","sealine":"","sealine_name":null,"status":"UNKNOWN","updated_at":"2023-06-15 12:00:23","api_calls":{"total":100,"used":1,"remaining":99},"unique_shipments":{"total":0,"used":0,"remaining":0}},"requests":[{"date":"2021-07-25 10:58:04","sealine":"maeu","id":61118083},{"date":"2021-08-15 19:15:59","sealine":"maeu","id":67771922},{"date":"2022-02-03 06:23:53","sealine":"maeu","id":134036490},{"date":"2022-05-24 12:34:54","sealine":"maeu","id":182782146},{"date":"2022-06-22 09:08:02","sealine":"maeu","id":196885782},{"date":"2022-10-12 07:31:10","sealine":"maeu","id":260377336},{"date":"2023-02-03 05:28:37","sealine":"maeu","id":306555693},{"date":"2023-02-07 09:54:26","sealine":"maeu","id":308285366},{"date":"2023-05-22 07:25:51","sealine":"maeu","id":356065796},{"date":"2023-06-15 10:30:06","sealine":"maeu","id":366830221}]}}}}}}}}}},"/history?id={id}":{"get":{"summary":"Historical data by id","operationId":"historical-data-by-id","description":"Historical shipping data by id","parameters":[{"name":"id","in":"path","required":true,"description":"Unique request ID. Use [GET /history](https://docs.searates.com/reference/tracking/historical-data) to get a list of request id for the required shipping","schema":{"type":"integer"},"example":63242703},{"$ref":"#/components/parameters/api_key"},{"$ref":"#/components/parameters/number"},{"$ref":"#/components/parameters/typeNotNullable"},{"$ref":"#/components/parameters/sealine"}],"security":[{"api_key":[]}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoryByIdSuccessOK"},"examples":{"success - OK":{"description":"","value":{"status":"success","message":"OK","data":{"metadata":{"type":"CT","number":"MSKU7117653","sealine":"MAEU","sealine_name":"Maersk","status":"UNKNOWN","updated_at":"2021-08-01 14:13:44","api_calls":{"total":100,"used":1,"remaining":99},"unique_shipments":{"total":0,"used":0,"remaining":0}},"locations":[{"id":1,"name":"Ravenna","state":"Emilia-Romagna","country":"Italy","country_code":"IT","locode":"ITRAN","lat":44.41344,"lng":12.20121},{"id":2,"name":"Trieste","state":"Friuli Venezia Giulia","country":"Italy","country_code":"IT","locode":null,"lat":45.64953,"lng":13.77678},{"id":3,"name":"Tianjin Xingang","state":"Tianjin Shi","country":"China","country_code":"CN","locode":"CNTXG","lat":39.14222,"lng":117.17667}],"route":{"prepol":{"location":3,"date":"2021-06-19 16:01:00","actual":true},"pol":{"location":3,"date":"2021-06-22 18:00:00","actual":true},"pod":{"location":null,"date":"2021-08-17 19:00:00","actual":false,"predictive_eta":null},"postpod":{"location":1,"date":null,"actual":null}},"vessels":[{"id":1,"name":"MAERSK HONG KONG","imo":9784257,"call_sign":"9V5392","mmsi":563017800,"flag":"SG"},{"id":2,"name":"BF PHILIPP","imo":9123324,"call_sign":"V2HF2","mmsi":304688000,"flag":"AG"}],"containers":[{"number":"MSKU7117653","iso_code":"22G1","status":"UNKNOWN","events":[{"location":3,"description":"Gate out Empty","status":"CEP","date":"2021-06-19 16:01:00+00","actual":true,"type":"land","vessel":null,"voyage":null},{"location":3,"description":"Gate in","status":"CGI","date":"2021-06-22 18:00:00+00","actual":true,"type":"land","vessel":null,"voyage":null},{"location":3,"description":"Load","status":"CLL","date":"2021-06-24 13:26:00+00","actual":true,"type":"sea","vessel":1,"voyage":"125W"},{"location":2,"description":"Discharge","status":"CDT","date":"2021-08-11 19:00:00+00","actual":false,"type":"sea","vessel":1,"voyage":"125W"},{"location":2,"description":"Load","status":"CLT","date":"2021-08-28 07:00:00+00","actual":false,"type":"sea","vessel":2,"voyage":"2165"},{"location":1,"description":"Discharge","status":"CDT","date":"2021-08-28 07:00:06+00","actual":false,"type":"sea","vessel":2,"voyage":"2165"},{"location":1,"description":"Gate out","status":"LTS","date":"2021-08-28 07:00:13+00","actual":false,"type":"land","vessel":null,"voyage":null}]}]}}}}}}}}}}},"components":{"schemas":{"HistorySuccessOK":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/RequestStatusProperty"},"message":{"type":"string","description":"Request status description","enum":["OK","WRONG_PARAMETERS","WRONG_TYPE","WRONG_NUMBER","API_KEY_WRONG","API_KEY_ACCESS_DENIED","API_KEY_EXPIRED","API_KEY_LIMIT_REACHED","API_KEY_RATE_LIMIT"],"example":"OK"},"data":{"type":"object","description":"Data on request","properties":{"metadata":{"$ref":"#/components/schemas/Metadata"},"requests":{"type":"array","description":"List of all requests available in the database","nullable":true,"items":{"type":"object","properties":{"date":{"type":"string","description":"Request date","example":"2021-07-25 10:58:04"},"sealine":{"type":"string","description":"SCAC shipping line","example":"maeu"},"id":{"type":"integer","description":"Unique request ID","example":63242703}}},"example":[{"date":"2021-08-01 14:13:44","sealine":"maeu","id":63242703},{"date":"2021-08-01 22:18:39","sealine":"maeu","id":63306899}]}}}},"x-stoplight":{"id":"pxy9b57bbdcnc"}},"SealinesSuccessOK":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/RequestStatusProperty"},"message":{"type":"string","description":"Request status description","enum":["OK","UNEXPECTED_ERROR"],"example":"OK"},"data":{"type":"array","description":"Array of shipping lines","items":{"$ref":"#/components/schemas/SealineItem"}}},"x-stoplight":{"id":"ibufjnfkhllsd"}},"RouteWithAisSuccessOK":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/RequestStatusProperty"},"message":{"type":"string","description":"Request status description","enum":["OK","DONT_TRACKED","WRONG_PARAMETERS","WRONG_TYPE","WRONG_SEALINE","SEALINE_NOT_SUPPORTED","API_KEY_WRONG","API_KEY_ACCESS_DENIED","API_KEY_EXPIRED","UNEXPECTED_ERROR"],"example":"DONT_TRACKED"},"data":{"$ref":"#/components/schemas/RouteData"}},"x-stoplight":{"id":"fbqwphx47kh42"}},"SealineItem":{"type":"object","description":"Shipping line data","properties":{"name":{"type":"string","description":"Shipping line name","example":"CMA CGM"},"active":{"type":"boolean","description":"Shipping line support indicator","example":true},"active_types":{"type":"object","description":"Supported shipment reference types by shipping line","properties":{"ct":{"type":"boolean","description":"Indicates support for tracking by container number","example":true},"bl":{"type":"boolean","description":"Indicates support for tracking by bill of lading number","example":true},"bk":{"type":"boolean","description":"Indicates support for tracking by booking number","example":true},"bl_ct":{"type":"boolean","description":"Indicates support for tracking by a combined bill of lading number and container number in the format 'Bill of lading number / Container number' (e.g., 'BL12345678/ABCU1234567')","example":true},"bk_ct":{"type":"boolean","description":"Indicates support for tracking by a combined booking number and container number in the format 'Booking number / Container number' (e.g., 'BK12345678/ABCU1234567')","example":true}},"example":{"ct":true,"bl":true,"bk":true,"bl_ct":false,"bk_ct":false}},"maintenance":{"type":"boolean","description":"Indicator that the shipping line is under maintenance","example":false},"scac_codes":{"type":"array","description":"SCAC list","items":{"type":"string","minLength":4,"maxLength":4},"minItems":1,"example":["CMDU"]},"prefixes":{"type":"array","description":"List of container prefixes that belong to the shipping line","items":{"type":"string","minLength":3,"maxLength":3},"nullable":true,"example":["STM","OPD"]}},"x-stoplight":{"id":"z7ijcdsn6or0j"}},"RouteData":{"type":"object","description":"Route data","properties":{"route":{"type":"array","nullable":true,"description":"Array of route segments","items":{"$ref":"#/components/schemas/RouteItem"}},"pin":{"$ref":"#/components/schemas/SimpleCoordinatesPin"},"ais":{"$ref":"#/components/schemas/Ais"}},"x-stoplight":{"id":"jgkux3xu3r764"}},"TrackingByReferenceNumberSuccessOK":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/RequestStatusProperty"},"message":{"$ref":"#/components/schemas/RequestMessagePropertyForContainerAndReferenceApi"},"data":{"type":"object","description":"Data on request","properties":{"metadata":{"$ref":"#/components/schemas/Metadata"},"locations":{"type":"array","description":"An array with all locations","nullable":true,"items":{"$ref":"#/components/schemas/Location"}},"facilities":{"type":"array","description":"An array with all facilities","nullable":true,"items":{"$ref":"#/components/schemas/Facility"}},"route":{"$ref":"#/components/schemas/Route"},"vessels":{"type":"array","description":"Array with ships","nullable":true,"items":{"$ref":"#/components/schemas/Vessel"}},"containers":{"type":"array","description":"Array with containers","nullable":true,"items":{"$ref":"#/components/schemas/Container"}}}}},"x-stoplight":{"id":"ceik4mx9mh8yw"}},"TrackingByContainerNumberSuccessOK":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/RequestStatusProperty"},"message":{"$ref":"#/components/schemas/RequestMessagePropertyForContainerAndReferenceApi"},"data":{"type":"object","description":"Data on request","properties":{"metadata":{"$ref":"#/components/schemas/Metadata"},"locations":{"type":"array","description":"An array with all locations","nullable":true,"items":{"$ref":"#/components/schemas/Location"}},"facilities":{"type":"array","description":"An array with all facilities","nullable":true,"items":{"$ref":"#/components/schemas/Facility"}},"route":{"$ref":"#/components/schemas/Route"},"vessels":{"type":"array","description":"Array with ships","nullable":true,"items":{"$ref":"#/components/schemas/Vessel"}},"container":{"$ref":"#/components/schemas/Container"}}}},"x-stoplight":{"id":"ucdvaedjd9a43"}},"TrackingByAnyNumberSuccessOK":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/RequestStatusProperty"},"message":{"type":"string","description":"Response status description. See \"Response Statuses\" table","enum":["OK","SEALINE_HASNT_PROVIDE_INFO","NO_CONTAINERS","NO_EVENTS","WRONG_PARAMETERS","WRONG_NUMBER","WRONG_SEALINE","WRONG_TYPE","SEALINE_NO_RESPONSE","SEALINE_NOT_SUPPORTED","SEALINE_TEMPORARY_DISABLED","SEALINE_UNDER_MAINTENANCE","SEALINE_NOT_SUPPORT_SHIPMENT_TYPE","API_KEY_WRONG","API_KEY_ACCESS_DENIED","API_KEY_EXPIRED","API_KEY_LIMIT_REACHED","API_KEY_RATE_LIMIT","AUTO_CANT_DETECT_SEALINE","AUTO_CANT_DETECT_TYPE","AUTO_CANT_FIND_INFO","SEALINE_CANCELED_SHIPMENT","UNEXPECTED_ERROR"]},"data":{"type":"object","description":"Data on request","properties":{"metadata":{"$ref":"#/components/schemas/Metadata"},"locations":{"type":"array","description":"An array with all locations","nullable":true,"items":{"$ref":"#/components/schemas/Location"}},"facilities":{"type":"array","description":"An array with all facilities","nullable":true,"items":{"$ref":"#/components/schemas/Facility"}},"route":{"$ref":"#/components/schemas/Route"},"vessels":{"type":"array","description":"Array with ships","nullable":true,"items":{"$ref":"#/components/schemas/Vessel"}},"containers":{"type":"array","description":"Array with containers","nullable":true,"items":{"$ref":"#/components/schemas/Container"}},"route_data":{"type":"object","description":"Route information. Available only for requests with the \"route\" parameter","nullable":true,"properties":{"route":{"type":"array","nullable":true,"description":"Array of route segments","items":{"$ref":"#/components/schemas/RouteItem"}},"pin":{"$ref":"#/components/schemas/SimpleCoordinatesPin"},"ais":{"$ref":"#/components/schemas/Ais"}}}}}},"x-stoplight":{"id":"48t0a2qei747t"}},"HistoryByIdSuccessOK":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/RequestStatusProperty"},"message":{"type":"string","description":"Request status description. See \"Request Statuses\" table","enum":["OK","SEALINE_HASNT_PROVIDE_INFO","NO_CONTAINERS","NO_EVENTS","WRONG_PARAMETERS","WRONG_NUMBER","WRONG_SEALINE","WRONG_TYPE","SEALINE_NO_RESPONSE","SEALINE_NOT_SUPPORTED","SEALINE_TEMPORARY_DISABLED","SEALINE_UNDER_MAINTENANCE","SEALINE_NOT_SUPPORT_SHIPMENT_TYPE","API_KEY_WRONG","API_KEY_ACCESS_DENIED","API_KEY_EXPIRED","API_KEY_LIMIT_REACHED","API_KEY_RATE_LIMIT","AUTO_CANT_DETECT_SEALINE","AUTO_CANT_DETECT_TYPE","AUTO_CANT_FIND_INFO","SEALINE_CANCELED_SHIPMENT","UNEXPECTED_ERROR"]},"data":{"type":"object","description":"Data on request","properties":{"metadata":{"$ref":"#/components/schemas/Metadata"},"locations":{"type":"array","description":"An array with all locations","nullable":true,"items":{"$ref":"#/components/schemas/Location"}},"facilities":{"type":"array","description":"An array with all facilities","nullable":true,"items":{"$ref":"#/components/schemas/Facility"}},"route":{"$ref":"#/components/schemas/Route"},"vessels":{"type":"array","description":"Array with ships","nullable":true,"items":{"$ref":"#/components/schemas/Vessel"}},"containers":{"type":"array","description":"Array with containers","nullable":true,"items":{"$ref":"#/components/schemas/Container"}},"route_data":{"type":"object","description":"Route information. Available only for requests with the \"route\" parameter","nullable":true,"properties":{"route":{"type":"array","nullable":true,"description":"Array of route segments","items":{"$ref":"#/components/schemas/RouteItem"}},"pin":{"$ref":"#/components/schemas/SimpleCoordinatesPin"},"ais":{"$ref":"#/components/schemas/Ais"}}}}}},"x-stoplight":{"id":"lqg3q5dc19qcd"}},"Metadata":{"type":"object","description":"Additional data on request","properties":{"type":{"type":"string","description":"Type of shipment number\n\n `CT` - Container number \n\n`BL` - Bill of lading number \n\n`BK` - Booking number \n\nIf this parameter will be empty or not presented at all in the query, we will try to determine the type of shipment number.","enum":["CT","BL","BK"],"example":"BL"},"number":{"type":"string","description":"Shipment number","example":"HLCUXM1230445340"},"sealine":{"type":"string","description":"Standard Carrier Alpha Code (SCAC)","nullable":true,"example":"HLCU"},"sealine_name":{"type":"string","description":"Carrier name","nullable":true,"example":"Hapag-Lloyd"},"status":{"$ref":"#/components/schemas/ShippingStatusProperty"},"is_status_from_sealine":{"$ref":"#/components/schemas/IsStatusFromSealineProperty"},"from_cache":{"type":"boolean","description":"A boolean value indicating whether the response was received from the cache (true) or directly from the sealine (false)","example":true},"updated_at":{"type":"string","description":"The date the data was received from the carrier. Date for UTC","nullable":true,"example":"2023-06-06 08:15:15"},"cache_expires":{"type":"string","description":"The date before which the data for the current request was cached in our database. Date for UTC","nullable":true,"example":"2023-06-06 14:15:15"},"api_calls":{"type":"object","description":"Data on the number of api calls","properties":{"total":{"type":"integer","description":"Total number of api calls available for the current month","nullable":true,"default":null,"example":30000},"used":{"type":"integer","description":"The total number of api calls in the current month","nullable":true,"default":null,"example":25000},"remaining":{"type":"integer","description":"The balance of api calls for the current month","nullable":true,"default":null,"example":5000}}},"unique_shipments":{"type":"object","description":"Data on the number of unique shipments","properties":{"total":{"type":"integer","description":"Total number of unique shipments available for the current month","nullable":true,"default":0,"example":1000},"used":{"type":"integer","description":"The total number of unique shipments in the current month","nullable":true,"default":0,"example":750},"remaining":{"type":"integer","description":"The balance of unique shipments for the current month","nullable":true,"default":0,"example":250}}}},"x-stoplight":{"id":"dpmdtx34idh8t"}},"Route":{"type":"object","description":"Information on the route","properties":{"prepol":{"type":"object","description":"Place of dispatch","properties":{"location":{"$ref":"#/components/schemas/LocationProperty"},"date":{"type":"string","description":"Arrival date","nullable":true,"example":"2023-05-24 13:25:00"},"actual":{"$ref":"#/components/schemas/ActualProperty"}}},"pol":{"type":"object","description":"Port of loading","properties":{"location":{"$ref":"#/components/schemas/LocationProperty"},"date":{"type":"string","description":"In most cases, this is the date of departure of the ship from the port of loading. In some cases it may be the date of loading of the container or the date of arrival of the container at the port of loading","nullable":true,"example":"2023-05-24 18:44:00"},"actual":{"$ref":"#/components/schemas/ActualProperty"}}},"pod":{"type":"object","description":"Port of discharge","properties":{"location":{"$ref":"#/components/schemas/LocationProperty"},"date":{"type":"string","description":"Date of the first received event in the final/last port of discharge. As per rule this is the date of arrival","nullable":true,"example":"2023-07-09 22:30:00"},"actual":{"$ref":"#/components/schemas/ActualProperty"},"predictive_eta":{"type":"string","description":"If the line did not provide an arrival date, we will calculate it","nullable":true,"example":"2023-07-09 22:30:00"}}},"postpod":{"type":"object","description":"Destination","properties":{"location":{"$ref":"#/components/schemas/LocationProperty"},"date":{"type":"string","description":"Date of the first received event in the last destination point/location","nullable":true,"example":"2023-05-30 20:30:00"},"actual":{"$ref":"#/components/schemas/ActualProperty"}}}},"x-stoplight":{"id":"bcfhk8vu52epm"}},"ActualProperty":{"type":"boolean","description":"If the date is true - it was confirmed by carrier, if false - it is estimated, if null - not defined yet","nullable":true,"example":true,"x-stoplight":{"id":"hg4lvd765r59i"}},"LocationProperty":{"type":"integer","description":"Unique identifier (id) from the locations array","nullable":true,"example":1,"x-stoplight":{"id":"xw6nzmdifib95"}},"FacilityProperty":{"type":"integer","description":"Unique identifier (id) from the facilities array","nullable":true,"example":1},"ShippingStatusProperty":{"type":"string","description":"Shipping status: \n\n `PLANNED` - Shipment is scheduled but not yet started. Container awaits pickup or loading \n\n `IN_TRANSIT` -  Container is actively being transported to its destination \n\n `DELIVERED` - Container has been successfully delivered to the destination and handed over to recipient \n\n `CANCELLED` - Shipment has been cancelled and will not be completed as originally planned \n\n `UNKNOWN` - Status cannot be determined or information is unavailable","default":"UNKNOWN","enum":["PLANNED","IN_TRANSIT","DELIVERED","CANCELLED","UNKNOWN"],"example":"IN_TRANSIT","x-stoplight":{"id":"sppqbq40qx2p2"}},"IsStatusFromSealineProperty":{"type":"boolean","description":"Source of shipping status: \n\n `true` - from sealine; \n\n `false` - was calculated based on the dates","nullable":true,"example":true},"EventsMirroredProperty":{"type":"boolean","description":"Indicates whether events are mirrored (copied) from another container: \n\n `true` - events are mirrored from another container; \n\n `false` - events are native to this container","example":true},"RequestMessagePropertyForContainerAndReferenceApi":{"type":"string","description":"Response status description. See \"Response Statuses\" table","enum":["OK","SEALINE_HASNT_PROVIDE_INFO","NO_CONTAINERS","NO_EVENTS","WRONG_PARAMETERS","WRONG_NUMBER","WRONG_SEALINE","WRONG_TYPE","SEALINE_NO_RESPONSE","SEALINE_NOT_SUPPORTED","SEALINE_NOT_SUPPORT_SHIPMENT_TYPE","API_KEY_WRONG","API_KEY_ACCESS_DENIED","API_KEY_EXPIRED","API_KEY_LIMIT_REACHED","API_KEY_RATE_LIMIT","SEALINE_CANCELED_SHIPMENT","UNEXPECTED_ERROR"],"x-stoplight":{"id":"wpzq7rkxtvu2c"}},"RequestStatusProperty":{"type":"string","description":"Request Status: \n\n `success` - upon successful completion of the request; \n\n `error` - when an error occurs","enum":["success","error"],"x-stoplight":{"id":"1cwso860eirir"}},"Container":{"type":"object","properties":{"number":{"type":"string","description":"Container number. \n\n In some cases, the carrier may provide an invalid container number, in which case we will provide - UNKNOWN","example":"UACU5710126"},"iso_code":{"type":"string","description":"Container ISO code","nullable":true,"example":"45G1"},"size_type":{"type":"string","description":"Container size and type","nullable":true,"example":"40' High Cube Dry"},"status":{"$ref":"#/components/schemas/ShippingStatusProperty"},"is_status_from_sealine":{"$ref":"#/components/schemas/IsStatusFromSealineProperty"},"events_mirrored":{"$ref":"#/components/schemas/EventsMirroredProperty"},"events":{"type":"array","description":"Array with events","nullable":true,"items":{"$ref":"#/components/schemas/Event"}}},"x-stoplight":{"id":"hupykjv86mmqq"}},"Event":{"type":"object","properties":{"order_id":{"type":"integer","description":"The sequence number of the event","example":1},"location":{"$ref":"#/components/schemas/LocationProperty"},"facility":{"$ref":"#/components/schemas/FacilityProperty"},"description":{"type":"string","description":"Event Description","example":"Gate out empty"},"event_type":{"type":"string","description":"The type of event. \n\n `SHIPMENT` - Shipment event,\n\n `TRANSPORT` - Transport event,\n\n `EQUIPMENT` - Equipment event","nullable":true,"enum":["SHIPMENT","TRANSPORT","EQUIPMENT"],"example":"EQUIPMENT"},"event_code":{"type":"string","description":"Event code. \n\n `TRANSPORT`\n\n `ARRI` - Arrived,\n\n `DEPA` - Departed,\n\n `EQUIPMENT`\n\n `LOAD` - Loaded,\n\n `DISC` - Discharged,\n\n `GTIN` - Gated in,\n\n `GTOT` - Gated out,\n\n `STUF` - Stuffed,\n\n `STRP` - Stripped,\n\n `PICK` - Pick-up,\n\n `AVPU` - Available for Pick-up,\n\n `DROP` - Drop-off,\n\n `AVDO` - Available for Drop-off,\n\n `INSP` - Inspected,\n\n `RSEA` - Resealed,\n\n `RMVD` - Removed,\n\n `CUSS` - Customs Selected for Scan,\n\n `CUSI` - Customs Selected for Inspection,\n\n `CUSR` - Customs Released,\n\n `CROS` - Crossed,\n\n `SHIPMENT`\n\n `RECE` - Received,\n\n `DRFT` - Drafted,\n\n `PENA` - Pending Approval,\n\n `PENU` - Pending Update,\n\n `PENC` - Pending Confirmation,\n\n `CONF` - Confirmed,\n\n `REJE` - Rejected,\n\n `APPR` - Approved,\n\n `ISSU` - Issued,\n\n `SURR` - Surrendered,\n\n `SUBM` - Submitted,\n\n `VOID` - Void,\n\n `REQS` - Requested,\n\n `CMPL` - Completed,\n\n `HOLD` - On Hold,\n\n `RELS` - Released,\n\n `CANC` - Cancelled","nullable":true,"enum":["ARRI","DEPA","LOAD","DISC","GTIN","GTOT","STUF","STRP","PICK","AVPU","DROP","AVDO","INSP","RSEA","RMVD","CUSS","CUSI","CUSR","CROS","RECE","DRFT","PENA","PENU","PENC","CONF","REJE","APPR","ISSU","SURR","SUBM","VOID","REQS","CMPL","HOLD","RELS","CANC"],"example":"LOAD"},"status":{"type":"string","description":"3 character event code. \n\n `CEP` - Container empty to shipper,\n\n `CPS` - Container pickup at shipper,\n\n `CGI` - Container arrival at first POL (Gate in),\n\n `CLL` - Container loaded at first POL,\n\n `VDL` - Vessel departure from first POL,\n\n `VAT` - Vessel arrival at T/S port,\n\n `CDT` - Container discharge at T/S port,\n\n `TSD` - Transshipment Delay,\n\n `CLT` - Container loaded at T/S port,\n\n `VDT` - Vessel departure from T/S,\n\n `VAD` - Vessel arrival at final POD,\n\n `CDD` - Container discharge at final POD,\n\n `CGO` - Container departure from final POD (Gate out),\n\n `CDC` - Container delivery to consignee,\n\n `CER` - Container empty return to depot,\n\n `LTS` - Land transshipment,\n\n `BTS` - Barge transshipment,\n\n `UNK` - Unknown","default":"UNK","enum":["CEP","CPS","CGI","CLL","VDL","VAT","CDT","TSD","CLT","VDT","VAD","CDD","CGO","CDC","CER","LTS","BTS","UNK"],"example":"VAD"},"date":{"type":"string","description":"Event date","example":"2023-05-24 13:25:00"},"actual":{"$ref":"#/components/schemas/ActualProperty"},"is_date_from_sealine":{"type":"boolean","description":"Source of event date: \n\n `true` - from sealine; \n\n `false` - calculated on the basis of some logic","example":true},"is_additional_event":{"type":"boolean","description":"An indication of whether the event was provided by the carrier or created based on additional data","example":false},"type":{"type":"string","description":"Description of the event location. Valid Values: \n\n `sea` - for events related to the sea; \n\n `land` - for land related events","enum":["sea","land"],"example":"sea"},"transport_type":{"type":"string","description":"Type of transport","nullable":true,"enum":["VESSEL","BARGE","FEEDER","TRUCK","RAIL","AIR",null],"example":"VESSEL"},"vessel":{"type":"integer","description":"Unique identifier (id) from vessels array","nullable":true,"example":1},"voyage":{"type":"string","description":"Sea voyage identifier","nullable":true,"example":"029E"}},"x-stoplight":{"id":"akd8jm4avx16g"}},"Vessel":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier","example":1},"name":{"type":"string","description":"Vessel name","example":"YM WIDTH"},"imo":{"type":"integer","description":"Unique identifier of the vessel","nullable":true,"example":9708447},"call_sign":{"type":"string","description":"Call sign of the ship","nullable":true,"example":"VRPE5"},"mmsi":{"type":"integer","description":"Maritime Mobile Service Identity","nullable":true,"example":477129300},"flag":{"type":"string","description":"Country Code (2 characters)","nullable":true,"example":"HK"}},"x-stoplight":{"id":"1iljjxcuhwt5r"}},"Location":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier","example":1},"name":{"type":"string","description":"The name of the location. It can be a city or any other settlement","example":"Savannah"},"state":{"type":"string","description":"First level administrative unit (district, state, province, region, county, department, ...)","nullable":true,"example":"Georgia"},"country":{"type":"string","description":"Country name","nullable":true,"example":"United States"},"country_code":{"type":"string","description":"Country code (2 characters)","nullable":true,"example":"US"},"locode":{"type":"string","description":"UN/LOCODE","nullable":true,"example":"USSAV"},"lat":{"type":"number","description":"Latitude","nullable":true,"example":32.08354},"lng":{"type":"number","description":"Longitude","nullable":true,"example":-81.09983},"timezone":{"type":"string","description":"Time zone name","nullable":true,"example":"Asia/Shanghai"}},"x-stoplight":{"id":"4bgunwjfz0i2c"}},"Facility":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier","example":1},"name":{"type":"string","description":"The name of the facility","example":"DP WORLD JEBEL ALI - CT1"},"country_code":{"type":"string","description":"Country code (2 characters)","nullable":true,"example":"US"},"locode":{"type":"string","description":"UN/LOCODE","nullable":true,"example":"AEJEA"},"bic_code":{"type":"string","description":"A unique, harmonized code to identify container facilities","nullable":true,"example":"AEJEAJUHG"},"smdg_code":{"type":"string","description":"The SMDG Terminal Code is a unique identifier assigned to container terminals","nullable":true,"example":"DPWJA"},"lat":{"type":"number","description":"Latitude","nullable":true,"example":32.08354},"lng":{"type":"number","description":"Longitude","nullable":true,"example":-81.09983}}},"Ais":{"type":"object","properties":{"status":{"type":"string","description":"","enum":["OK","NOT_ON_BOARD","NO_AIS_DATA"],"example":"NOT_ON_BOARD"},"data":{"type":"object","properties":{"last_event":{"type":"object","description":"The latest event provided by the shipping line","properties":{"description":{"type":"string","description":"Event description","example":"Vessel departed"},"date":{"type":"string","description":"Event date","example":"2023-06-01 14:15:00"},"voyage":{"type":"string","description":"Event voyage","example":"029E"}}},"discharge_port":{"type":"object","description":"Data of the final port of discharge received from the shipping line","properties":{"name":{"type":"string","description":"The name of the location. It can be a city or any other settlement","nullable":true,"example":"Savannah"},"country_code":{"type":"string","description":"Country code (2 characters)","nullable":true,"example":"US"},"code":{"type":"string","description":"Port code","nullable":true,"example":"SAV"},"date":{"type":"string","description":"Arrival date","nullable":true,"example":"2023-07-13 19:00:00"},"date_label":{"type":"string","description":"Shows if the event has already happened, \n\n `ETA` - planned, \n\n `ATA` - actual or null, if the shipping line didn’t provide the arrival date","nullable":true,"enum":["ETA","ATA"],"example":"ETA"}}},"vessel":{"type":"object","properties":{"name":{"type":"string","description":"Vessel name","example":"YM WIDTH"},"imo":{"type":"integer","description":"Unique identifier of the vessel","nullable":true,"example":9708447},"call_sign":{"type":"string","description":"Call sign of the ship","nullable":true,"example":"VRPE5"},"mmsi":{"type":"integer","description":"Maritime Mobile Service Identity","nullable":true,"example":477129300},"flag":{"type":"string","description":"Country Code (2 characters)","nullable":true,"example":"HK"}}},"last_vessel_position":{"type":"object","description":"AIS data of the vessel position","properties":{"lat":{"type":"number","description":"Latitude","nullable":true,"example":6.026275},"lng":{"type":"number","description":"Longitude","nullable":true,"example":95.04732},"updated_at":{"type":"string","description":"Time when the AIS data was received based on Universal Time (UTC)","nullable":true,"example":"2023-06-14 13:06:55"}}},"departure_port":{"type":"object","description":"Data on Port of Loading (POL). \n\n `Note` This is not necessarily related to the first POL for the requested shipment, and it doesn’t mean that any changes will occur to the requested container/containers; it may just be an intermediate port where the vessel enters)","properties":{"country_code":{"type":"string","description":"Country code (2 characters)","nullable":true,"example":"SG"},"code":{"type":"string","description":"Port code","nullable":true,"example":"SIN"},"date":{"type":"string","description":"Departure date","nullable":true,"example":"2023-06-13 13:09:00"},"date_label":{"type":"string","description":"Shows if the event has already happened, \n\n `ETD` - planned, \n\n `ATD` - actual or null, if the shipping line didn’t provide the departure date","nullable":true,"enum":["ETD","ATD"],"example":"ATD"}}},"arrival_port":{"type":"object","description":"Data on Port of Discharge (POD). \n\n `Note` This is not necessarily related to the last POD for the requested shipment, and it doesn’t mean that any changes will occur to the requested container/containers; it may just be an intermediate port where the vessel enters)","properties":{"country_code":{"type":"string","description":"Country code (2 characters)","nullable":true,"example":"EG"},"code":{"type":"string","description":"Port code","nullable":true,"example":"SUZ"},"date":{"type":"string","description":"Arrival date","nullable":true,"example":"2023-06-24 20:00:00"},"date_label":{"type":"string","description":"Shows if the event has already happened, \n\n `ETA` - planned, \n\n `ATA` - actual or null, if the shipping line didn’t provide the arrival date","nullable":true,"enum":["ETA","ATA"],"example":"ATA"}}},"updated_at":{"type":"string","description":"Shows the last time the AIS data was requested based on UTC (frequency of updates: 1 time / hour)","example":"2023-06-14 15:49:22"}},"nullable":true}},"x-stoplight":{"id":"60jv7nrgiozhq"}},"RouteItem":{"type":"object","properties":{"path":{"type":"array","description":"Array of route coordinates. The first element of the array is the latitude and the second is the longitude.","items":{"$ref":"#/components/schemas/SimpleCoordinates"}},"type":{"type":"string","description":"Route type","enum":["SEA","LAND"],"example":"SEA"},"transport_type":{"type":"string","description":"Type of transport","enum":["VESSEL","BARGE","FEEDER","TRUCK","RAIL"],"example":"VESSEL"},"from":{"description":"Departure Location Data (for the specified route segment)","$ref":"#/components/schemas/Location"},"to":{"description":"Arrival Location Data (for the specified route segment)","$ref":"#/components/schemas/Location"},"vessel":{"description":"Vessel Data","$ref":"#/components/schemas/Vessel"}},"x-stoplight":{"id":"ffkbgo349ahsa"}},"SimpleCoordinates":{"type":"array","description":"The first element of the array is the latitude and the second is the longitude.","items":{"type":"number"},"minItems":2,"maxItems":2,"example":[24.47979,118.08186999999998],"x-stoplight":{"id":"qgdbhk9yfu2v7"}},"SimpleCoordinatesPin":{"type":"array","description":"Current container position. The first element of the array is the latitude and the second is the longitude.","items":{"type":"number"},"minItems":2,"maxItems":2,"nullable":true,"example":[24.47979,118.08186999999998],"x-stoplight":{"id":"c4jl6d9r7jh0z"}}},"parameters":{"sealine":{"name":"sealine","in":"query","required":false,"description":"Standard Carrier Alpha Code (SCAC). A list of supported lines can be obtained from the following API - see [GET /info/sealines](https://docs.searates.com/reference/tracking/shipping-lines-info) \n\n If this parameter is empty or equal to auto or not represented at all in the query, we will try to determine the shipping line automatically.","example":"maeu","schema":{"type":"string","default":"auto"}},"sealineNotNullable":{"name":"sealine","in":"query","required":true,"description":"Standard Carrier Alpha Code (SCAC). A list of supported lines can be obtained from the following API - see [GET /info/sealines](https://docs.searates.com/reference/tracking/shipping-lines-info)","example":"maeu","schema":{"type":"string"}},"api_key":{"name":"api_key","in":"query","required":true,"description":"Your API key. If you do not have an api key - contact us to purchase a subscription.","schema":{"type":"string"}},"number":{"name":"number","in":"query","required":true,"description":"Container number, Bill of Lading or Booking number. \n\nFor certain sealines, tracking is supported using a combined number in the format `Bill of Lading Number/Container Number` or `Booking Number/Container Number` (e.g., `BL12345678/ABCU1234567` or `BK12345678/ABCU1234567`).","example":"MRKU7181100","schema":{"type":"string"}},"type":{"name":"type","in":"query","required":false,"description":"Type of shipment number\n\n `CT` - Container number \n\n`BL` - Bill of lading number \n\n`BK` - Booking number \n\nIf this parameter will be empty or not presented at all in the query, we will try to determine the type of shipment number.","example":"BL","schema":{"type":"string","nullable":true,"enum":["CT","BL","BK"]}},"typeNotNullable":{"name":"type","in":"query","required":true,"description":"Type of shipment number\n\n `CT` - Container number \n\n`BL` - Bill of lading number \n\n`BK` - Booking number","example":"BL","schema":{"type":"string","enum":["CT","BL","BK"]}},"force_update":{"name":"force_update","in":"query","description":"Obtaining data directly from the shipping line or from a cache with minimal retention time. If this parameter is set to true, the execution time of the request may be longer!","example":false,"schema":{"type":"boolean","default":false,"nullable":true}},"route":{"name":"route","in":"query","required":false,"description":"If you need detailed route data, then set this parameter to true. If this parameter is set to true, the execution time of the request may be longer!","example":false,"schema":{"type":"boolean","default":false,"nullable":true}},"ais":{"name":"ais","in":"query","required":false,"description":"If you need AIS data by vessel - set this parameter to true. This parameter is taken into account only when the \"route\" parameter in the query parameters is true. If this parameter is set to true, the execution time of the request may be longer!","example":false,"schema":{"type":"boolean","default":false,"nullable":true}}},"securitySchemes":{"api_key":{"type":"apiKey","name":"api_key","in":"query","description":"Your API key. If you do not have an API key - contact us to purchase a subscription."},"api_key_header":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your API key. If you do not have an API key - contact us to purchase a subscription."}}}}