Door-to-Door Freight Rates API
Query the same door-to-door rates shown on our website. Search by weight for channel charges or by volume for country-specific rates and estimated totals. Quote terms specify customs clearance, duties and delivery coverage.
Search by weight (kg)#
Query door-to-door channels by destination country, cargo weight and cargo type. Get customer-facing charges and estimated transit times.
3 credits per call with results.
POST /api/openapi/v1/freight/line/weight/searchRequest fields#
| Field | Type | Description |
|---|---|---|
| destination_country | string | Required. Two-letter country code, such as US or GB. |
| weight | number | Required. Actual cargo weight in kg, greater than zero. |
| cargo_type | int | Optional. 0 document, 1 parcel (default), 2 waterproof bag. |
curl -X POST https://www.5688.cn/api/openapi/v1/freight/line/weight/search -H "Content-Type: application/json" -H "X-Awice-AppKey: AK_xxxxxxxxxxxxxxxx" -H "X-Awice-Timestamp: 1746086400" -H "X-Awice-Nonce: a1b2c3d4" -H "X-Awice-Signature: YOUR_SIGNATURE" -d '{"destination_country":"US","weight":21.5,"cargo_type":1}'Response fields#
| Field | Type | Description |
|---|---|---|
| resolved | object | Country code, weight and cargo type used for the request. |
| list | array | Available website quotes for this service. Each quote contains the following fields. |
| channel_name | string | Channel name shown to customers. |
| chargeable_weight | number | Chargeable weight in kg. |
| unit_price | number | Indicative price per kg. |
| freight | number | Base freight charge. |
| fuel_fee | number | Fuel surcharge amount. |
| fuel_rate | string | Fuel surcharge rate. May be empty. |
| surcharge | number | Other surcharges. |
| total_amount | number | Total quote as displayed on the website. Use this amount directly. |
| currency | string | Quote currency, CNY. |
| tt | string | Estimated transit time. |
| remarks | string | Service and pricing notes. |
{
"code": 0,
"msg": "success",
"request_id": "req_example",
"data": {
"resolved": {
"destination_country": "US",
"weight": 21.5,
"cargo_type": 1
},
"list": [
{
"channel_name": "US Door-to-Door (example)",
"chargeable_weight": 21.5,
"unit_price": 20,
"freight": 400,
"fuel_fee": 30,
"fuel_rate": "7.5%",
"surcharge": 0,
"total_amount": 430,
"currency": "CNY",
"tt": "15–20 days",
"remarks": ""
}
]
},
"credit_used": 3,
"credit_balance": 997
}Search by volume (CBM)#
Page through available rates by destination country. Each page with results is billed separately. For numeric rates, the estimated total uses the greater of the minimum and submitted volumes. Text and tiered pricing are returned as written.
1 credits per call with results.
POST /api/openapi/v1/freight/line/volume/searchRequest fields#
| Field | Type | Description |
|---|---|---|
| destination_country | string | Required. Two-letter country code, such as US or GB. |
| volume | number | Required. Cargo volume in CBM (cubic metres), greater than zero. |
| service_type | string | Optional. Use ddu for rates excluding duty or ddp for rates including duty. Values are case-insensitive. Omit or leave blank for all services. |
| page | int | Optional. Page number. Defaults to 1. |
| limit | int | Optional. Results per page. Defaults to 20, maximum 50. |
curl -X POST https://www.5688.cn/api/openapi/v1/freight/line/volume/search -H "Content-Type: application/json" -H "X-Awice-AppKey: AK_xxxxxxxxxxxxxxxx" -H "X-Awice-Timestamp: 1746086400" -H "X-Awice-Nonce: a1b2c3d4" -H "X-Awice-Signature: YOUR_SIGNATURE" -d '{"destination_country":"AU","volume":1.2,"service_type":"ddu","page":1,"limit":20}'DDU, DDP and delivery options#
| service_code | service_type filter | Description |
|---|---|---|
| clearance | ddp | DDP w/ Delivery |
| nodelivey | ddp | DDP, No Delivery |
| ddu | ddu | Bonded (DDU) |
| noclearance | ddu | DDU w/ Delivery |
| delivery | ddu | DDU w/ Delivery |
| nodelivery | ddu | DDU, No Delivery |
DDP rates include import duty and DDU rates exclude it. Both groups have services without delivery. For bonded warehouse rates, check the quote for final delivery coverage and charges.
Response fields#
| Field | Type | Description |
|---|---|---|
| resolved | object | Country code and volume used for the request. When filtered, service_type contains the lowercase value ddu or ddp. |
| total | int | Total number of quotes matching the request. |
| per_page | int | Results per page. |
| current_page | int | Current page. |
| last_page | int | Total pages. |
| data | array | Quotes for this page. Each quote contains the following fields. |
| id | int | Rate record ID. |
| country_name | string | Destination country name. |
| port | string | Port or route name. |
| service_type | string | With a filter, each quote returns ddu or ddp. Unfiltered requests retain the original service code, the same value as service_code. |
| service_code | string | Original code for the specific service. Use the table above to identify bonded warehouse services and services with or without delivery. |
| service_type_name | string | null | Full Chinese service name for display, such as 双清不含税含派送 (duty excluded, delivery included). Present on filtered and unfiltered quotes. Null when the name is unknown. |
| cargo_type | string | Applicable cargo type. |
| tt | string | Estimated transit time. |
| currency | string | Quote currency. Defaults to USD. |
| minimum_volume | number | Minimum chargeable volume in CBM. |
| chargeable_volume | number | The greater of the requested volume and the minimum chargeable volume, in CBM. |
| unit_price | number | null | Numeric price per CBM. Null for a text-based quote. |
| total_amount | number | null | Estimated numeric total, calculated from unit price and chargeable volume and rounded to two decimal places. Null for a text-based quote. |
| price_text | string | null | Original text rate or tiered pricing terms. Null for a numeric quote. |
| remarks | string | Quote notes. |
| exceed | string | Oversize, overweight or other limit conditions. |
| remote | string | Remote area notes. |
| area | string | Delivery area notes. |
| product | string | Product category notes. |
| delivery | string | Delivery conditions. |
| scope | string | Service coverage. |
| reference | string | Other quote information. |
| updated_at | number | string | null | Last update of the rate record. |
{
"code": 0,
"msg": "success",
"request_id": "req_example",
"data": {
"resolved": {
"destination_country": "AU",
"volume": 1.2,
"service_type": "ddu"
},
"total": 1,
"per_page": 20,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 123,
"country_name": "Australia",
"port": "Sydney",
"service_type": "ddu",
"service_code": "delivery",
"service_type_name": "双清不含税含派送",
"cargo_type": "General cargo",
"tt": "15–20 days",
"currency": "CNY",
"minimum_volume": 1,
"chargeable_volume": 1.2,
"unit_price": 1500,
"total_amount": 1800,
"price_text": null,
"remarks": "",
"exceed": "",
"remote": "",
"area": "",
"product": "",
"delivery": "",
"scope": "",
"reference": "",
"updated_at": 1746086400
}
]
},
"credit_used": 1,
"credit_balance": 999
}Empty results and errors#
- When the destination or requested page has no rates, the response contains code=0, an empty rate array, and credit_used=0.
- Invalid required fields, country codes, service types or pagination return HTTP 400 / 1001. See data.field for the field name.
- If the weight quote provider is unavailable, the API returns HTTP 502 / 5002 with zero credits deducted.
Requests use the existing app signature, balance precheck and rate limits. In a successful quote response, credit_used is the actual deduction and credit_balance is the remaining balance.