Adding the API fetch methods