Originally Posted by
TemboOne
Airlines will not usually accept expired passports for travel - even "back" to your "home" country, and I believe expiry dates have to be provided prior to travel.
This is where you are lost likely to have a problem. Forgetting about APIS for the moment, the airline will likely deny you boarding if you use an expired passport.
Airlines typically deny boarding if a passenger doesn't provide proof that they hold the minimum required documents to successfully enter said destination country. This is for liability purposes. If an airline accepts a passenger who doesn't meet entry requirements, immigration at said country will deny entry and require the airline to carry the passenger back to where they came from on the next flight back at the airline's expense - even if it means IDB'ing someone on an already full flight. Said airline will also likely receive a fine from the country involved.
As for APIS, it's only required for certain countries, so that would only be a problem for certain destinations. However, per the OPs example - Canada for sure, and I'm pretty certain UK - are two countries that do require this data.