extract server api url