Back to articles

JSON Storage API Guide

A detailed guide to JSON Storage API: create JSON files, get public URLs, and manage files through REST API.

4 min read

JSON Storage API is a REST API that lets you upload JSON files, get a public URL for them, and share the data with anyone.

Files can be created, updated, and deleted through the REST API or through the built-in Playground on the API page. In the future, file uploads through the dashboard will also be available.

Features and limits#

You can upload up to 3 JSON files.

Each file can be no larger than 50 KB.

Public JSON file access is available without an API key and without any read request limit.

Limits only apply to file management operations: create, update, and delete. These actions are limited to 10 requests per minute so that the server is not overloaded with file operations.

When it is useful#

JSON Storage API works well for:

  • storing mock data
  • demo projects
  • interview tasks
  • preparing assignments for candidates
  • public JSON configs
  • quickly sharing JSON files
  • frontend examples without a custom backend

Create a JSON file through the API#

To create a file, send a POST request to:

The request body accepts two parameters:

  • data — JSON data
  • name — file name

Example REST API request:

The response will look like this:

Where:

  • name — your file name
  • url — public URL to the JSON file
  • viewerUrl — a page for convenient file viewing

On the viewerUrl page, you can see the file size, public URL, download the file, and preview the JSON.

View all JSON files#

You can view all your files through the Playground on the API page or through the REST API.

Example REST API request:

The response will look like this:

Delete a JSON file#

A file can be deleted through the Playground or through the REST API.

The delete URL looks like this:

Where name is the file name.

Example REST API request:

Playground#

JSON Storage API can be tested not only through code, but also through the built-in Playground on the API page.

This is useful when you want to quickly upload a file, inspect the list of available JSON files, delete an unnecessary file, or simply check the response structure without a separate client.

Open JSON Storage API