I really appreciate if anyone can tell me some databases on trade statistics before 1950 (and better in the 19th century). I mean trade data at world scale, not those on a particular country (e.g. US export data).
You could try this website. It contains a lot of information about world trade from 1800 to 2017. You could ask the authors about the source of their data if it is not mentioned there.