I ran into this issue with the lastfm api. Going to an address such as "https://lastfm-recently-played.vercel.app/api?user=USERNAME" will show an image of your recently played tracks. Putting this on your site will freeze the image at the point you added it, which prevents it from updating in real time.
Perhaps just having the cached address update from the actual url occasionally would fix this.