Added public rest API for markets