Road
This document describes the Logistics Explorer API web service. Our API documentation allows to calculate Road rates.
Property | Type | Description | |
---|---|---|---|
key
|
string, required | API key: hexadecimal number | |
lat_from
|
float number, required | The latitude value specifying the location for which you wish to obtain the closest sea port of loading. | |
lng_from
|
float number, required | The longitude value specifying the location for which you wish to obtain the closest sea port of loading. | |
lat_to
|
float number, required | The latitude value specifying the location for which you wish to obtain the closest sea port of discharge. | |
lng_to
|
float number, required | The longitude value specifying the location for which you wish to obtain the closest sea port of discharge. | |
type
|
string, required |
The available values for this parameter are: LTL | FTL | CONTAINER | CONTAINER_REF
|
|
volume
|
integer, required for FTL type |
|
|
company_id
|
integer |
Your company ID number
|
Example LTL URL
https://sirius.searates.com/api/road?key=YOUR_API_KEY_HERE&lat_from=31.2303904&lng_from=121.47370209999997&lat_to=46.484583&lng_to=30.732600000000048&type=LTL&company_id=1
{
{
"road": {
"rates": {
"kg": 20,
"cbm": 20000,
"3cbm": 55000,
"5cbm": 89000
},
"id": 279,
"currency": "USD",
"type": "LTL",
"company_id": 313005,
"profile": 441891,
"company_address": "RU, Vladivostok",
"profile_name": "IMPORT40 RU",
"profile_email": "info@import40.ru",
"profile_phone": "+7 4232656265",
"company_name": "GOC IMPORT40",
"company_logo": "https://www.searates.com/design/images/import/users/313005/company/company-logo-l.jpg",
"distance": 9541.11,
"transit_time": "16 days 15 hours",
"min_total_rate": 100,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
}
}
body {
> section,
> footer {
position: relative;
margin: 0 auto;
padding: $section-padding 0;
overflow: hidden;
}
}
Example CONTAINER URL
https://sirius.searates.com/api/road?key=YOUR_API_KEY_HERE&lat_from=31.2303904&lng_from=121.47370209999997&lat_to=46.484583&lng_to=30.732600000000048&type=CONTAINER&company_id=1
{
{
"road": {
"20st": 10595.22178313169,
"40st": 10595.22178313169,
"40hq": 10595.22178313169,
"id": 4802,
"currency": "USD",
"type": "CONTAINER",
"profile": 553943,
"company_id": 421897,
"company_name": "Indicative",
"company_address": "UA",
"profile_name": "Indicative Rates",
"profile_email": "interpolation@searates.com",
"profile_phone": "+380999999999",
"company_logo": "https://www.searates.com/design/images/import/users/421897/company/company-logo-l.jpg",
"distance": 9541.11,
"transit_time": "16 days 15 hours",
"min_total_rate": 100,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
}
}
body {
> section,
> footer {
position: relative;
margin: 0 auto;
padding: $section-padding 0;
overflow: hidden;
}
}
Example FTL URL
https://sirius.searates.com/api/road?key=YOUR_API_KEY_HERE&lat_from=31.2303904&lng_from=121.47370209999997&lat_to=46.484583&lng_to=30.732600000000048&type=FTL&volume=86&company_id=1
{
{
"rates": [
{
"m3": 76,
"rate": 16571.093023255813,
"rate_id": 1255,
"currency": "USD",
"type": "FTL",
"profile": 470527,
"profile_name": "Catherine Rossa",
"profile_phone": "442070486438",
"profile_email": "catherine@searates.com",
"company_address": "GB, Odessa",
"company_name": "SeaRates LLC",
"distance": 9541.11,
"transit_time": 159.02,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
},
{
"m3": 81,
"rate": 15548.186046511628,
"rate_id": 1255,
"currency": "USD",
"type": "FTL",
"profile": 470527,
"profile_name": "Catherine Rossa",
"profile_phone": "442070486438",
"profile_email": "catherine@searates.com",
"company_address": "GB, Odessa",
"company_name": "SeaRates LLC",
"distance": 9541.11,
"transit_time": 159.02,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
},
{
"m3": "86",
"rate": 17594,
"rate_id": 1255,
"currency": "USD",
"type": "FTL",
"profile": 470527,
"profile_name": "Catherine Rossa",
"profile_phone": "442070486438",
"profile_email": "catherine@searates.com",
"company_address": "GB, Odessa",
"company_name": "SeaRates LLC",
"distance": 9541.11,
"transit_time": 159.02,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
},
{
"m3": 91,
"rate": 18616.906976744187,
"rate_id": 1255,
"currency": "USD",
"type": "FTL",
"profile": 470527,
"profile_name": "Catherine Rossa",
"profile_phone": "442070486438",
"profile_email": "catherine@searates.com",
"company_address": "GB, Odessa",
"company_name": "SeaRates LLC",
"distance": 9541.11,
"transit_time": 159.02,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
},
{
"m3": 96,
"rate": 19639.813953488374,
"rate_id": 1255,
"currency": "USD",
"type": "FTL",
"profile": 470527,
"profile_name": "Catherine Rossa",
"profile_phone": "442070486438",
"profile_email": "catherine@searates.com",
"company_address": "GB, Odessa",
"company_name": "SeaRates LLC",
"distance": 9541.11,
"transit_time": 159.02,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
}
]
}
body {
> section,
> footer {
position: relative;
margin: 0 auto;
padding: $section-padding 0;
overflow: hidden;
}
}