Add `get_api_url` method