add new methd `get_api_url`