API-based data fetching for HF