freightlane

v0.1.0
io.github.CloudCorpRecords/freightlane Checked 4 days ago Published 1 month ago

Morocco-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.

ParameterTypeDescription
destination_countrystringISO-3166 alpha-2
origin_countrystringISO-3166 alpha-2

get_cities

Supported pickup/delivery cities for one country. Use these exact names as origin_city / destination_city in get_quote.

ParameterTypeDescription
country *stringISO-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.

ParameterTypeDescription
destination_city *stringDelivery city name, exactly as returned by get_cities.
destination_country *stringISO-3166 alpha-2
origin_city *stringPickup city name, exactly as returned by get_cities.
origin_country *stringISO-3166 alpha-2
flex_daysnumberSearch window after pickup_date (default 14)
itemsarrayCatalogue goods. Use item_id (or name) from get_services.
pickup_datestringYYYY-MM-DD, defaults to today
weight_kgnumberTotal 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.

ParameterTypeDescription
destination_countrystringISO-3166 alpha-2
from_datestringYYYY-MM-DD, defaults to today
limitnumberMaximum number of couriers to return.
origin_countrystringISO-3166 alpha-2

get_courier

Public profile for one courier by storefront slug or courier id. No PII.

ParameterTypeDescription
courier *stringStorefront 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.

ParameterTypeDescription
limitnumberUsed when listing
slugstringCourier 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.

ParameterTypeDescription
delivery_city *stringDelivery city of the shipment; required together with the reference as an anti-enumeration check.
reference *stringe.g. BK-XXXXXX

estimate_customs

Indicative duty + VAT estimate. NOT authoritative — always render the returned disclaimer verbatim.

ParameterTypeDescription
declared_value_eur *numberDeclared value of the goods in EUR, used to estimate duty and VAT.
destination_country *stringISO-3166 alpha-2
categorystringGoods category used to pick the applicable duty and VAT rates.

convert_currency

Convert an amount between EuroCollis-supported currencies using live MAD-based rates.

ParameterTypeDescription
amount *numberAmount to convert.
from_currency *stringCurrency code to convert from.
to_currency *stringCurrency code to convert to.