batch get history data