Overview
MockAPI is a web service for building a fake REST API in a few minutes. You create a project, add resources such as users or products, describe the fields each one has, and the service generates endpoints and fills them with made-up data. Your front end or mobile app can then read, create, update and delete records over HTTP as if a real back end existed. The site describes itself as a tool for prototyping, testing and learning, not for production use.
Each field in a resource schema can be tied to a Faker.js generator, so names, emails, dates and similar values look realistic. Resources can be linked to each other, and the service then builds nested endpoints for the relation automatically. A project can have a prefix added to all of its endpoints, and the official documentation covers filtering, pagination and sorting of results. On paid plans you can also define a custom JSON response template for an endpoint.
You sign in to create projects, with email, GitHub or Google. The free plan is small: one project with two resources, and no custom responses or collaboration. A paid subscription, monthly or yearly, raises those limits and lets you invite collaborators.
Categories
Features
- Generates REST endpoints for each resource you define
- Schema editor with Faker.js data generators per field
- Relations between resources with automatically generated nested endpoints
- Full create, read, update and delete operations on the mock data
- Filtering, pagination and sorting of results
- Optional prefix for all endpoints in a project
- Custom JSON response templates on paid plans
- Project collaborators on paid plans
Privacy
See the official privacy policy. Projects are tied to a sign-in by email, GitHub or Google, and the app loads Google Analytics and Stripe.
Pros & Cons
Pros
- Gives a working API to code against before the real back end exists
- Data persists and can be changed through the API, unlike static fixture files
- Realistic sample data without writing any yourself
- Nothing to install or host
Cons
- Requires an account
- Free plan is limited to one project and two resources
- Custom responses and collaboration need a paid subscription
- Meant for prototypes and tests, not for real or sensitive data
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Tests HTTP requests and responses.
Open Source No Signup Web API -
REST Tools · REST Test Test
Sends and tests REST API requests in the browser.
Free No Signup Web