BEIJING - China's foreign trade neared $2 trillion in the first half year, up 8.6 percent year-on-year, the General Administration of Customs said on Wednesday.