# Turn myCargo into an API for schedules and shipments

> Build methods that get flight routings from Schedules, quotes from Quote & Book and air waybill status from Track and Trace in myCargo, one call each. A workflow can check your open air waybills before your shift and email you the ones whose status moved.

Page: https://fous.com/automate/air-france-klm-martinair-cargo-mycargo
Updated: 2026-11-12

Works with your own Air France KLM Martinair Cargo myCargo account. Fous is an independent product.

## What you can build on myCargo

### Get flight schedules

Reads the Schedules page for an origin, a destination, a date and a product such as General, Express or Specialized pharma.

- Takes: Origin, destination, date, product
- Returns: Flight numbers, departure and arrival times, connection points, product

### Track a shipment

Reads Track and Trace for one air waybill: where the shipment is and what happened to it last.

- Takes: Air waybill number
- Returns: Status, latest event, event time and place, flight, pieces, weight

### Get a quote

Fills in a quote request in Quote & Book and reads the options myCargo offers, without booking.

- Takes: Origin, destination, departure date, product, pieces, weight, volume
- Returns: Routing, flights, departure and arrival times, product, price, currency

### Book a shipment

Books one option from Quote & Book for the shipment details you give and reads the booking confirmation.

- Takes: Origin, destination, departure date, product, pieces, weight, volume, chosen flight
- Returns: Booking status, flights, price, currency

## Automate myCargo with a workflow

A [workflow](/product/workflows) runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

### Morning status check of open air waybills

Starts: Every weekday at 6:30

1. For each air waybill number in your list, track the shipment in Track and Trace.
2. Keep the shipments whose status changed since the last run.
3. Email you the list with status, latest event, airport and flight.

### Weekly schedule check for your main lanes

Starts: Every Monday at 7:00

1. For each lane you name, get the flight schedules for the coming week and your product.
2. Keep the routings that were not there on the last run.
3. Post them to your webhook with flight numbers, times and connection points.

### Quotes for new shipment requests in your system

Starts: When your system calls the workflow's webhook with shipment details

1. Get a quote in Quote & Book for the origin, destination, date, product, pieces, weight and volume sent.
2. Keep the three cheapest options.
3. Post them back to your system's webhook with routing, flights, price and currency.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

## Once built, one call from your code

Once you have built a [method](/product/methods), it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get flight schedules” would look like.

Example request:

```
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "afklcargo.com/get_flight_schedules",
    "input": {
      "origin": "AMS",
      "destination": "JFK",
      "date": "2026-11-16",
      "product": "General"
    }
  }'
```

Example response:

```
{
  "status": "completed",
  "data": {
    "origin": "AMS",
    "destination": "JFK",
    "date": "2026-11-16",
    "product": "General",
    "routings": [
      {
        "flights": [
          "KL0641"
        ],
        "departure": "2026-11-16T10:05",
        "arrival": "2026-11-16T12:30",
        "connections": []
      }
    ]
  }
}
```

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

## MyCargo’s own options

Air France-KLM's developer portal offers two cargo APIs: the Cargo Sales API for Quote & Book, allotment management and tracking, and the Cargo Service API for shipment status and notifications. A developer portal account is free; APIs marked "Review required" need Air France-KLM's approval, and keys work once the contract is Accepted. myCargo itself can send automatic notifications for your shipments.

| Option | What it covers | What it takes |
| --- | --- | --- |
| Cargo Sales API | Quote & Book, allotment management and tracking in a single API. | A free developer portal account; keys work once the contract status is Accepted and the keys are Active. Some APIs need approval. |
| Cargo Service API | Shipment list status, detailed shipment status and requests for notification. | The same developer portal account and key process; APIs marked "Review required" are approved by Air France-KLM. |
| myCargo notifications | Automatic notifications that you configure for all your future shipments. | A myCargo account. |
| myCargo by hand | Schedules, Quote & Book, Shipments, Rates, Claims and Track and Trace in the browser. | A myCargo account; Track and Trace, Schedules and filing a claim also work without signing in. |

Read on November 12, 2026: [Air France-KLM Developer Portal: Cargo products](https://developer.airfranceklm.com/products/cargo), [Developer Portal: Getting started](https://developer.airfranceklm.com/guides/getting-started), [myCargo: Track and Trace](https://www.afklcargo.com/mycargo/shipment/singlesearch).

## Signing in to myCargo

myCargo signs you in with your email address and a password; Track and Trace and Schedules also open without signing in. With Fous, you sign in once through myCargo's own sign-in with your own account. The login is sealed with AES-256, never returned by the API or written to logs, and when a session expires Fous signs back in.

## Worth knowing

- **Some tools need no sign-in**: Track and Trace, Schedules and File a claim open from the myCargo sign-in page without an account. Quote & Book, Shipments and Rates are behind the sign-in.
- **Pick the exact product in Schedules**: Schedules asks for a product, and the list is long: General, General cargo plus, Express variants and many Specialized products such as pharma, fresh, dgr and live animals.
- **API access goes through a review**: On the developer portal, APIs tagged "Review required" need Air France-KLM's approval, and keys work only once the contract status is Accepted and the keys are Active.
- **Not every listed endpoint is in your contract**: The developer portal says its API Reference may list endpoints that your contract does not include, and that you contact Air France-KLM to get them.

## More in Logistics: forwarders, air cargo and customs

- [Extensiv 3PL Warehouse Manager](https://fous.com/automate/extensiv-3pl-warehouse-manager.md)
- [e-SkyCargo](https://fous.com/automate/e-skycargo.md)
- [Lufthansa Cargo eServices](https://fous.com/automate/lufthansa-cargo-eservices.md)
- [ACE Secure Data Portal](https://fous.com/automate/ace-secure-data-portal.md)
- [CARM Client Portal](https://fous.com/automate/carm-client-portal.md)
- [Dubai Trade](https://fous.com/automate/dubai-trade.md)
- [Customs Declaration Service](https://fous.com/automate/customs-declaration-service.md)
- [douane.gouv.fr](https://fous.com/automate/douane-gouv-fr.md)
- [ACE AESDirect](https://fous.com/automate/ace-aesdirect.md)
- [myDHLi](https://fous.com/automate/mydhli.md)
- [myDSV](https://fous.com/automate/mydsv.md)
- [myKN](https://fous.com/automate/mykn.md)
- [IPAFFS](https://fous.com/automate/ipaffs.md)
- [DGFT portal](https://fous.com/automate/dgft-portal.md)

Other industries: [NetX360+](/automate/netx360), [PayCargo](/automate/paycargo), [Navisphere Carrier](/automate/navisphere-carrier), [RTX Supply Chain Platform](/automate/rtx-supply-chain-platform), [CAMP MTX](/automate/camp-mtx), [HomeWiseDocs](/automate/homewisedocs).

## Frequently asked questions

### Does myCargo have an API?

Air France-KLM offers the Cargo Sales API (Quote & Book, allotment management, tracking) and the Cargo Service API (shipment status, notifications) on its developer portal. Registration is free; APIs marked "Review required" need Air France-KLM's approval before your keys work.

### Can I track shipments without a myCargo account?

Yes. Track and Trace opens from the myCargo sign-in page without signing in, and so do Schedules and File a claim. A workflow can loop over your list of air waybills, track each one and keep the status of each.

### Can I get quotes without booking?

Yes. You can build a read-only method that fills in Quote & Book and returns the options and prices without confirming a booking. Booking is a separate write method you build only if you want it.

### Which products can I search in Schedules?

The product list on the Schedules page includes General, General cargo plus, Express, Express courier, Express heavy and Specialized products such as pharma, fresh, dgr, art, wheels and live animals.

### Is Fous affiliated with Air France KLM Martinair Cargo?

No. Fous is an independent product. You sign in to myCargo with your own account, and a method reads and does only what your account can.

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of Air France KLM Martinair Cargo myCargo (Air France KLM Martinair Cargo). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.
