Seems like at least some of this should be doable by querying the API on mempool-space instances? (Not just the one at mempool.space.) And there are a lot of those, though I'm not sure they're listed anywhere.
Discussion
All of the ones I've tried to use on the web regularly fail to deliver content because of a CORS restriction. I think most people who set those up want the "visual" block explorer in the browser but don't care about letting other people "programmatically" access that data from a browser. Even mempool.space and blockstream.info throw cors errors if a web page queries their api endpoints via the `fetch` method, for example