The Search Rates and Flights/POST endpoint replicates CargoAi marketplace search results and retrieves airline flights and routes, including availability and pricing on a route level, according to the search parameters and the user configuration.

This is comparable to the initial search on the CargoAi app.

  1. Best practice 1: search lead time

    Airlines typically provide rates for search and booking lead time between 0 and 14 days before the departure date. It is very rare that airlines provide rates up to 1 month, so make sure you don't test for dates that are too far out in the future.

  2. Best practice 2: Make sure you test with "real-life" shipment details

    Your shipment details (dimensions, weight, volume etc.) should be realistic. Anything totally out of range or with dummy values in dimensions or weight/ volume will not trigger any results.

  3. Best practice 3: use filters

    There are multiple options and we recommend to implement filters to narrow down the results in accordance with your requirements.

    For example, use "withRateOnly": true to filter out the results to only flight schedules that are associated to at least 1 rate.

    More examples coming soon..

  4. Best practice 4: make sure your account is at Pro level before testing worldwide routes

    The free Basic account only lets you search for schedules and rates on the route CDG to BKK.

    If you need to unlock your testing to a worldwide network basis, please subscribe to the Pro account. You can unsubscribe at any time.

    You'll need to send us the following details so we can verify and activate your IATA CASS:

RapidApi username

Company Name

Country

Origin Airport

IATA-CASS Number

Company user email

xxxxx

xxxx

ES

MAD

1234567-1234

xxx@xxx.com

xxxxx

xxxx

DE

FRA

7654321-4321

xxx@xxx.com

We hope the above helps! If you still have any question, please do not hesitate to reach out at support+api@cargoai.co with your rapidAPI username.

Did this answer your question?