Return public ip via api.