JSON storage as a service.
A RESTful API for flexible storage of JSON data. Allow developers to focus more on app development than on infrastructure management.
Easily store your JSON data.
Using our RESTful API, you can store and retrieve JSON data in your database.

Simple as One. Two. Three.
Leave the data storage to us. We help speed up your development time, letting you build awesome things fast!
Store JSON data
post
With a simple post request, create a json record.
1var myHeaders = new Headers();
2myHeaders.append("Content-Type", "application/x-www-form-urlencoded");
3myHeaders.append("x-collection-access-token", "YOUR_COLLECTION_ACCESS_TOKEN");
4
5var urlencoded = new URLSearchParams();
6urlencoded.append("jsonData", `{"firstName": "Tim", "lastName": "Cook"}`);
7urlencoded.append("collectionId", "YOUR_COLLECTION_ID");
8
9var requestOptions = {
10 method: 'POST',
11 headers: myHeaders,
12 body: urlencoded,
13 redirect: 'follow'
14};
15
16fetch("https://api.myjson.online/v1/records", requestOptions)
17 .then(response => response.json())
18 .then(result => console.log(result))
19 .catch(error => console.log('error', error));
20
Get JSON data
get
You can make a get request to retrieve your json record.
1var myHeaders = new Headers();
2myHeaders.append("Content-Type", "application/json");
3myHeaders.append("x-collection-access-token", "YOUR_COLLECTION_ACCESS_TOKEN");
4
5var requestOptions = {
6 method: 'GET',
7 headers: myHeaders,
8 redirect: 'follow'
9};
10
11fetch("https://api.myjson.online/v1/records/YOUR_RECORD_ID", requestOptions)
12 .then(response => response.json())
13 .then(result => console.log(result))
14 .catch(error => console.log('error', error));
15
Update JSON data
put
Update your record with the put request.
1var myHeaders = new Headers();
2myHeaders.append("Content-Type", "application/x-www-form-urlencoded");
3myHeaders.append("x-collection-access-token", "YOUR_COLLECTION_ACCESS_TOKEN");
4
5var urlencoded = new URLSearchParams();
6urlencoded.append("jsonData", `{"firstName": "Charles", "lastName": "Cook"}`);
7
8var requestOptions = {
9 method: 'PUT',
10 headers: myHeaders,
11 body: urlencoded,
12 redirect: 'follow'
13};
14
15fetch("https://api.myjson.online/v1/records/YOUR_RECORD_ID", requestOptions)
16 .then(response => response.json())
17 .then(result => console.log(result))
18 .catch(error => console.log('error', error));
19
post
With a simple post request, create a json record.
get
You can make a get request to retrieve your json record.
put
Update your record with the put request.
1var myHeaders = new Headers();
2myHeaders.append("Content-Type", "application/x-www-form-urlencoded");
3myHeaders.append("x-collection-access-token", "YOUR_COLLECTION_ACCESS_TOKEN");
4
5var urlencoded = new URLSearchParams();
6urlencoded.append("jsonData", `{"firstName": "Tim", "lastName": "Cook"}`);
7urlencoded.append("collectionId", "YOUR_COLLECTION_ID");
8
9var requestOptions = {
10 method: 'POST',
11 headers: myHeaders,
12 body: urlencoded,
13 redirect: 'follow'
14};
15
16fetch("https://api.myjson.online/v1/records", requestOptions)
17 .then(response => response.json())
18 .then(result => console.log(result))
19 .catch(error => console.log('error', error));
20
Some popular use cases
Prototyping
Quickly develop your new application and add persistence to it without worrying about the backend.
Remote config
Store user preferences and application configuration in the cloud.
CMS
Build a website and use myJson to store your content.
IoT
Allow your IoT device to read and create data.
Hackathon
Add persistence to your hackathon application.
Dashboard
Build a web application dashboard and store your data in myJson.
Simple pricing, for everyone.
myJson is free while in beta and will later offer a free plan.
Frequently asked questions
If you can’t find what you’re looking for, use the bottom-right live-chat.
What is myJSON?
It's a solution that allow you to store your data in a JSON format. All operation can be done via our RESTful api.
What is a record?
A record is a JSON object.
What is a collection?
Collection are a way to organize your records.