Rail
This document describes the Logistics Explorer API web service. Our API documentation allows to calculate Rail 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 |
The available values for this parameter are: CONTAINER | WAGON | ALL
Default value: CONTAINER
|
|
company_id
|
integer |
Your company ID number
|
Example URL
https://sirius.searates.com/api/rail?key=YOUR_API_KEY_HERE&lat_from=51.438454&lng_from=-2.623984&lat_to=56.8930363&lng_to=24.0774103&type=ALL7company_id=1
{
"rail": [
{
"profile": 422687,
"company_id": 293895,
"id": 827,
"currency": "USD",
"company_name": "Prime league",
"company_address": "CA, Toronto",
"profile_name": "Yuriy Pukhkalo",
"profile_phone": "4165247796",
"profile_email": "yuriy.pukhkalo@primeleague.ca",
"company_logo": "https://www.searates.com/design/images/import/users/293895/company/company-logo-l.jpg",
"20st": 1670,
"40st": 1990,
"40hq": 1990,
"type": "CONTAINER",
"distance": 2344.28,
"transit_time": "14 days 17 hours",
"terms": "FOR-FOR",
"soc": "SOC",
"lpi12": "8.6666666666666667",
"chat_activity": 67,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
],
},
{
"profile": 553943,
"company_id": 421897,
"id": 71,
"currency": "USD",
"company_name": "Indicative",
"company_address": "UA",
"profile_name": "Indicative Rates",
"profile_phone": "+380999999999",
"profile_email": "interpolation@searates.com",
"company_logo": "https://www.searates.com/design/images/import/users/421897/company/company-logo-l.jpg",
"rate": 3194,
"type": "FW",
"distance": "2344.28391092",
"transit_time": "14 days 17 hours",
"max_cap": null,
"lpi12": null,
"chat_activity": 0,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
],
},
{
"profile": 553943,
"company_id": 421897,
"id": 20,
"currency": "USD",
"company_name": "Indicative",
"company_address": "UA",
"profile_name": "Indicative Rates",
"profile_phone": "+380999999999",
"profile_email": "interpolation@searates.com",
"company_logo": "https://www.searates.com/design/images/import/users/421897/company/company-logo-l.jpg",
"rate": 5597,
"type": "TW",
"distance": "2344.28391092",
"transit_time": "14 days 17 hours",
"max_cap": null,
"lpi12": null,
"chat_activity": 0,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
],
},
{
"profile": 553943,
"company_id": 421897,
"id": 507,
"currency": "USD",
"company_name": "Indicative",
"company_address": "UA",
"profile_name": "Indicative Rates",
"profile_phone": "+380999999999",
"profile_email": "interpolation@searates.com",
"company_logo": "https://www.searates.com/design/images/import/users/421897/company/company-logo-l.jpg",
"rate": 4612,
"type": "CW",
"distance": "2344.28391092",
"transit_time": "14 days 17 hours",
"max_cap": null,
"lpi12": null,
"chat_activity": 0,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
],
},
{
"profile": 553943,
"company_id": 421897,
"id": 23,
"currency": "USD",
"company_name": "Indicative",
"company_address": "UA",
"profile_name": "Indicative Rates",
"profile_phone": "+380999999999",
"profile_email": "interpolation@searates.com",
"company_logo": "https://www.searates.com/design/images/import/users/421897/company/company-logo-l.jpg",
"rate": 5245,
"type": "HW",
"distance": "2344.28391092",
"transit_time": "14 days 17 hours",
"max_cap": 69,
"lpi12": null,
"chat_activity": 0,
"path": [
[
46.426767,
30.676464
],
[
46.453283875148,
30.76591043704
],
...
],
}
]
}
body {
> section,
> footer {
position: relative;
margin: 0 auto;
padding: $section-padding 0;
overflow: hidden;
}
}