MockAPI
MockAPI is a simple tool that lets you easily mock up APIs, generate custom data
Freemium
Domain Rating
by Ahrefs
Domain Rating by Ahrefs45
Description
MockAPI is a tool for creating a REST API without writing a backend. You define a resource and a schema for its fields, pick data generators from Faker.js for values such as names, dates and avatars, and the tool creates endpoints for it. You can set up relations between resources, and it generates the nested endpoints for those relations automatically. Generated endpoints support pagination, sorting, filtering and customizable responses. The site describes MockAPI as a prototyping, testing and learning tool for front-end developers who need data before the real server exists. Custom endpoints and webhooks are listed as coming soon. The free plan includes one project and two resources, and the paid option is listed at $5 per month or $35 per year for more projects and resources. Documentation with a quick start guide and code examples is on the project's wiki.…
Highlights
- Create REST endpoints from a resource schema
- Faker.js data generators for each field
- Relations between resources with generated endpoints
- Pagination, sorting and filtering
- Custom responses
Ratings & Reviews
No ratings yet
Be the first to rate MockAPI.
People also visit
Mockzilla
Open-source OpenAPI mock server with cloud hosting and local modes for…
MockAPI FAQ
What is MockAPI for?
It lets you create a fake REST API with generated data, for prototyping, testing or learning. It is not meant to replace a production backend.
Is MockAPI free?
There is a free plan with one project and two resources. The paid option is listed at $5 per month or $35 per year.
How do I generate data?
Add a field to a resource and choose a Faker.js generator, such as name.fullName or date.recent, and the endpoint returns generated values.
Does it support relations?
Yes. You can link resources, and the endpoints for the related resources are generated automatically, such as users with posts and comments.
Are custom endpoints available?
The site lists custom endpoints and webhooks as coming soon, so they are not yet available.
What are the best MockAPI alternatives?
Popular alternatives to MockAPI include Mockfly, MockBolt and Mocktail. See all MockAPI alternatives





