fetch function

Fetch time-based API-endpoint responses