Get FCL Rates


{
  shipment: fcl(from: [50.4501, 30.5234],to: [29.868336, 121.54399],currency: USD, ST20: 1, date: "2021-01-29") {
  shipmentId
    transportationMode
    incoterms
    currency
    cityFrom: city(mode: EXPORT) {
      ...cityFields
    }
    cityTo: city(mode: IMPORT) {
      ...cityFields
    }
    portFrom: port(mode: EXPORT) {
      ...portFields
    }
    portTo: port(mode: IMPORT) {
      ...portFields
    }
    oceanFreight {
      ...ratesFields
    }
  }
  default {
    services
  }
}

fragment ratesFields on OceanFreight {
  shippingLine
  logo
  containerCode
  containerType
  quantity
  validTo
  linerTerms
  price
  distance
  transitTime
  transportFrom
  transportTo
  portFeesFrom: portFees(mode: EXPORT) {
    ...portFeesFields
  }
  portFeesTo: portFees(mode: IMPORT) {
    ...portFeesFields
  }
  truckFrom: truck(mode: EXPORT) {
    price
    distance
    transitTime
    interpolation
  }
  truckTo: truck(mode: IMPORT) {
    price
    distance
    transitTime
    interpolation
  }
  railFrom: rail(mode: EXPORT) {
    price
    distance
    transitTime
    interpolation
  }
  railTo: rail(mode: IMPORT) {
    price
    distance
    transitTime
    interpolation
  }
  dryFrom: dry(mode: EXPORT) {
    price
    distance
    transitTime
    interpolation
    city(mode: EXPORT) {
      ...cityFields
    }
  }
  dryTo: dry(mode: IMPORT) {
    price
    distance
    transitTime
    interpolation
    city(mode: IMPORT) {
      ...cityFields
    }
  }
}

fragment cityFields on City {
  id
  name
  code
  countryCode
  lat
  lng
}

fragment portFields on Port {
  id
  name
  code
  countryCode
  lat
  lng
}

fragment portFeesFields on PortFees {
  abbr
  title
  price
  perLot
}
                              

{
  "data": {
    "shipment": [
      {
        "shipmentId": "SR-107733",
        "transportationMode": "ocean",
        "incoterms": null,
        "currency": "USD",
        "cityFrom": {
          "id": 265,
          "name": "Kiev, Ukraine, 02000",
          "code": "ChIJBUVa4U7P1EAR_kYBF9IxSXY",
          "countryCode": "UA",
          "lat": 50.4501,
          "lng": 30.5234
        },
        "cityTo": {
          "id": 625,
          "name": "Jiaxing",
          "code": "ChIJ91gIY1RjTTQRc_HMRvgjh5Q",
          "countryCode": "CN",
          "lat": 29.868336,
          "lng": 121.543991
        },
        "portFrom": {
          "id": 409,
          "name": "Chornomorsk",
          "code": "UAILK",
          "countryCode": "UA",
          "lat": 46.337529876646,
          "lng": 30.677839053341877
        },
        "portTo": {
          "id": 674,
          "name": "Ningbo",
          "code": "CNNGB",
          "countryCode": "CN",
          "lat": 29.87187673128037,
          "lng": 121.55940382870983
        },
        "oceanFreight": [
          {
            "shippingLine": "HLCU",
            "logo": "https:\/\/www.searates.com\/design\/images\/freight\/sealine_cort\/7.jpg",
            "containerCode": "ST20",
            "containerType": "20 Standard",
            "quantity": 1,
            "validTo": "2021-01-31",
            "linerTerms": null,
            "price": 914,
            "distance": "15036.46 km",
            "transitTime": "31 days",
            "transportFrom": null,
            "transportTo": null,
            "portFeesFrom": [
              {
                "abbr": "ADE",
                "title": "Agency Documentation Fee Exports",
                "price": 50,
                "perLot": true
              },
              {
                "abbr": "B\/L",
                "title": "Bill of lading fee",
                "price": 30,
                "perLot": true
              },
              {
                "abbr": "EXP",
                "title": "Export Service",
                "price": 120,
                "perLot": false
              },
              {
                "abbr": "OTHC",
                "title": "Original Terminal Handling Charge",
                "price": 313,
                "perLot": false
              }
            ],
            "portFeesTo": [
              {
                "abbr": "DDF",
                "title": "Documentation Fee - Destination",
                "price": 70,
                "perLot": true
              },
              {
                "abbr": "DTHC",
                "title": "Destination Terminal Handling Charge",
                "price": 375,
                "perLot": false
              }
            ],
            "truckFrom": {
              "price": 653,
              "distance": "525.81 km",
              "transitTime": "1 day",
              "interpolation": false
            },
            "truckTo": {
              "price": 150,
              "distance": "1.49 km",
              "transitTime": "1 day",
              "interpolation": true
            },
            "railFrom": {
              "price": 500,
              "distance": "473.13 km",
              "transitTime": "1 day",
              "interpolation": false
            },
            "railTo": {
              "price": 150,
              "distance": "1.49 km",
              "transitTime": "1 day",
              "interpolation": false
            },
            "dryFrom": null,
            "dryTo": null
          }
        ]
      },
      {
        "shipmentId": "SR-107734",
        "transportationMode": "ocean",
        "incoterms": null,
        "currency": "USD",
        "cityFrom": {
          "id": 265,
          "name": "Kiev, Ukraine, 02000",
          "code": "ChIJBUVa4U7P1EAR_kYBF9IxSXY",
          "countryCode": "UA",
          "lat": 50.4501,
          "lng": 30.5234
        },
        "cityTo": {
          "id": 625,
          "name": "Jiaxing",
          "code": "ChIJ91gIY1RjTTQRc_HMRvgjh5Q",
          "countryCode": "CN",
          "lat": 29.868336,
          "lng": 121.543991
        },
        "portFrom": {
          "id": 11978,
          "name": "Constanta",
          "code": "ROCND",
          "countryCode": "RO",
          "lat": 44.17156419271365,
          "lng": 28.66426171998168
        },
        "portTo": {
          "id": 674,
          "name": "Ningbo",
          "code": "CNNGB",
          "countryCode": "CN",
          "lat": 29.87187673128037,
          "lng": 121.55940382870983
        },
        "oceanFreight": [
          {
            "shippingLine": null,
            "logo": "https:\/\/www.searates.com\/design\/images\/freight\/sealine_cort\/0.jpg",
            "containerCode": "ST20",
            "containerType": "20 Standard",
            "quantity": 1,
            "validTo": "2021-01-31",
            "linerTerms": null,
            "price": 485,
            "distance": "14783.87 km",
            "transitTime": "42 days",
            "transportFrom": null,
            "transportTo": null,
            "portFeesFrom": [],
            "portFeesTo": [
              {
                "abbr": "DTHC",
                "title": "Destination Terminal Handling Charge",
                "price": 375,
                "perLot": false
              },
              {
                "abbr": null,
                "title": null,
                "price": 70,
                "perLot": null
              }
            ],
            "truckFrom": {
              "price": 1038,
              "distance": "974.41 km",
              "transitTime": "1 days",
              "interpolation": true
            },
            "truckTo": {
              "price": 150,
              "distance": "1.49 km",
              "transitTime": "1 day",
              "interpolation": true
            },
            "railFrom": {
              "price": 0,
              "distance": "974.41 km",
              "transitTime": "1 days",
              "interpolation": false
            },
            "railTo": {
              "price": 150,
              "distance": "1.49 km",
              "transitTime": "1 day",
              "interpolation": false
            },
            "dryFrom": null,
            "dryTo": null
          }
        ]
      },
      {
        "shipmentId": "SR-107735",
        "transportationMode": "ocean",
        "incoterms": null,
        "currency": "USD",
        "cityFrom": {
          "id": 265,
          "name": "Kiev, Ukraine, 02000",
          "code": "ChIJBUVa4U7P1EAR_kYBF9IxSXY",
          "countryCode": "UA",
          "lat": 50.4501,
          "lng": 30.5234
        },
        "cityTo": {
          "id": 625,
          "name": "Jiaxing",
          "code": "ChIJ91gIY1RjTTQRc_HMRvgjh5Q",
          "countryCode": "CN",
          "lat": 29.868336,
          "lng": 121.543991
        },
        "portFrom": {
          "id": 26948,
          "name": "Kaliningrad",
          "code": "RUKGD",
          "countryCode": "RU",
          "lat": 54.651587889127775,
          "lng": 20.335692970608214
        },
        "portTo": {
          "id": 674,
          "name": "Ningbo",
          "code": "CNNGB",
          "countryCode": "CN",
          "lat": 29.87187673128037,
          "lng": 121.55940382870983
        },
        "oceanFreight": [
          {
            "shippingLine": "HLCU",
            "logo": "https:\/\/www.searates.com\/design\/images\/freight\/sealine_cort\/7.jpg",
            "containerCode": "ST20",
            "containerType": "20 Standard",
            "quantity": 1,
            "validTo": "2021-02-28",
            "linerTerms": null,
            "price": 1323,
            "distance": "20520.09 km",
            "transitTime": "40 days",
            "transportFrom": null,
            "transportTo": null,
            "portFeesFrom": [],
            "portFeesTo": [
              {
                "abbr": "DDF",
                "title": "Documentation Fee - Destination",
                "price": 70,
                "perLot": true
              },
              {
                "abbr": "DTHC",
                "title": "Destination Terminal Handling Charge",
                "price": 375,
                "perLot": false
              }
            ],
            "truckFrom": {
              "price": 1002,
              "distance": "1099.7 km",
              "transitTime": "1 days",
              "interpolation": true
            },
            "truckTo": {
              "price": 150,
              "distance": "1.49 km",
              "transitTime": "1 day",
              "interpolation": true
            },
            "railFrom": {
              "price": 0,
              "distance": "1099.7 km",
              "transitTime": "2 days",
              "interpolation": false
            },
            "railTo": {
              "price": 150,
              "distance": "1.49 km",
              "transitTime": "1 day",
              "interpolation": false
            },
            "dryFrom": null,
            "dryTo": null
          }
        ]
      },
      {
        "shipmentId": "SR-107736",
        "transportationMode": "ocean",
        "incoterms": null,
        "currency": "USD",
        "cityFrom": {
          "id": 265,
          "name": "Kiev, Ukraine, 02000",
          "code": "ChIJBUVa4U7P1EAR_kYBF9IxSXY",
          "countryCode": "UA",
          "lat": 50.4501,
          "lng": 30.5234
        },
        "cityTo": {
          "id": 625,
          "name": "Jiaxing",
          "code": "ChIJ91gIY1RjTTQRc_HMRvgjh5Q",
          "countryCode": "CN",
          "lat": 29.868336,
          "lng": 121.543991
        },
        "portFrom": {
          "id": 304,
          "name": "Odessa",
          "code": "UAODS",
          "countryCode": "UA",
          "lat": 46.49999958643309,
          "lng": 30.730773019409476
        },
        "portTo": {
          "id": 674,
          "name": "Ningbo",
          "code": "CNNGB",
          "countryCode": "CN",
          "lat": 29.87187673128037,
          "lng": 121.55940382870983
        },
        "oceanFreight": [
          {
            "shippingLine": "ZIMU",
            "logo": "https:\/\/www.searates.com\/design\/images\/freight\/sealine_cort\/13.jpg",
            "containerCode": "ST20",
            "containerType": "20 Standard",
            "quantity": 1,
            "validTo": "2021-01-31",
            "linerTerms": null,
            "price": 1050,
            "distance": "15054.98 km",
            "transitTime": "31 days",
            "transportFrom": null,
            "transportTo": null,
            "portFeesFrom": [],
            "portFeesTo": [
              {
                "abbr": "DTHC",
                "title": "Destination Terminal Handling Charge",
                "price": 375,
                "perLot": false
              },
              {
                "abbr": null,
                "title": null,
                "price": 70,
                "perLot": null
              }
            ],
            "truckFrom": {
              "price": 738,
              "distance": "493.37 km",
              "transitTime": "1 day",
              "interpolation": false
            },
            "truckTo": {
              "price": 150,
              "distance": "1.49 km",
              "transitTime": "1 day",
              "interpolation": true
            },
            "railFrom": {
              "price": 533,
              "distance": "462.04 km",
              "transitTime": "1 day",
              "interpolation": false
            },
            "railTo": {
              "price": 150,
              "distance": "1.49 km",
              "transitTime": "1 day",
              "interpolation": false
            },
            "dryFrom": null,
            "dryTo": null
          }
        ]
      },
      {
        "shipmentId": "SR-107737",
        "transportationMode": "ocean",
        "incoterms": null,
        "currency": "USD",
        "cityFrom": {
          "id": 265,
          "name": "Kiev, Ukraine, 02000",
          "code": "ChIJBUVa4U7P1EAR_kYBF9IxSXY",
          "countryCode": "UA",
          "lat": 50.4501,
          "lng": 30.5234
        },
        "cityTo": {
          "id": 625,
          "name": "Jiaxing",
          "code": "ChIJ91gIY1RjTTQRc_HMRvgjh5Q",
          "countryCode": "CN",
          "lat": 29.868336,
          "lng": 121.543991
        },
        "portFrom": {
          "id": 11978,
          "name": "Constanta",
          "code": "ROCND",
          "countryCode": "RO",
          "lat": 44.17156419271365,
          "lng": 28.66426171998168
        },
        "portTo": {
          "id": 674,
          "name": "Ningbo",
          "code": "CNNGB",
          "countryCode": "CN",
          "lat": 29.87187673128037,
          "lng": 121.55940382870983
        },
        "oceanFreight": [
          {
            "shippingLine": "HLCU",
            "logo": "https:\/\/www.searates.com\/design\/images\/freight\/sealine_cort\/7.jpg",
            "containerCode": "ST20",
            "containerType": "20 Standard",
            "quantity": 1,
            "validTo": "2021-01-31",
            "linerTerms": null,
            "price": 485,
            "distance": "14783.87 km",
            "transitTime": "42 days",
            "transportFrom": null,
            "transportTo": null,
            "portFeesFrom": [
              {
                "abbr": "OTHC",
                "title": "Original Terminal Handling Charge",
                "price": 259,
                "perLot": false
              }
            ],
            "portFeesTo": [
              {
                "abbr": "DTHC",
                "title": "Destination Terminal Handling Charge",
                "price": 375,
                "perLot": false
              },
              {
                "abbr": null,
                "title": null,
                "price": 70,
                "perLot": null
              }
            ],
            "truckFrom": {
              "price": 1038,
              "distance": "974.41 km",
              "transitTime": "1 days",
              "interpolation": true
            },
            "truckTo": {
              "price": 150,
              "distance": "1.49 km",
              "transitTime": "1 day",
              "interpolation": true
            },
            "railFrom": {
              "price": 0,
              "distance": "974.41 km",
              "transitTime": "1 days",
              "interpolation": false
            },
            "railTo": {
              "price": 150,
              "distance": "1.49 km",
              "transitTime": "1 day",
              "interpolation": false
            },
            "dryFrom": null,
            "dryTo": null
          }
        ]
      }
    ],
    "default": {
      "services": [
        "truck [export]",
        "fees [export]",
        "truck [import]",
        "fees [import]",
        "ocean"
      ]
    }
  }
}