Designing a trend when using API

Okay, I'm trying to develop a trend analysis dashboard that shows the trending of a system going up or down over time (report to get updated every day). But how do you usually accomplish this with an API call? Once the call goes out, it refreshes the data frame and the previous information is lost. Just wanted to get a strategic overview of how to accomplish this, etc.