add port to api options