Buying directly from the black market it is unlimited.
Prices vary depending on how much someone buys or sells from the market. If you sell more then the price drops. If you buy more then the price increases.
Buying from players is only when you or the other person actually put resources out but this feature is never used.
Usually as you progress in the game you will find that you don't need the black market more and more.