Alternatively, is there a way to just query OSM with a location, and get a static JPG/PNG back? I just need to show users a map of the location.

Apparently, the only service available is staticMapLite, but it’s not reliable and it complains with “Please verify a valid referrer when using the static map script.”

https://staticmap.openstreetmap.de/staticmap.php?center=40.714728,-73.998672&zoom=14&size=865x512&maptype=mapnik&markers=40.702147,-74.015794,lightblue


Edit: Here’s what I’d like to get, by just calling a URL with the right params, and getting a JPG/PNG back: