small refactor (API_URL_PREFIX)