Get market ratesCopy Pageget https://api.xeneta.com/v3.0/air/market-ratesReturns air freight market rates within the specified parameters.Query ParamsoriginstringrequiredDefaults to PVGDefines the origin location of the requested market rate data. Can be either an IATA airport code or a region as defined in Xeneta's geo-hierarchy. For example, PVG or east_china_main.destinationstringrequiredDefaults to FRADefines the destination location of the requested market rate data. Can be either an IATA airport code or a region as defined in Xeneta's geo-hierarchy. For example, FRA or north_europe_main.date_fromdaterequiredDefaults to 2023-02-01Defines the start date of the date range for the requested market rates in the YYYY-MM-DD format. The total range cannot exceed 31 days.date_todaterequiredDefaults to 2023-02-05Defines the end date of the date range for the requested market rates in the YYYY-MM-DD format. The total range cannot exceed 31 days.contract_lengthstringrequiredDefaults to longDefines the type of contract for the requested market rate data. long is the only accepted value.contracted_withinstringrequiredDefaults to allDefines the maximum age of the contracts to be included in the requested market rate data, relative to each day. Accepted values include all and 3months.weight_bracketstringrequiredDefaults to greater_than_500kgDefines the weight category of the requested rate data. Accepted values are less_than_45kg, greater_than_45kg, greater_than_200kg, greater_than_500kg, and greater_than_1000kg.service_levelstringrequiredDefaults to mid_tierDefines the service level of the requested rate data. Accepted values are upper_tier, mid_tier, lower_tier, lower_and_mid_tier, and passive.Response 200200Updated 8 months ago