Passed params into fetchFromApi().