A Simple Data Storage API

A lightweight API for storing data without managing a backend.


Get API Key View Docs


Like LocalStorage but persistent, secure, and accessible across devices. Perfect for indie devs, static pages, prototypes and hobby apps.

”it's like LocalStorage - but better! My static pages now have a database backend!”

-- said no one on Reddit ever
(but it's still true)

“Perfect for my side projects. I didn't want to run a database just to store a few settings.”

Mae Dapnaim Bot Developer

“I use it for prototypes, demos, and hackathons. Simple API and super reliable.”

Luke Inghud Startup Builder

No Logins. No Accounts.

logo
    No accounts to create. No projects to set up. No storage buckets to configure just to get going. Simplicity of localStorage with all benefits of a full backend.

No Backend Database.

logo
Create logins, track sign ups, store your user's preferences - all with no databases to manage, no backend to maintain. Sometimes we just need a quick way to persist some data without getting into creating a dedicated data store.

Light-weight API

logo
Use Prefs.us API When ...
  • Need a quick way to persist some data without creating a dedicated backend.
  • Don't want to pollute an existing storage with temporary data that is ephermal in nature.
  • The data is only needed for a short period of time. "Store and forget" with isolated time-to-live (TTL) for each piece of data.

Local Storage Alternative

logo
LocalStorage in the Browser:
  1. Does not survive data wipe or device reset
  2. Is not secure: data stored in plain text.
  3. Limited to 5 MB of storage.
  4. No device switching
Prefs.us fixes that. If you rely on local storage to preserve user data - but are concerned about the data wipe, data restoration, or supporting multiple devices then prefs.us may be for you.

🚀 No Setup

Free tier. No account to create. No sign-ups. Just start storing data in seconds with a on-the-fly generated API key.

🌐 Serverless

Create your users' accounts and logins, store their preferences - all with no backend. No databases to create and maintain.

📦 JSON Storage

API allows storing and retrieving plain text, JSON documents, files, and serialize and de-serialize objects.

🔒 Secure

Each project is protected by an isolated API Key with end-to-end encryption.

⚡ Fire-and-forget

Data life-cycle can be controlled with time-to-live (TTL) rules set by you. Data is purged automatically after period of inactivity.

🔥 Replace localStorage

Data stored with prefs.us is persistent, survives device data wipes, and handles device switching.

💻 Backups

Your users - your data. All managed data can be backed up and exported.

⚡ No Surprise Charges

You will never get hit with surprise fees like compute charges or data transfer. You get unlimited egress, users, and unlimited bandwidth.

Store Data with One Request

Key / value pair

  let settings = '{ "score":"200", "theme": "dark" }';
  
  prefs_us.key("settings").write(settings);
  
  prefs_us.key("settings").read( (response)=>{ settings = response.value; });
  
  


set Item / get Item

  let userData = '{ "score":"200" }';
  
  prefs_us.setItem("user", userData);
  
  prefs_us.getItem("user", (response)=>{ userData = response.value; });
  
  


Object serialization

  prefs_us.putObject("myObj", objInstance);
  
  prefs_us.getObject("myObj", (response)=>{
      let instance = null;
      if (response.success) {
        instance = response.value;
      }
  });
  

Dashboard

A simple dashboard helps you manage your API keys. You can review stored data, monitor data ingress and egress, and other metrics.

prefs.us dashboard screenshot

User Case Studies


ultimafaux screenshot

UltimaFaux.com


The fan remake of the classic.

SpeechBubbles.app


A speech aid tool for non-verbal world.

enableplayer.app


A self-moderated simplified YouTube client for special needs users on mobile devices.

Start Building Today

Stop worrying about databases for your side projects.