What can the FreightMaster API do?
It connects your software to the partner carriers of the InXpress network, with no re-keying on a carrier's website. Your software sends the origin, the destination and the pallets, receives prices, books the chosen offer, then tracks the shipment through to delivery. It is a REST API in JSON, with the key in the Authorization header and the base URL https://freightmaster.fr/api/v1.
- Quote:
POST /quotesreturns the offers, with the carrier, the price excluding and including VAT, the breakdown of surcharges and the chargeable weight. A quote is valid for 24 hours. - Book:
POST /shipmentsbooks an offer from the quote. TheIdempotency-Keyheader prevents a duplicate if your software replays the request. - Track:
GET /shipments/{id}gives the status, the label and the tracking link;GET /eventslists every change, in order. - Print:
GET /shipments/{id}/labelreturns the PDF label once the agency has attached it. - Cancel:
POST /shipments/{id}/cancel, as long as the shipment is not in transit. If the label has already been attached, the request goes to your agency. - Get notified: signed webhooks deliver every event, to up to 3 HTTPS endpoints per account, set up in the portal.
Which carriers?
DHL Freight, XPO, DGS, DSV, Geodis and France Express, depending on the route and the account, and others from some departure points, such as Translocauto or Heppner. Rates are those of the InXpress network: you open no contract with a carrier, and FreightMaster does not use your contracts. Your contact is an InXpress agency.
One or more offers, depending on the route and the load: the POST /quotes response is authoritative.
Prices are those of your account, calculated like a booking made on the portal. Each offer gives the total excluding VAT, the VAT according to your account's regime and the total including VAT.
Who can quote, and who can book?
Any customer account can quote and test, unless its agency has switched off API access. A real booking requires three conditions: a monthly-invoiced account, an agency that has opened API booking, and a test booking reviewed by that agency.
| Your situation | Quote | Book through the API | Good to know |
|---|---|---|---|
| Test key, any customer account | Yes, at your account's prices | Simulated: no real shipment | Specimen label, simulated tracking and delivery. 200 quotes per day across all the test keys of the account. |
| Monthly-invoiced account, reviewed by its agency, agency open to API booking | Yes | Yes, real shipments | fm_ key. Default ceiling: 10 bookings per day and 60 per month, which can be raised on request, through your agency. |
| Monthly-invoiced account, agency that has not opened API booking | Yes | No (agency_) | Test keys remain available. To book through the API, talk to your agency. |
| Account paying by card (prepayment) | Yes, 200 quotes per day | No (booking_) | Each offer carries a booking_ link that opens the website with the route and pallets already filled in; the booking is then made on the portal. In France, the link carries the department only: the price is recalculated once the full address is entered, and may differ from the quote. The account can ask its agency for monthly invoicing from the portal. |
An account opened online starts on card payment: it quotes and tests through the API. A business registered outside France opens it on /en/create-account, a business registered in France on /inscription (form in French). A prepaid account can quote and ask its agency for monthly invoicing from the portal.
Quotas per key: 60 quotes per minute and 2,000 per day, 20 bookings per hour, 100 real bookings per day, 20 cancellations per hour, 120 reads per minute. Above them, the API returns 429 with the Retry-After header. The details: the API limits.
Is the quoted price guaranteed?
Price guaranteed for 24 hours if the booked shipment is identical, as long as the carrier still serves the shipment and the pickup date is still possible; otherwise, a new quote. The shipment.price_adjusted event signals a price change after booking.
API access is free. Transport is invoiced per shipment: bookings made through the API are invoiced like those made on the portal.
When is the shipment collected?
On the business day after the booking at the earliest, Paris time, excluding weekends and French public holidays. You give a requested pickup date, up to 90 days ahead: it is not guaranteed.
When does the label arrive?
Not at booking. Your agency attaches the label and the tracking link afterwards, with no guaranteed time; sometimes none is attached, for example when the carrier brings its own. The API returns 409 label_not_ready until the label is ready, then the shipment.label_available event tells your software, through a signed webhook or GET /events.
The full cycle: labels, tracking and webhooks.
How do I start?
Four steps, from opening the account to the production key. Steps 1 to 3 are self-service; step 4 goes through your agency.
- 1
Open an account
Business registered outside France: /en/create-account. Registered in France: /inscription (form in French). Or use the customer account your agency opened for you.
- 2
Create a test key
In the portal, under the “API” menu. The
fm_test_key is shown once; 5 active keys per account at most. - 3
Test
Quote, make test bookings and follow the cycle through to delivery, from your software or from the portal console, “Try the API”.
- 4
Go live
Request the production key: your agency reviews your test booking. You need a monthly-invoiced account and an agency open to API booking.
Step by step, with the request and the response of each step: getting started with the API. Gauge, quotas and ceilings: the API limits.
When FreightMaster is not the right fit
- More than 6 pallets or 2.4 loading metres: that is a full or part truckload, outside the API. Ask for a truckload quote (page in French).
- The label has to print on the spot, at the packing station: here, the agency attaches it after the booking.
- You have your own contracts and the volume to go with them: FreightMaster does not use your contracts. Software that drives your contracts, or your carrier's own tool, will suit you better.
- You are required to use SSCC codes, ZPL labels or EDI: the API provides none of them; the label is a PDF.
- You mostly ship parcels: the API covers pallet network shipping.
To choose between a direct carrier contract, a transport management system and an API with rates included, two guides in French: pallet shipping API, with or without a carrier contract and transport software, comparison site or API.
For a one-off shipment, without software, the online price simulator (in French) is enough; between France and another European country, the English price page /en/pallet-shipping-quote does the same.
Frequently asked questions about the API
- Can I use my own carrier contract with the API?
- No. FreightMaster does not use your contracts: rates are those of the InXpress network, and you open no contract with a carrier. If you already have your own contracts and the volume to go with them, software that drives your own contracts will often suit you better.
- Can I book through the API if my account pays by card?
- No. An account that pays by card can quote and test through the API, but cannot book: the API returns 403
booking_not_allowed. Each offer carries abooking_urllink to the website, with the route and pallets already filled in; the price is recalculated there and may differ from the quote. A prepaid account can quote and ask its agency for monthly invoicing from the portal. - What about more than 6 pallets?
- The API covers pallet network (LTL) shipping: 6 pallets and 2.4 loading metres at most. Beyond that, the shipment is a full or part truckload, handled outside the API: ask for a quote on /affretement-cotation (page in French).
- Are prices the same for every account?
- No. The API returns the prices of your account, calculated like a booking made on the portal. Two accounts can receive different prices for the same shipment.
- Does API access cost anything?
- No, API access is free. Transport is invoiced per shipment: a booking made through the API is invoiced like a booking made on the portal.
- How do I get an API key?
- The test key is created in the portal, under the “API” menu, as soon as you have a customer account. The production key opens after your agency has reviewed a test booking; you are told by e-mail when it is authorised.
- Is the label provided at booking?
- No. Your agency attaches the label after the booking, with no guaranteed time, and sometimes there is none. The API returns 409
label_not_readyuntil the label is ready, and theshipment.label_availableevent tells your software when it arrives. - Which countries are covered?
- France, and lanes between mainland France (excluding Corsica) and 35 European countries: France must be the origin or the destination country. Outside France, usually 3 pallets at most, depending on the lane and your account.
- Does FreightMaster have an MCP server for assistants?
- Yes, a read-only MCP server: see /api/en/mcp. It gives indicative public prices; the booking is still made by a person, on the portal. It was tested with the official MCP protocol client; Claude and ChatGPT have not been tested yet.
Page written by Martin Nivel, head of the InXpress agency in Lille, from the API's code. The documentation is public, with no account needed. The French version of this page is /api. Who publishes FreightMaster: about us (in French).