v1.0.0 Now Live

Free Fake REST API for
Modern Developers

Stop writing mock data by hand. Get 50+ beautifully structured endpoints instantly. Powered by MongoDB Atlas.

fetch-example.js

fetch('https://your-api.com/api/users/1')
  .then(response => response.json())
  .then(json => console.log(json));
        

Resources

MockAPI Pro comes with 10 core resources, each supporting full CRUD operations (GET, POST, PUT, DELETE).

Routes

All API routes follow RESTful conventions. Here is how they work for a typical resource like /posts.

Method Endpoint Description
GET /api/posts Get all posts
GET /api/posts/1 Get a single post
POST /api/posts Create a post
PUT /api/posts/1 Update a post
DELETE /api/posts/1 Delete a post