API Search action too many times

I cache and write to the file and search for the file before recording and call a search in 24 hours