Key-Value Store API
Stop wasting time setting up NoSQL databases. Get a key-value database and web API up and running in seconds.
Perfect for serverless apps, prototyping, metrics, and more. Simplest API on the planet.
Get Started Now# create a new bucket with your email
$ curl -d 'email=user@example.com' https://kvdb.io
Fd55uogXyxYdnXJvnyN8Xo
# set an integer key
$ curl -d '100' https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/hits
# increment it (atomic)
$ curl -d '+1' -XPATCH https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/hits
101
# set a string key
$ curl -d 'oatmeal' https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/cookie
# list keys in the bucket by prefix
$ curl https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/?prefix=hi
hits
# delete the bucket and its keys
$ curl -XDELETE https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo
Key Value Database
Centralized Data Collection
Simple. Powerful.
Whether you use one bucket or a thousand buckets to store your keys, KVdb makes it easy to read and write key-value data for any business use case. Secure your database by using access tokens that restrict which keys users can read and write. Great for most apps with user accounts. View API Docs
Super Simple API
Get Started in 30 Seconds
Built for developers. Ready for the enterprise.# create a completely private bucket
# keys can be updated later via the API or web interface
$ curl -d 'email=user@example.com' \
-d 'secret_key=supersecret' \
-d 'read_key=readsecret' \
-d 'write_key=writesecret' \
https://kvdb.io/
Fd55uogXyxYdnXJvnyN8Xo
# create a new bucket with a secret key to prevent
# others from listing your keys or deleting them
$ curl -d 'email=user@example.com&secret_key=safety' https://kvdb.io/
Fd55uogXyxYdnXJvnyN8Xo
# make bucket read-only and require a key for setting values
$ curl -d 'write_key=knock' -XPATCH https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo
# delete bucket
$ curl -u 'safety:' -XDELETE https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo
# set an integer key
$ curl -d '100' https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/hits
# increment it
$ curl -d '+1' -XPATCH https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/hits
101
# set a string key
$ curl -d 'oatmeal' https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/cookie
# get a key
$ curl https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/cookie
oatmeal
# list keys by prefix
$ curl https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/?prefix=coo
cookie
# delete a key
$ curl -XDELETE https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/cookie
# permanent non-expiring keys
$ curl -d 'default_ttl=0' -XPATCH \
https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo
# a simple Lua script to count events
$ cat count.lua
kvdb.header["content-type"] = "text/plain"
local key = os.date("visitors:%Y-%m-%d")
local err = kvdb.incr(key, 1)
if err then
kvdb.exit(500)
end
local value = kvdb.get(key)
kvdb.say(value)
# upload to KVdb
$ curl --data-binary @count.lua -XPUT \
https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/scripts/count
# run it
$ curl https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/scripts/count
1
$ curl https://kvdb.io/Fd55uogXyxYdnXJvnyN8Xo/scripts/count
2
Looking for more? Try our Pro plan.
Go Pro
Only $19 a month
Free to start, affordable to scale.14 Day Trial
Free No Credit Card Necessary Includes:- 10 MB of storage
- 10,000 operations
- 3 month key expiration
- —
- —
- —
Pro
$19 per month Includes:- 1 GB of storage (+ $1/GB)
- 1 million ops (+ $5/mil)
- Keys never expire
- Custom bucket scripts
- —
- —
Enterprise
$499 per month Includes:- Unlimited storage
- Unlimited operations
- Keys never expire
- Custom bucket scripts
- Encryption at rest
- On-prem via k8s/Docker