add accessor to api_url