Super Simple Key-Value DB

You can set a key/value and get it. Thats it!

How To

API for setting a key/value
https://api.keyval.org/set/{KEY}/{VALUE}

If you want to auto-generate a key, you can set key as -

ex:- https://api.keyval.org/-/{VALUE}

API to get a value
https://api.keyval.org/get/{KEY}

To use POST method please refer to keyval code.

About KeyVal

KeyVal is a free, public key-value store you can use without signing up. It's designed for quick prototypes, side projects, scripts, and anywhere you need to persist a small value without spinning up a database.

Key rules: Keys must be at least 10 characters and no longer than 100. Values are capped at 300 characters.

Key/Value set via the REST (URL) API are public by default (uses GET). There is no authentication. Anyone who knows your key can read or overwrite it. Use a long, unique prefix like myapp-prod-xyz123- to reduce collisions.

Keys set via CLI, Node.js, Python (uses POST), the key and value are not exposed in the URL. Still, there is no authentication, so treat your keys like unguessable tokens rather than secrets.

Use cases people have found useful: storing config flags between deploys, saving game scores from browser experiments, passing values between shell scripts, quick cross-device clipboard, and lightweight feature flags for prototypes.

Please report any issues or feature requests at https://github.com/prakis/keyval/issues.