improved recent history API GET