Net capital imports exceeded $800 billion in 2008 alone. The money came largely from selling mortgage-backed securities and collateralized debt obligations, claims against claims against American homeowners (or to be precise, only against the homes themselves, as the owners were protected by the non-recourse nature of loans).