Skip to content
SPECIFICTION
Get listed

json-server vs MockAPI

json-server

github.com

MockAPI

mockapi.io

Side by side

Figurejson-serverMockAPI
Price fromFree$2.92/mo
Free planYesYes
Free trial——
Open source——
Web—Yes
APIYesYes
Self-hostedYes—
Plans published13
Spec score · API Mocking Tools7.8 (#11)8.9 (#4)
FilteringQuery filters support comparison operators, membership, case-insensitive string matching and nested fields.Generated endpoints provide filtering support.
Purposejson-server creates a fake REST API with zero coding for testing and prototyping.MockAPI provides hosted REST APIs for prototyping, testing and learning.

Plans

json-server

  • json-serverFree

json-server pricing →

MockAPI

  • FreeFree
  • Paid monthly$5 a month
  • Paid annual$35 a year

MockAPI pricing →

In their own words

json-server

json-server has no write-up on Specifiction yet; its figures are above.

Visit github.com

MockAPI

MockAPI lets users create REST API endpoints, generate custom data, and operate on it through a RESTful interface. Each project receives a unique base URL shared by its endpoints. Users define resource schemas and field-level generators, including Faker.js functions such as lorem.sentences and datatype.boolean. Relations between resources can be configured, with endpoints generated automatically. Generated resources support GET, POST, PUT, PATCH, and DELETE operations. Listed query capabilities include pagination, sorting, filtering, data generation, and customizable responses, and OpenAPI import is supported. The service is described for prototyping, testing, and learning. Documentation covers projects, resources, data generation, code examples, filtering, pagination, and relations. The Free plan costs nothing for 1 project and 2 resources. Paid monthly access costs $5 a month, and paid annual access costs $35 a year; each paid plan allows 20 projects and 50 resources. Custom endpoints and webhooks are marked coming soon.

Visit mockapi.io