Two kinds of data
Real-time data answers what is happening now. Historical data answers what happened before, and it is what models, statistics pages and settlement checks rely on.
They behave differently
They behave differently. Live data changes every few seconds and can be corrected. Historical data is stable and is usually loaded once, then topped up daily.
A common pattern
A common pattern is to load history into your own database and use the live feed only for matches in progress.
Next step: tell us what you are building and we will point you to the right endpoints.