Get market rates

Returns ocean freight market rates within the specified parameters.

Query Params
string
required
Defaults to CNSGH

Defines the origin location of the requested market rate data. Can be either a UN/LOCODE or a region as defined in Xeneta's geo-hierarchy. For example, CNSGH or china_east_main.

string
required
Defaults to NLRTM

Defines the destination location of the requested market rate data. Can be either a UN/LOCODE or a region as defined in Xeneta's geo-hierarchy. For example, NLRTM or north_europe_main.

date
required
Defaults to 2023-02-01

Defines 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
required
Defaults to 2023-02-05

Defines 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.

Using a future date will return contracted rates that are valid up to 10 days (when contract_length is set to short) or 3 months (when contract_length is set to long) beyond the current date.

string
required
Defaults to long

Defines the type of contract for the requested market rate data. Accepted values are long or short.

string
required
Defaults to 6months

Defines the maximum age of the contracts to be included in the requested market rate data, relative to each day. Accepted values include all, 3months and 6months. Using any value other than all when contract_length is set to short will return an error.

string
required
Defaults to 40DC

Defines the container type of the requested market rate data. Accepted values include 20DC, 20RE, 20TK, 40DC, 40RH and 40HC.

string
required
Defaults to meth

Defines whether the requested market rate data should include the terminal handling charge. Accepted values include meth, othc, dthc, none and both. Selecting meth will use Xeneta's default methodology for the requested origin and destination.

boolean
Defaults to true

Defines whether to allow rates from larger geographic regions in the response if there is not enough data for the requested origin and destination. Using false when there is no rate data available for the requested origin and destination will return an error.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
Xeneta Footer - Fixed