top markets API handling