compare api endpoints