Most if not all stock markets are for profit corporations making a lot of profit. They could have api fees at 0 and still make a profit.