getHistory api