What if instead of API's for data sets, we simply placed a sqlite file onto a web server as a static asset, so you could just periodically do a GET and have a local copy.
replies(4):
More industrious people have apparently wrapped this up on NPM: https://www.npmjs.com/package/sqlite-wasm-http