Get AIR Rates

Property Type Description
from array, required; Array contains coordinates: array(lat, lng);
lat/lng - float number, not null.
to array, required Array contains coordinates: array(lat, lng);
lat, lng - float number, not null.
weight float number, required Weight in kg
volume float number 1 m3 = 200 kg. System choose the biggest value between weight and volume for rate displaying.
date string By default today
currency string Short name of currency by default USD

{
  shipment:air(from: [31.2303904, 121.4737021],to: [46.482526, 30.7233095],weight: 45,currency: USD) {
  shipmentId
    transportationMode
    currency
    cityFrom: city(mode: EXPORT) {
      ...cityFields
    }
    cityTo: city(mode: IMPORT) {
      ...cityFields
    }
    portFrom: port(mode: EXPORT) {
      ...portFields
    }
    portTo: port(mode: IMPORT) {
      ...portFields
    }
    airFreight {
      ...ratesFields
    }
  }
  default {
    services
  }
}

fragment ratesFields on OceanFreight {
  shippingLine
  logo
  price
  originalPrice
  originalCurrency
  distance
  transitTime
  validTo
  overdue
  portFeesFrom: portFees(mode: EXPORT) {
    ...portFeesFields
  }
  portFeesTo: portFees(mode: IMPORT) {
    ...portFeesFields
  }
  truckFrom: truck(mode: EXPORT) {
    price
    distance
    transitTime
    originalPrice
    originalCurrency
    interpolation
  }
  truckTo: truck(mode: IMPORT) {
    price
    distance
    originalPrice
    originalCurrency
    transitTime
    interpolation
  }
}

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
  originalPrice
  originalCurrency
  text
  price
  perLot
}

                              

{
   "data":{
      "shipment":[
         {
            "shipmentId":"SR-107758",
            "transportationMode":"air",
            "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":1657,
               "name":"Henri Coanda",
               "code":"OTP",
               "countryCode":"RO",
               "lat":44.572161,
               "lng":26.102178
            },
            "portTo":{
               "id":3387,
               "name":"Lishe",
               "code":"NGB",
               "countryCode":"CN",
               "lat":29.826683,
               "lng":121.461906
            },
            "freight":{
               "shippingLine":null,
               "logo":"https:\/\/sirius.searates.com\/images\/airline\/0.jpg",
               "price":546,
               "distance":null,
               "transitTime":"3 days",
               "validTo":"2021-02-28",
               "portFeesFrom":[
                  {
                     "abbr":"CCO",
                     "title":"Customs Clearance Origin",
                     "text":"A service offered by the carrier to prepare customs clearance documents and handle formalities on behalf of the customer. The carrier may use 3rd party agents in some locations at Origin.\nOn inter European cargo the service is applicable upon the customer's request and when the customer provides T2L documents.",
                     "price":91,
                     "perLot":true
                  },
                  {
                     "abbr":"OTHC",
                     "title":"Original Terminal Handling Charge",
                     "text":"This service covers the cost of handling a container at the origin port or terminal. This service is applicable to all shipments.",
                     "price":37,
                     "perLot":false
                  },
                  {
                     "abbr":"X-ray fee",
                     "title":"X-ray fee",
                     "text":null,
                     "price":9,
                     "perLot":false
                  }
               ],
               "portFeesTo":[

               ],
               "truckFrom":{
                  "price":70,
                  "distance":"535.15 km",
                  "transitTime":"1 days",
                  "interpolation":true
               },
               "truckTo":{
                  "price":70,
                  "distance":"1 km",
                  "transitTime":"1 day",
                  "interpolation":true
               }
            }
         },
         {
            "shipmentId":"SR-107759",
            "transportationMode":"air",
            "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":1657,
               "name":"Henri Coanda",
               "code":"OTP",
               "countryCode":"RO",
               "lat":44.572161,
               "lng":26.102178
            },
            "portTo":{
               "id":3406,
               "name":"Pudong",
               "code":"PVG",
               "countryCode":"CN",
               "lat":31.143378,
               "lng":121.805214
            },
            "freight":{
               "shippingLine":"Turkish Airlines (THY)",
               "logo":"https:\/\/sirius.searates.com\/images\/airline\/43.jpg",
               "price":336,
               "distance":null,
               "transitTime":"6 days",
               "validTo":"2021-02-28",
               "portFeesFrom":[
                  {
                     "abbr":"CCO",
                     "title":"Customs Clearance Origin",
                     "text":"A service offered by the carrier to prepare customs clearance documents and handle formalities on behalf of the customer. The carrier may use 3rd party agents in some locations at Origin.\nOn inter European cargo the service is applicable upon the customer's request and when the customer provides T2L documents.",
                     "price":91,
                     "perLot":true
                  },
                  {
                     "abbr":"OTHC",
                     "title":"Original Terminal Handling Charge",
                     "text":"This service covers the cost of handling a container at the origin port or terminal. This service is applicable to all shipments.",
                     "price":37,
                     "perLot":false
                  },
                  {
                     "abbr":"X-ray fee",
                     "title":"X-ray fee",
                     "text":null,
                     "price":9,
                     "perLot":false
                  }
               ],
               "portFeesTo":[

               ],
               "truckFrom":{
                  "price":70,
                  "distance":"535.15 km",
                  "transitTime":"1 days",
                  "interpolation":true
               },
               "truckTo":{
                  "price":70,
                  "distance":"1 km",
                  "transitTime":"1 day",
                  "interpolation":false
               }
            }
         },
         {
            "shipmentId":"SR-107760",
            "transportationMode":"air",
            "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":1657,
               "name":"Henri Coanda",
               "code":"OTP",
               "countryCode":"RO",
               "lat":44.572161,
               "lng":26.102178
            },
            "portTo":{
               "id":3387,
               "name":"Lishe",
               "code":"NGB",
               "countryCode":"CN",
               "lat":29.826683,
               "lng":121.461906
            },
            "freight":{
               "shippingLine":"Turkish Airlines (THY)",
               "logo":"https:\/\/sirius.searates.com\/images\/airline\/43.jpg",
               "price":336,
               "distance":null,
               "transitTime":"6 days",
               "validTo":"2021-02-28",
               "portFeesFrom":[
                  {
                     "abbr":"CCO",
                     "title":"Customs Clearance Origin",
                     "text":"A service offered by the carrier to prepare customs clearance documents and handle formalities on behalf of the customer. The carrier may use 3rd party agents in some locations at Origin.\nOn inter European cargo the service is applicable upon the customer's request and when the customer provides T2L documents.",
                     "price":91,
                     "perLot":true
                  },
                  {
                     "abbr":"OTHC",
                     "title":"Original Terminal Handling Charge",
                     "text":"This service covers the cost of handling a container at the origin port or terminal. This service is applicable to all shipments.",
                     "price":37,
                     "perLot":false
                  },
                  {
                     "abbr":"X-ray fee",
                     "title":"X-ray fee",
                     "text":null,
                     "price":9,
                     "perLot":false
                  }
               ],
               "portFeesTo":[

               ],
               "truckFrom":{
                  "price":70,
                  "distance":"535.15 km",
                  "transitTime":"1 days",
                  "interpolation":true
               },
               "truckTo":{
                  "price":70,
                  "distance":"1 km",
                  "transitTime":"1 day",
                  "interpolation":true
               }
            }
         },
         {
            "shipmentId":"SR-107761",
            "transportationMode":"air",
            "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":1657,
               "name":"Henri Coanda",
               "code":"OTP",
               "countryCode":"RO",
               "lat":44.572161,
               "lng":26.102178
            },
            "portTo":{
               "id":3388,
               "name":"Lukou",
               "code":"NKG",
               "countryCode":"CN",
               "lat":31.742042,
               "lng":118.862025
            },
            "freight":{
               "shippingLine":"Turkish Airlines (THY)",
               "logo":"https:\/\/sirius.searates.com\/images\/airline\/43.jpg",
               "price":336,
               "distance":null,
               "transitTime":"6 days",
               "validTo":"2021-02-28",
               "portFeesFrom":[
                  {
                     "abbr":"CCO",
                     "title":"Customs Clearance Origin",
                     "text":"A service offered by the carrier to prepare customs clearance documents and handle formalities on behalf of the customer. The carrier may use 3rd party agents in some locations at Origin.\nOn inter European cargo the service is applicable upon the customer's request and when the customer provides T2L documents.",
                     "price":91,
                     "perLot":true
                  },
                  {
                     "abbr":"OTHC",
                     "title":"Original Terminal Handling Charge",
                     "text":"This service covers the cost of handling a container at the origin port or terminal. This service is applicable to all shipments.",
                     "price":37,
                     "perLot":false
                  },
                  {
                     "abbr":"X-ray fee",
                     "title":"X-ray fee",
                     "text":null,
                     "price":9,
                     "perLot":false
                  }
               ],
               "portFeesTo":[

               ],
               "truckFrom":{
                  "price":70,
                  "distance":"535.15 km",
                  "transitTime":"1 days",
                  "interpolation":true
               },
               "truckTo":{
                  "price":70,
                  "distance":"1 km",
                  "transitTime":"1 day",
                  "interpolation":true
               }
            }
         },
         {
            "shipmentId":"SR-107762",
            "transportationMode":"air",
            "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":1657,
               "name":"Henri Coanda",
               "code":"OTP",
               "countryCode":"RO",
               "lat":44.572161,
               "lng":26.102178
            },
            "portTo":{
               "id":3386,
               "name":"Xiaoshan",
               "code":"HGH",
               "countryCode":"CN",
               "lat":30.229503,
               "lng":120.434453
            },
            "freight":{
               "shippingLine":"Turkish Airlines (THY)",
               "logo":"https:\/\/sirius.searates.com\/images\/airline\/43.jpg",
               "price":336,
               "distance":null,
               "transitTime":"6 days",
               "validTo":"2021-02-28",
               "portFeesFrom":[
                  {
                     "abbr":"CCO",
                     "title":"Customs Clearance Origin",
                     "text":"A service offered by the carrier to prepare customs clearance documents and handle formalities on behalf of the customer. The carrier may use 3rd party agents in some locations at Origin.\nOn inter European cargo the service is applicable upon the customer's request and when the customer provides T2L documents.",
                     "price":91,
                     "perLot":true
                  },
                  {
                     "abbr":"OTHC",
                     "title":"Original Terminal Handling Charge",
                     "text":"This service covers the cost of handling a container at the origin port or terminal. This service is applicable to all shipments.",
                     "price":37,
                     "perLot":false
                  },
                  {
                     "abbr":"X-ray fee",
                     "title":"X-ray fee",
                     "text":null,
                     "price":9,
                     "perLot":false
                  }
               ],
               "portFeesTo":[

               ],
               "truckFrom":{
                  "price":70,
                  "distance":"535.15 km",
                  "transitTime":"1 days",
                  "interpolation":true
               },
               "truckTo":{
                  "price":70,
                  "distance":"1 km",
                  "transitTime":"1 day",
                  "interpolation":true
               }
            }
         }
      ],
      "default":{
         "services":[
            "air"
         ]
      },
      "identity":{
         "first_name":"SUPPORT",
         "last_name":"TEAM",
         "admin":true,
         "carrier":true,
         "dfa":true
      }
   }
}