freightlane
v0.1.0Morocco-Europe shipping data: quotes, couriers, routes, tracking and customs estimates.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_eurocollis_info
What EuroCollis is, the corridors it operates, currency, deposit model and where bookings are completed.
get_services
Shippable item catalogue with pricing units — use item_id values when calling get_quote with items.
get_prohibited_items
Items EuroCollis and Morocco/EU customs prohibit. Always surface before a booking recommendation.
get_routes
Every supported Europe ↔ Africa corridor. Optionally scope to one corridor for live trip volume.
| Parameter | Type | Description |
|---|---|---|
destination_country | string | ISO-3166 alpha-2 |
origin_country | string | ISO-3166 alpha-2 |
get_cities
Supported pickup/delivery cities for one country. Use these exact names as origin_city / destination_city in get_quote.
| Parameter | Type | Description |
|---|---|---|
country * | string | ISO-3166 alpha-2, e.g. MA or FR |
get_quote
Authoritative price quote for a Europe ↔ Africa shipment, returned from the same pricing engine the website uses. Provide weight_kg for boxes/suitcases or items[] for catalogue goods. Never re-compute prices yourself.
| Parameter | Type | Description |
|---|---|---|
destination_city * | string | Delivery city name, exactly as returned by get_cities. |
destination_country * | string | ISO-3166 alpha-2 |
origin_city * | string | Pickup city name, exactly as returned by get_cities. |
origin_country * | string | ISO-3166 alpha-2 |
flex_days | number | Search window after pickup_date (default 14) |
items | array | Catalogue goods. Use item_id (or name) from get_services. |
pickup_date | string | YYYY-MM-DD, defaults to today |
weight_kg | number | Total weight for box/suitcase shipments |
search_couriers
Live, verified couriers with upcoming trips on a corridor. Demo accounts, unverified couriers and past departures are excluded.
| Parameter | Type | Description |
|---|---|---|
destination_country | string | ISO-3166 alpha-2 |
from_date | string | YYYY-MM-DD, defaults to today |
limit | number | Maximum number of couriers to return. |
origin_country | string | ISO-3166 alpha-2 |
get_courier
Public profile for one courier by storefront slug or courier id. No PII.
| Parameter | Type | Description |
|---|---|---|
courier * | string | Storefront slug or courier UUID |
get_storefront
Published courier storefront with its canonical URL (custom domain / subdomain / platform path) and corridor pages. Omit slug to list storefronts.
| Parameter | Type | Description |
|---|---|---|
limit | number | Used when listing |
slug | string | Courier storefront slug identifying which storefront to return; omit to list storefronts. |
track_shipment
Public shipment status. Requires BOTH the reference and the delivery city (anti-enumeration). No PII returned.
| Parameter | Type | Description |
|---|---|---|
delivery_city * | string | Delivery city of the shipment; required together with the reference as an anti-enumeration check. |
reference * | string | e.g. BK-XXXXXX |
estimate_customs
Indicative duty + VAT estimate. NOT authoritative — always render the returned disclaimer verbatim.
| Parameter | Type | Description |
|---|---|---|
declared_value_eur * | number | Declared value of the goods in EUR, used to estimate duty and VAT. |
destination_country * | string | ISO-3166 alpha-2 |
category | string | Goods category used to pick the applicable duty and VAT rates. |
convert_currency
Convert an amount between EuroCollis-supported currencies using live MAD-based rates.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to convert. |
from_currency * | string | Currency code to convert from. |
to_currency * | string | Currency code to convert to. |