Add API for fetching past events