There's nothing wrong with the transaction. The problem is charging for it. And why is that information that you're allowed to exchange? You can do that. In fact, people might say that it was admirable and you were honest. But in some of any cases, it might be repulsive. We might think of it as a violation of privacy. It clearly does not violate the law unless you charge for it.
Mike Munger of Duke University talks with EconTalk host Russ Roberts about the psychology, sociology, and economics of buying and selling. Why are different transactions that seemingly make both parties better off frowned on and often made illegal? In theory, all voluntary transactions should make both parties better off. But Munger argues that some transactions are more voluntary than others. Munger lists the attributes of a truly voluntary transaction, what he calls a euvoluntary transaction and argues that when transactions are not euvoluntary, they may be outlawed or seen as immoral. Related issues that are discussed include price gouging after a natural disaster, blackmail, sales of human organs, and the employment of low-wage workers.