Get BULK Rates


{
  shipment: bulk(from: [50.511083, 30.7909],to: [40.7127753, -74.0059728],currency: USD, weight: 100000, date: "2021-01-29") {
  shipmentId
    transportationMode
    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
  price
  distance
  transitTime
  validTo
  railFrom: rail(mode: EXPORT) {
    price
    distance
    transitTime
    interpolation
  }
  railTo: rail(mode: IMPORT) {
    price
    distance
    transitTime
    interpolation
  }
}

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

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

                              

{
   "data":{
      "shipment":[
         {
            "shipmentId":"SR-107751",
            "transportationMode":"ocean",
            "currency":"USD",
            "cityFrom":{
               "id":1,
               "name":"Odessa, Odessa Oblast, Ukraine",
               "code":"ChIJQ0yGC4oxxkARbBfyjOKPnxI",
               "countryCode":"UA",
               "lat":46.482526,
               "lng":30.7233095
            },
            "cityTo":{
               "id":76163,
               "name":"China, Shanghai Shi, Huangpu Qu, Ren Min Guang Chang, \u56fd\u5408\u8def125\u53f7",
               "code":"ChIJpTpJJGpwsjURAQc8ErK11XM",
               "countryCode":"CN",
               "lat":31.230409,
               "lng":121.473717
            },
            "portFrom":{
               "id":12541,
               "name":"Istanbul",
               "code":"TRIST",
               "countryCode":"TR",
               "lat":41.00678579550449,
               "lng":28.973221911992624
            },
            "portTo":{
               "id":706,
               "name":"Shanghai",
               "code":"CNSHA",
               "countryCode":"CN",
               "lat":31.400090576935703,
               "lng":121.49711250347931
            },
            "freight":{
               "shippingLine":null,
               "logo":"https:\/\/www.searates.com\/design\/images\/freight\/sealine\/0.jpg",
               "price":120,
               "distance":"14589.93 km",
               "validTo":"2021-02-12",
               "transitTime":"30 days",
               "railFrom":null,
               "railTo":null
            }
         }
      ],
      "default":{
         "services":[
            "rail [export]",
            "ocean"
         ]
      },
      "identity":{
         "first_name":"SUPPORT",
         "last_name":"TEAM",
         "admin":true,
         "carrier":true,
         "dfa":true
      }
   }
}