How to replace broken images in database with placeholder image?

I’m getting a list of things from the API connector using the GET method, but I am receiving more than 200+ broken images due to a 404 error, image not found. How can I apply a placeholder to these items in a list?

Need help…