A Simple Data Storage API

A lightweight API for storing data without managing a backend.


Get API Key View Docs


No Signups, No Accounts. Like LocalStorage but persistent and secure. Perfect for indie devs, 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

Database with no backend.

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.

Lightweight 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.
  • Want simplicity of localStorage with all benefits of a full backend.

No Logins. No Accounts.

logo
Account is optional. The idea is to be able to quickly store and retrieve data with minimum fuss. With that goal in mind, the API was designed to be as frictionless as possible.

You can securely service your user's needs without running a backend dedicated to storing your users' data. We use end-to-end encryption for data-in-transit as well as data-at-rest.

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

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

🌐 Serverless

Create user accounts and logins with no backend. No databases to create and maintain.

📦 JSON Storage

Store and retrieve plain text, JSON documents, configuration files, object serialization.

🔒 Secure

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

⚡ Store and forget

Data life-cycle 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.

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.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.

Create Free Project