https://os.clearjet.com/version-test/api/1.1/wf/rate
This API endpoint allows you to calculate shipping rates based on the provided parameters.
weight
(decimal, required)
The weight of package. Example: 15.85.
weight_unit
(string, required)
The unit of weight. Values: lb, kg, oz.
from_zip
(string, required)
for ClearJet Express: The zip code of the origin. Example: 92161.
to_zip
(string, required)
for ClearJet Express:The zip code of the destination. Example: 94116.
service
(string, optional)
The type of shipping service. Values: AirSkip, ClearJet Express, ClearJet Ground. Leave this field blank to return rates from all rate cards.
length
(decimal, required)
The length of the package in inches up to 2 decimals.
width
(decimal, required)
The width of the package in inches up to 2 decimals.
height
(decimal, required)
The height of the package in inches up to 2 decimals.
origin
(string, optional)
Only used with AirSkip service level. The IATA origin airport code of the package. Example: LAX.
destination
(string, optional)
Only used with AirSkip service level. The IATA destination airport code of the package. Example: EWR.
Token <token>
{
"weight": 1,
"weight_unit": "lb",
"from_zip": "90250",
"to_zip": "94621",
"service": "",
"lenght": 1,
"width": 1,
"height": 1,
"origin": "",
"destination": ""
}
curl --location 'https://os.clearjet.com/version-test/api/1.1/wf/rate' \
--data '{
"weight": 1,
"weight_unit": "lb",
"service": "AirSkip",
"lenght": 1,
"width": 1,
"height": 1,
"origin": "LAX",
"destination": "EWR"
}'
{
"rates": [
{
"carrier": "ClearJet",
"service": "AirSkip",
"amount": "1.39"
}
]
}
Date
Mon, 04 Mar 2024 22:21:09 GMT
Content-Type
application/json
Transfer-Encoding
chunked
Connection
keep-alive
x-powered-by
Express
access-control-allow-origin
*
x-bubble-perf
{"total":571,"percents":{"top":{"bubble_cpu":21.8,"block":78.1,"capacity_rl":0,"other_pause":0,"pre_fiber":0.1},"sub":{"pp_userdb":6.1,"pp_wait_userdb":0,"http_request":48.1,"serverjson":24.2,"appserver_cache_misses_time":0,"redis":22.7,"fiber_queue":0.7,"capacity_wait":0.4}},"counts":{"pp_userdb":5,"http_request":1,"derived_build":0,"derived_cache_attempts":2,"derived_cache_memory_misses":2,"serverjson":102,"appserver_cache_attempts":3,"appserver_mem_cache_hits":0,"appserver_cache_hits":3,"appserver_cache_misses":0,"redis":94,"fiber_queue":96,"blocks":95},"misc":{"userdb_results":4,"userdb_data":1416,"spent_time":29638710}}
x-bubble-capacity-used
0.456 unit-seconds used
x-bubble-capacity-limit
0 ms slower
vary
Accept-Encoding
CF-Cache-Status
DYNAMIC
Server
cloudflare
CF-RAY
85f541f36ba48280-IAD
Content-Encoding
br
curl --location 'https://os.clearjet.com/version-test/api/1.1/wf/rate' \
--data '{
"weight": 1,
"weight_unit": "lb",
"from_zip": "19141",
"to_zip": "94116",
"service": "ClearJet Express",
"lenght": 1,
"width": 1,
"height": 1
}'
{
"rates": [
{
"carrier": "ClearJet",
"service": "ClearJet Express",
"amount": "4.95"
}
]
}
Date
Mon, 04 Mar 2024 22:21:52 GMT
Content-Type
application/json
Transfer-Encoding
chunked
Connection
keep-alive
x-powered-by
Express
access-control-allow-origin
*
x-bubble-perf
{"total":463.8,"percents":{"top":{"bubble_cpu":24.2,"block":75,"capacity_rl":0,"other_pause":0,"pre_fiber":0.1},"sub":{"pp_userdb":5.8,"pp_wait_userdb":0,"http_request":51.9,"serverjson":25,"appserver_cache_misses_time":0,"redis":22,"fiber_queue":0.8,"capacity_wait":0.3}},"counts":{"pp_userdb":4,"http_request":1,"derived_build":0,"derived_cache_attempts":2,"derived_cache_memory_misses":2,"serverjson":102,"appserver_cache_attempts":3,"appserver_mem_cache_hits":0,"appserver_cache_hits":3,"appserver_cache_misses":0,"redis":93,"fiber_queue":93,"blocks":92},"misc":{"userdb_results":4,"userdb_data":1412,"spent_time":25807985}}
x-bubble-capacity-used
0.397 unit-seconds used
x-bubble-capacity-limit
0 ms slower
vary
Accept-Encoding
CF-Cache-Status
DYNAMIC
Server
cloudflare
CF-RAY
85f542ff9f7b72ef-IAD
Content-Encoding
br
curl --location 'https://os.clearjet.com/version-test/api/1.1/wf/rate' \
--data '{
"weight": 1,
"weight_unit": "lb",
"from_zip": "90250",
"to_zip": "94621",
"service": "",
"lenght": 1,
"width": 1,
"height": 1,
"origin": "",
"destination": ""
}'
{
"rates": [
{
"carrier": "ClearJet",
"service": "ClearJet Express",
"amount": "4.95"
},
{
"carrier": "ClearJet",
"service": "AirSkip",
"amount": "1.39"
}
]
}
Date
Thu, 14 Mar 2024 14:21:42 GMT
Content-Type
text/plain;charset=utf-8
Transfer-Encoding
chunked
Connection
keep-alive
x-powered-by
Express
access-control-allow-origin
*
x-bubble-perf
{"total":497.6,"percents":{"top":{"bubble_cpu":41.7,"block":57.2,"capacity_rl":0,"other_pause":0,"pre_fiber":0.6},"sub":{"pp_userdb":3.2,"pp_wait_userdb":0,"http_request":39.1,"serverjson":5.2,"appserver_cache_misses_time":0,"redis":32.5,"fiber_queue":0.9,"capacity_wait":0}},"counts":{"pp_userdb":4,"http_request":1,"derived_build":0,"serverjson":102,"appserver_cache_attempts":2,"appserver_mem_cache_hits":0,"appserver_cache_hits":2,"appserver_cache_misses":0,"redis":35,"fiber_queue":54,"blocks":53},"misc":{"userdb_results":6,"userdb_data":2124,"spent_time":37096805}}
x-bubble-capacity-used
0.571 unit-seconds used
x-bubble-capacity-limit
0 ms slower
vary
Accept-Encoding
CF-Cache-Status
DYNAMIC
Server
cloudflare
CF-RAY
8644e961ce397d54-DFW
Content-Encoding
br
alt-svc
h3=":443"; ma=86400