Upstash provides a serverless Redis database, which can be used as a key-value store of up to 1mb with a free account.
Go to https://console.upstash.com/login


UPSTASH_REDIS_REST_URL and the UPSTASH_REDIS_REST_TOKEN each:
upstashURL and upstashToken, respectivelyUpstash:

Val Town:

If you set it up correctly, you should be able to copy & paste this Val and have it return the same results from your own Upstash database
https://www.val.town/embed/stevekrouse.upstashEx
JSON is automatically stringified and parsed so you can set it and get it directly. You can store a JSON object of up to 1mb this way with a free acount.
https://www.val.town/embed/stevekrouse.upstashJSONEx