Skip to content
SPECIFICTION
Get listed

json-server

github.com

Free plan APISelf-hosted
Visit github.com
Spec score 7.8 #11 of 26 in API Mocking Tools

Spec sheet

Purpose
json-server creates a fake REST API with zero coding for testing and prototyping.Read 4 Oct 2026 · github.com
License
The repository is licensed under the MIT License.Read 4 Oct 2026 · github.com
Compatibility
The README describes the tool as a fake REST API; its repository topics include frontend, mock, REST and test.Read 4 Oct 2026 · github.com
Data files
It reads a db.json or db.json5 file and starts a local server at http://localhost:3000.Read 4 Oct 2026 · github.com
Filtering
Query filters support comparison operators, membership, case-insensitive string matching and nested fields.Read 4 Oct 2026 · github.com
HTTP routes
Array resources support GET, POST, PUT, PATCH and DELETE routes, while object resources support GET, PUT and PATCH.Read 4 Oct 2026 · github.com
Install and runtime
The package is installed with npm, and its package metadata specifies Node.js >=22.12.0.Read 4 Oct 2026 · github.com
Relationships
The _embed query parameter includes related resources, and DELETE supports a _dependent parameter for dependents.Read 4 Oct 2026 · github.com
Security and compliance
The opened project pages provide no security or compliance certification statements.Read 4 Oct 2026 · github.com
Sorting and pagination
Requests can sort results and paginate them with _page and _per_page; the documented default page size is 10.Read 4 Oct 2026 · github.com
Static files
It serves files from ./public by default and can serve additional directories passed with -s.Read 4 Oct 2026 · github.com
Version status
The README identifies the displayed v1 documentation as beta and warns users to expect breaking changes.Read 4 Oct 2026 · github.com

Plans and prices

json-server Free MIT-licensed open-source package · runs locally from a JSON or JSON5 file Read 4 Oct 2026 · github.com

Every json-server plan and price →

Where Specifiction places it

Alternatives to json-serverAll alternatives →