They are no real “historical” end points in the Twitch API, but you can collect some data in real time and use that to build a history.
You can have a read of the docs https://dev.twitch.tv/docs/api/ and figure out what you need to do based on what you are trying to achieve