Takes an ApiConfig object and returns the URL to fetch API details