improved the apifetcher API adding a fallback option