I had this problem just yesterday, so I made a post too
and I’ve found a better API after doing a bit of research.